public class RenditionPublicationFactory extends CoreProxyWithWorkflowFactory implements PublishedDocumentFactory
PublishedDocumentFactory
that uses the RenditionService
to publish a Rendition of
the given document.Modifier and Type | Class and Description |
---|---|
static class |
RenditionPublicationFactory.RemoveACP |
CoreProxyWithWorkflowFactory.DocumentPublisherUnrestricted
Modifier and Type | Field and Description |
---|---|
static String |
RENDITION_NAME_PARAMETER_KEY |
ACL_NAME, JBPM_ACL_NAME, LOOKUP_STATE_PARAM_BYACL, LOOKUP_STATE_PARAM_BYTASK, LOOKUP_STATE_PARAM_KEY, lookupState, PUBLISH_TASK_TYPE, TASK_NAME
coreSession, ENABLE_SNAPSHOT, eventProducer, parameters, publicationTree, TARGET_PUBLISHED_DOCUMENT_STATE, validatorsRule
Constructor and Description |
---|
RenditionPublicationFactory() |
Modifier and Type | Method and Description |
---|---|
protected DocumentModel |
getLiveDocument(CoreSession session,
DocumentModel proxy) |
protected RenditionService |
getRenditionService() |
PublishedDocument |
publishDocument(DocumentModel doc,
PublicationNode targetNode,
Map<String,String> params) |
protected void |
removeExistingProxiesOnPreviousVersions(DocumentModel newProxy) |
canManagePublishing, createTask, endTask, getTaskService, hasValidationTask, hasValidationTask, init, isPublished, isPublishedDocWaitingForPublication, isValidator, removeACL, removeProxy, restrictPermission, setLookupByACL, setLookupByTask, validatorPublishDocument, validatorRejectPublication, wrapDocumentModel
snapshotDocumentBeforePublish, unwrapPublishedDocument
getEventProducer, getName, getParameter, getTargetPublishedDocumentState, getValidatorsFor, getValidatorsRule, init, isSnapshotingEnabled, needToVersionDocument, notifyEvent, notifyEvent, publishDocument
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canManagePublishing, getName, getValidatorsFor, getValidatorsRule, hasValidationTask, init, init, publishDocument, snapshotDocumentBeforePublish, validatorPublishDocument, validatorRejectPublication, wrapDocumentModel
public static final String RENDITION_NAME_PARAMETER_KEY
public RenditionPublicationFactory()
public PublishedDocument publishDocument(DocumentModel doc, PublicationNode targetNode, Map<String,String> params)
publishDocument
in interface PublishedDocumentFactory
publishDocument
in class CoreProxyWithWorkflowFactory
protected DocumentModel getLiveDocument(CoreSession session, DocumentModel proxy)
getLiveDocument
in class CoreProxyWithWorkflowFactory
protected void removeExistingProxiesOnPreviousVersions(DocumentModel newProxy)
removeExistingProxiesOnPreviousVersions
in class CoreProxyWithWorkflowFactory
protected RenditionService getRenditionService()
Copyright © 2016 Nuxeo SA. All rights reserved.