Class CoreProxyFactory
- java.lang.Object
-
- org.nuxeo.ecm.platform.publisher.api.AbstractBasePublishedDocumentFactory
-
- org.nuxeo.ecm.platform.publisher.impl.core.CoreProxyFactory
-
- All Implemented Interfaces:
PublishedDocumentFactory
- Direct Known Subclasses:
CoreProxyWithWorkflowFactory
public class CoreProxyFactory extends AbstractBasePublishedDocumentFactory implements PublishedDocumentFactory
Implementation of thePublishedDocumentFactory
for simple core implementation using native proxy system.- Author:
- tiry
-
-
Field Summary
-
Fields inherited from class org.nuxeo.ecm.platform.publisher.api.AbstractBasePublishedDocumentFactory
coreSession, ENABLE_SNAPSHOT, eventProducer, parameters, publicationTree, TARGET_PUBLISHED_DOCUMENT_STATE, validatorsRule
-
-
Constructor Summary
Constructors Constructor Description CoreProxyFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PublishedDocument
publishDocument(DocumentModel doc, PublicationNode targetNode, Map<String,String> params)
DocumentModel
snapshotDocumentBeforePublish(DocumentModel doc)
DocumentModel
unwrapPublishedDocument(PublishedDocument pubDoc)
PublishedDocument
wrapDocumentModel(DocumentModel doc)
-
Methods inherited from class org.nuxeo.ecm.platform.publisher.api.AbstractBasePublishedDocumentFactory
canManagePublishing, getEventProducer, getName, getParameter, getTargetPublishedDocumentState, getValidatorsFor, getValidatorsRule, hasValidationTask, init, init, isSnapshotingEnabled, needToVersionDocument, notifyEvent, notifyEvent, publishDocument, validatorPublishDocument, validatorRejectPublication
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.nuxeo.ecm.platform.publisher.api.PublishedDocumentFactory
canManagePublishing, getName, getValidatorsFor, getValidatorsRule, hasValidationTask, init, init, publishDocument, validatorPublishDocument, validatorRejectPublication
-
-
-
-
Method Detail
-
publishDocument
public PublishedDocument publishDocument(DocumentModel doc, PublicationNode targetNode, Map<String,String> params)
- Specified by:
publishDocument
in interfacePublishedDocumentFactory
-
snapshotDocumentBeforePublish
public DocumentModel snapshotDocumentBeforePublish(DocumentModel doc)
- Specified by:
snapshotDocumentBeforePublish
in interfacePublishedDocumentFactory
- Overrides:
snapshotDocumentBeforePublish
in classAbstractBasePublishedDocumentFactory
-
unwrapPublishedDocument
public DocumentModel unwrapPublishedDocument(PublishedDocument pubDoc)
-
wrapDocumentModel
public PublishedDocument wrapDocumentModel(DocumentModel doc)
- Specified by:
wrapDocumentModel
in interfacePublishedDocumentFactory
-
-