org.nuxeo.ecm.platform.publisher.remoting.marshaling
Class ExtendedDocumentLocation
java.lang.Object
org.nuxeo.ecm.core.api.impl.DocumentLocationImpl
org.nuxeo.ecm.platform.publisher.remoting.marshaling.ExtendedDocumentLocation
- All Implemented Interfaces:
- Serializable, DocumentLocation
public class ExtendedDocumentLocation
- extends DocumentLocationImpl
Extension to DocumentLocation
to provide information about source
server.
- Author:
- tiry
- See Also:
- Serialized Form
ExtendedDocumentLocation
public ExtendedDocumentLocation(String serverName,
DocumentRef docRef)
ExtendedDocumentLocation
public ExtendedDocumentLocation(String originalServer,
String serverName,
DocumentRef docRef)
ExtendedDocumentLocation
public ExtendedDocumentLocation(String originalServer,
DocumentModel doc)
getOriginalServer
public String getOriginalServer()
toString
public String toString()
- Overrides:
toString
in class DocumentLocationImpl
parseString
public static ExtendedDocumentLocation parseString(String source)
extractFromDoc
public static ExtendedDocumentLocation extractFromDoc(DocumentModel doc)
throws ClientException
- Throws:
ClientException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.