Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.publisher.remoting.marshaling
Class ExtendedDocumentLocation

java.lang.Object
  extended by org.nuxeo.ecm.core.api.impl.DocumentLocationImpl
      extended by 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

Constructor Summary
ExtendedDocumentLocation(String originalServer, DocumentModel doc)
           
ExtendedDocumentLocation(String serverName, DocumentRef docRef)
           
ExtendedDocumentLocation(String originalServer, String serverName, DocumentRef docRef)
           
 
Method Summary
static ExtendedDocumentLocation extractFromDoc(DocumentModel doc)
           
 String getOriginalServer()
           
static ExtendedDocumentLocation parseString(String source)
           
 String toString()
           
 
Methods inherited from class org.nuxeo.ecm.core.api.impl.DocumentLocationImpl
equals, getDocRef, getIdRef, getPathRef, getServerName, hashCode
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExtendedDocumentLocation

public ExtendedDocumentLocation(String serverName,
                                DocumentRef docRef)

ExtendedDocumentLocation

public ExtendedDocumentLocation(String originalServer,
                                String serverName,
                                DocumentRef docRef)

ExtendedDocumentLocation

public ExtendedDocumentLocation(String originalServer,
                                DocumentModel doc)
Method Detail

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

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.