public class CoreProxyFactory extends AbstractBasePublishedDocumentFactory implements PublishedDocumentFactory
PublishedDocumentFactory
for simple core implementation using native proxy system.coreSession, ENABLE_SNAPSHOT, eventProducer, parameters, publicationTree, TARGET_PUBLISHED_DOCUMENT_STATE, validatorsRule
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, getEventProducer, getName, getParameter, getTargetPublishedDocumentState, getValidatorsFor, getValidatorsRule, hasValidationTask, init, init, isSnapshotingEnabled, needToVersionDocument, notifyEvent, notifyEvent, publishDocument, validatorPublishDocument, validatorRejectPublication
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canManagePublishing, getName, getValidatorsFor, getValidatorsRule, hasValidationTask, init, init, publishDocument, validatorPublishDocument, validatorRejectPublication
public CoreProxyFactory()
public PublishedDocument publishDocument(DocumentModel doc, PublicationNode targetNode, Map<String,String> params)
publishDocument
in interface PublishedDocumentFactory
public DocumentModel snapshotDocumentBeforePublish(DocumentModel doc)
snapshotDocumentBeforePublish
in interface PublishedDocumentFactory
snapshotDocumentBeforePublish
in class AbstractBasePublishedDocumentFactory
public DocumentModel unwrapPublishedDocument(PublishedDocument pubDoc)
public PublishedDocument wrapDocumentModel(DocumentModel doc)
wrapDocumentModel
in interface PublishedDocumentFactory
Copyright © 2015 Nuxeo SA. All rights reserved.