org.nuxeo.ecm.platform.publisher.remoting.server
Class SimpleExternalDocumentModelFactory
java.lang.Object
org.nuxeo.ecm.platform.publisher.api.AbstractBasePublishedDocumentFactory
org.nuxeo.ecm.platform.publisher.remoting.server.SimpleExternalDocumentModelFactory
- All Implemented Interfaces:
- PublishedDocumentFactory
public class SimpleExternalDocumentModelFactory
- extends AbstractBasePublishedDocumentFactory
- implements PublishedDocumentFactory
PublishedDocumentFactory
implementation that creates
DocumentModel
instead of simple proxies.
- Author:
- tiry
Methods inherited from class org.nuxeo.ecm.platform.publisher.api.AbstractBasePublishedDocumentFactory |
canManagePublishing, getName, getValidatorsFor, getValidatorsRule, hasValidationTask, init, init, publishDocument, snapshotDocumentBeforePublish, validatorPublishDocument, validatorRejectPublication |
Methods inherited from interface org.nuxeo.ecm.platform.publisher.api.PublishedDocumentFactory |
canManagePublishing, getName, getValidatorsFor, getValidatorsRule, hasValidationTask, init, init, publishDocument, snapshotDocumentBeforePublish, validatorPublishDocument, validatorRejectPublication |
SimpleExternalDocumentModelFactory
public SimpleExternalDocumentModelFactory()
publishDocument
public PublishedDocument publishDocument(DocumentModel doc,
PublicationNode targetNode,
Map<String,String> params)
throws ClientException
- Specified by:
publishDocument
in interface PublishedDocumentFactory
- Throws:
ClientException
wrapDocumentModel
public PublishedDocument wrapDocumentModel(DocumentModel doc)
throws ClientException
- Specified by:
wrapDocumentModel
in interface PublishedDocumentFactory
- Throws:
ClientException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.