public class ExtendedDocumentLocation extends DocumentLocationImpl
DocumentLocation
to provide information about source server.Constructor and Description |
---|
ExtendedDocumentLocation(String originalServer,
DocumentModel doc) |
ExtendedDocumentLocation(String serverName,
DocumentRef docRef) |
ExtendedDocumentLocation(String originalServer,
String serverName,
DocumentRef docRef) |
Modifier and Type | Method and Description |
---|---|
static ExtendedDocumentLocation |
extractFromDoc(DocumentModel doc) |
String |
getOriginalServer() |
static ExtendedDocumentLocation |
parseString(String source) |
String |
toString() |
equals, getDocRef, getIdRef, getPathRef, getServerName, hashCode
public ExtendedDocumentLocation(String serverName, DocumentRef docRef)
public ExtendedDocumentLocation(String originalServer, String serverName, DocumentRef docRef)
public ExtendedDocumentLocation(String originalServer, DocumentModel doc)
public String getOriginalServer()
public String toString()
toString
in class DocumentLocationImpl
public static ExtendedDocumentLocation parseString(String source)
public static ExtendedDocumentLocation extractFromDoc(DocumentModel doc) throws ClientException
ClientException
Copyright © 2015 Nuxeo SA. All rights reserved.