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.ENABLE_SNAPSHOT, TARGET_PUBLISHED_DOCUMENT_STATE
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, getName, getValidatorsFor, getValidatorsRule, hasValidationTask, init, init, snapshotDocumentBeforePublish, validatorPublishDocument, validatorRejectPublication
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canManagePublishing, getName, getValidatorsFor, getValidatorsRule, hasValidationTask, init, init, snapshotDocumentBeforePublish, validatorPublishDocument, validatorRejectPublication
public PublishedDocument publishDocument(DocumentModel doc, PublicationNode targetNode) throws ClientException
publishDocument
in interface PublishedDocumentFactory
publishDocument
in class AbstractBasePublishedDocumentFactory
ClientException
public PublishedDocument publishDocument(DocumentModel doc, PublicationNode targetNode, Map<String,String> params) throws ClientException
publishDocument
in interface PublishedDocumentFactory
ClientException
public PublishedDocument wrapDocumentModel(DocumentModel doc) throws ClientException
wrapDocumentModel
in interface PublishedDocumentFactory
ClientException
Copyright © 2015 Nuxeo SA. All rights reserved.