public class CoreProxyFactory extends AbstractBasePublishedDocumentFactory implements PublishedDocumentFactory
PublishedDocumentFactory
for simple core
implementation using native proxy system.ENABLE_SNAPSHOT, TARGET_PUBLISHED_DOCUMENT_STATE
Constructor and Description |
---|
CoreProxyFactory() |
Modifier and Type | Method and Description |
---|---|
PublishedDocument |
publishDocument(DocumentModel doc,
PublicationNode targetNode,
Map<String,String> params) |
DocumentModel |
snapshotDocumentBeforePublish(DocumentModel doc) |
DocumentModel |
unwrapPublishedDocument(PublishedDocument pubDoc) |
PublishedDocument |
wrapDocumentModel(DocumentModel doc) |
canManagePublishing, getName, getValidatorsFor, getValidatorsRule, hasValidationTask, init, init, publishDocument, validatorPublishDocument, validatorRejectPublication
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canManagePublishing, getName, getValidatorsFor, getValidatorsRule, hasValidationTask, init, init, publishDocument, validatorPublishDocument, validatorRejectPublication
public PublishedDocument publishDocument(DocumentModel doc, PublicationNode targetNode, Map<String,String> params) throws ClientException
publishDocument
in interface PublishedDocumentFactory
ClientException
public DocumentModel snapshotDocumentBeforePublish(DocumentModel doc)
snapshotDocumentBeforePublish
in interface PublishedDocumentFactory
snapshotDocumentBeforePublish
in class AbstractBasePublishedDocumentFactory
public DocumentModel unwrapPublishedDocument(PublishedDocument pubDoc) throws ClientException
ClientException
public PublishedDocument wrapDocumentModel(DocumentModel doc) throws ClientException
wrapDocumentModel
in interface PublishedDocumentFactory
ClientException
Copyright © 2011 Nuxeo SA. All Rights Reserved.