Class RenditionPublicationFactory
java.lang.Object
org.nuxeo.ecm.platform.publisher.api.AbstractBasePublishedDocumentFactory
org.nuxeo.ecm.platform.publisher.impl.core.CoreProxyFactory
org.nuxeo.ecm.platform.publisher.task.CoreProxyWithWorkflowFactory
org.nuxeo.ecm.platform.rendition.publisher.RenditionPublicationFactory
- All Implemented Interfaces:
PublishedDocumentFactory
public class RenditionPublicationFactory
extends CoreProxyWithWorkflowFactory
implements PublishedDocumentFactory
Implementation of
PublishedDocumentFactory that uses the RenditionService to publish a Rendition of
the given document.- Since:
- 5.4.1
- Author:
- Thomas Roger
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.nuxeo.ecm.platform.publisher.task.CoreProxyWithWorkflowFactory
CoreProxyWithWorkflowFactory.DocumentPublisherUnrestricted -
Field Summary
FieldsFields inherited from class org.nuxeo.ecm.platform.publisher.task.CoreProxyWithWorkflowFactory
ACL_NAME, JBPM_ACL_NAME, LOOKUP_STATE_PARAM_BYACL, LOOKUP_STATE_PARAM_BYTASK, LOOKUP_STATE_PARAM_KEY, lookupState, PUBLISH_TASK_TYPE, TASK_NAMEFields inherited from class org.nuxeo.ecm.platform.publisher.api.AbstractBasePublishedDocumentFactory
coreSession, ENABLE_SNAPSHOT, eventProducer, parameters, publicationTree, TARGET_PUBLISHED_DOCUMENT_STATE, validatorsRule -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected DocumentModelgetLiveDocument(CoreSession session, DocumentModel proxy) protected RenditionServicepublishDocument(DocumentModel doc, PublicationNode targetNode, Map<String, String> params) protected voidMethods inherited from class org.nuxeo.ecm.platform.publisher.task.CoreProxyWithWorkflowFactory
canManagePublishing, createTask, endTask, getTaskService, hasValidationTask, hasValidationTask, init, isPublished, isPublishedDocWaitingForPublication, isValidator, removeACL, removeProxy, restrictPermission, setLookupByACL, setLookupByTask, validatorPublishDocument, validatorRejectPublication, wrapDocumentModelMethods inherited from class org.nuxeo.ecm.platform.publisher.impl.core.CoreProxyFactory
snapshotDocumentBeforePublish, unwrapPublishedDocumentMethods inherited from class org.nuxeo.ecm.platform.publisher.api.AbstractBasePublishedDocumentFactory
getEventProducer, getName, getParameter, getTargetPublishedDocumentState, getValidatorsFor, getValidatorsRule, init, isSnapshotingEnabled, needToVersionDocument, notifyEvent, notifyEvent, publishDocumentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.nuxeo.ecm.platform.publisher.api.PublishedDocumentFactory
canManagePublishing, getName, getValidatorsFor, getValidatorsRule, hasValidationTask, init, init, publishDocument, snapshotDocumentBeforePublish, validatorPublishDocument, validatorRejectPublication, wrapDocumentModel
-
Field Details
-
RENDITION_NAME_PARAMETER_KEY
- See Also:
-
-
Constructor Details
-
RenditionPublicationFactory
public RenditionPublicationFactory()
-
-
Method Details
-
publishDocument
public PublishedDocument publishDocument(DocumentModel doc, PublicationNode targetNode, Map<String, String> params) - Specified by:
publishDocumentin interfacePublishedDocumentFactory- Overrides:
publishDocumentin classCoreProxyWithWorkflowFactory
-
getLiveDocument
- Overrides:
getLiveDocumentin classCoreProxyWithWorkflowFactory
-
removeExistingProxiesOnPreviousVersions
- Overrides:
removeExistingProxiesOnPreviousVersionsin classCoreProxyWithWorkflowFactory
-
getRenditionService
-