Nuxeo Enterprise Platform 5.4

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
implements DocumentLocation

Extension to DocumentLocation to provide informations 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
 
Methods inherited from interface org.nuxeo.ecm.core.api.DocumentLocation
getDocRef, getIdRef, getPathRef, getServerName
 

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 Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.