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:
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

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

Constructor Detail

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)
Method Detail

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

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.