org.nuxeo.ecm.platform.publisher.remoting.client
Class ClientProxyFactory
java.lang.Object
org.nuxeo.ecm.platform.publisher.api.AbstractBasePublishedDocumentFactory
org.nuxeo.ecm.platform.publisher.remoting.client.ClientProxyFactory
- All Implemented Interfaces:
- PublishedDocumentFactory
public class ClientProxyFactory
- extends AbstractBasePublishedDocumentFactory
- implements PublishedDocumentFactory
Implementation of 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.
- Author:
- tiry
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientProxyFactory
public ClientProxyFactory()
publishDocument
public PublishedDocument publishDocument(DocumentModel doc,
PublicationNode targetNode)
throws ClientException
- Specified by:
publishDocument
in interface PublishedDocumentFactory
- Overrides:
publishDocument
in class AbstractBasePublishedDocumentFactory
- Throws:
ClientException
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
wrapDocumentModel
public PublishedDocument wrapDocumentModel(DocumentModel doc)
throws ClientException
- Specified by:
wrapDocumentModel
in interface PublishedDocumentFactory
- Throws:
ClientException
Copyright © 2010 Nuxeo SAS. All Rights Reserved.