org.nuxeo.ecm.platform.publisher.impl.core
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
CoreProxyFactory
public CoreProxyFactory()
publishDocument
public PublishedDocument publishDocument(DocumentModel doc,
PublicationNode targetNode,
Map<String,String> params)
throws ClientException
- Specified by:
publishDocument
in interface PublishedDocumentFactory
- Throws:
ClientException
snapshotDocumentBeforePublish
public DocumentModel snapshotDocumentBeforePublish(DocumentModel doc)
- Specified by:
snapshotDocumentBeforePublish
in interface PublishedDocumentFactory
- Overrides:
snapshotDocumentBeforePublish
in class AbstractBasePublishedDocumentFactory
unwrapPublishedDocument
public DocumentModel unwrapPublishedDocument(PublishedDocument pubDoc)
throws ClientException
- 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.