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
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CoreProxyFactory
public CoreProxyFactory()
publishDocument
public PublishedDocument publishDocument(DocumentModel doc,
PublicationNode targetNode,
java.util.Map<java.lang.String,java.lang.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 © 2010 Nuxeo SAS. All Rights Reserved.