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_NAMEcoreSession, 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, wrapDocumentModelsnapshotDocumentBeforePublish, unwrapPublishedDocumentgetEventProducer, getName, getParameter, getTargetPublishedDocumentState, getValidatorsFor, getValidatorsRule, init, isSnapshotingEnabled, needToVersionDocument, notifyEvent, notifyEvent, publishDocumentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanManagePublishing, getName, getValidatorsFor, getValidatorsRule, hasValidationTask, init, init, publishDocument, snapshotDocumentBeforePublish, validatorPublishDocument, validatorRejectPublication, wrapDocumentModelpublic static final String RENDITION_NAME_PARAMETER_KEY
public RenditionPublicationFactory()
public PublishedDocument publishDocument(DocumentModel doc, PublicationNode targetNode, Map<String,String> params)
publishDocument in interface PublishedDocumentFactorypublishDocument in class CoreProxyWithWorkflowFactoryprotected DocumentModel getLiveDocument(CoreSession session, DocumentModel proxy)
getLiveDocument in class CoreProxyWithWorkflowFactoryprotected void removeExistingProxiesOnPreviousVersions(DocumentModel newProxy)
removeExistingProxiesOnPreviousVersions in class CoreProxyWithWorkflowFactoryprotected RenditionService getRenditionService()
Copyright © 2018 Nuxeo. All rights reserved.