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 the
PublishedDocumentFactory
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
-
Method Summary
Modifier and TypeMethodDescriptionpublishDocument
(DocumentModel doc, PublicationNode targetNode, Map<String, String> params) 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
-
Constructor Details
-
CoreProxyFactory
public CoreProxyFactory()
-
-
Method Details
-
publishDocument
public PublishedDocument publishDocument(DocumentModel doc, PublicationNode targetNode, Map<String, String> params) - Specified by:
publishDocument
in interfacePublishedDocumentFactory
-
snapshotDocumentBeforePublish
- Specified by:
snapshotDocumentBeforePublish
in interfacePublishedDocumentFactory
- Overrides:
snapshotDocumentBeforePublish
in classAbstractBasePublishedDocumentFactory
-
unwrapPublishedDocument
-
wrapDocumentModel
- Specified by:
wrapDocumentModel
in interfacePublishedDocumentFactory
-