Package org.nuxeo.ecm.core.api.impl
Class DocumentLocationImpl
- java.lang.Object
-
- org.nuxeo.ecm.core.api.impl.DocumentLocationImpl
-
- All Implemented Interfaces:
Serializable
,DocumentLocation
public class DocumentLocationImpl extends Object implements DocumentLocation
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DocumentLocationImpl(String serverName, DocumentRef docRef)
DocumentLocationImpl(String serverName, IdRef idRef, PathRef pathRef)
DocumentLocationImpl(DocumentModel doc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
DocumentRef
getDocRef()
Returns the document reference.IdRef
getIdRef()
Returns the document id referencePathRef
getPathRef()
Returns the document path referenceString
getServerName()
Returns the document server name.int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
DocumentLocationImpl
public DocumentLocationImpl(DocumentModel doc)
-
DocumentLocationImpl
public DocumentLocationImpl(String serverName, DocumentRef docRef)
-
-
Method Detail
-
getDocRef
public DocumentRef getDocRef()
Description copied from interface:DocumentLocation
Returns the document reference.- Specified by:
getDocRef
in interfaceDocumentLocation
-
getServerName
public String getServerName()
Description copied from interface:DocumentLocation
Returns the document server name.- Specified by:
getServerName
in interfaceDocumentLocation
-
getIdRef
public IdRef getIdRef()
Description copied from interface:DocumentLocation
Returns the document id reference- Specified by:
getIdRef
in interfaceDocumentLocation
-
getPathRef
public PathRef getPathRef()
Description copied from interface:DocumentLocation
Returns the document path reference- Specified by:
getPathRef
in interfaceDocumentLocation
-
-