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:
- java.io.Serializable, DocumentLocation
public class ExtendedDocumentLocation
- extends DocumentLocationImpl
- implements DocumentLocation
Extension to DocumentLocation
to provide informations about source
server
- Author:
- tiry
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ExtendedDocumentLocation
public ExtendedDocumentLocation(java.lang.String serverName,
DocumentRef docRef)
ExtendedDocumentLocation
public ExtendedDocumentLocation(java.lang.String originalServer,
java.lang.String serverName,
DocumentRef docRef)
ExtendedDocumentLocation
public ExtendedDocumentLocation(java.lang.String originalServer,
DocumentModel doc)
getOriginalServer
public java.lang.String getOriginalServer()
toString
public java.lang.String toString()
- Overrides:
toString
in class DocumentLocationImpl
parseString
public static ExtendedDocumentLocation parseString(java.lang.String source)
extractFromDoc
public static ExtendedDocumentLocation extractFromDoc(DocumentModel doc)
throws ClientException
- Throws:
ClientException
Copyright © 2010 Nuxeo SAS. All Rights Reserved.