public class ClientProxyFactory extends AbstractBasePublishedDocumentFactory implements PublishedDocumentFactory
PublishedDocumentFactory
for local tree pointing to a remote tree. This basically means
that the only job done by the PublishedDocumentFactory
is snaphoting the document before sending it for
remote publishing.coreSession, ENABLE_SNAPSHOT, eventProducer, parameters, publicationTree, TARGET_PUBLISHED_DOCUMENT_STATE, validatorsRule
Constructor and Description |
---|
ClientProxyFactory() |
Modifier and Type | Method and Description |
---|---|
PublishedDocument |
publishDocument(DocumentModel doc,
PublicationNode targetNode) |
PublishedDocument |
publishDocument(DocumentModel doc,
PublicationNode targetNode,
Map<String,String> params) |
PublishedDocument |
wrapDocumentModel(DocumentModel doc) |
canManagePublishing, getEventProducer, getName, getParameter, getTargetPublishedDocumentState, getValidatorsFor, getValidatorsRule, hasValidationTask, init, init, isSnapshotingEnabled, needToVersionDocument, notifyEvent, notifyEvent, snapshotDocumentBeforePublish, validatorPublishDocument, validatorRejectPublication
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canManagePublishing, getName, getValidatorsFor, getValidatorsRule, hasValidationTask, init, init, snapshotDocumentBeforePublish, validatorPublishDocument, validatorRejectPublication
public ClientProxyFactory()
public PublishedDocument publishDocument(DocumentModel doc, PublicationNode targetNode)
publishDocument
in interface PublishedDocumentFactory
publishDocument
in class AbstractBasePublishedDocumentFactory
public PublishedDocument publishDocument(DocumentModel doc, PublicationNode targetNode, Map<String,String> params)
publishDocument
in interface PublishedDocumentFactory
public PublishedDocument wrapDocumentModel(DocumentModel doc)
wrapDocumentModel
in interface PublishedDocumentFactory
Copyright © 2015 Nuxeo SA. All rights reserved.