public class SimpleExternalDocumentModelFactory extends AbstractBasePublishedDocumentFactory implements PublishedDocumentFactory
PublishedDocumentFactory
implementation that creates DocumentModel
instead of simple proxies.ENABLE_SNAPSHOT, TARGET_PUBLISHED_DOCUMENT_STATE
Constructor and Description |
---|
SimpleExternalDocumentModelFactory() |
Modifier and Type | Method and Description |
---|---|
PublishedDocument |
publishDocument(DocumentModel doc,
PublicationNode targetNode,
Map<String,String> params) |
PublishedDocument |
wrapDocumentModel(DocumentModel doc) |
canManagePublishing, getName, getValidatorsFor, getValidatorsRule, hasValidationTask, init, init, publishDocument, snapshotDocumentBeforePublish, validatorPublishDocument, validatorRejectPublication
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canManagePublishing, getName, getValidatorsFor, getValidatorsRule, hasValidationTask, init, init, publishDocument, snapshotDocumentBeforePublish, validatorPublishDocument, validatorRejectPublication
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.