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 booleanequals(Object obj)DocumentRefgetDocRef()Returns the document reference.IdRefgetIdRef()Returns the document id referencePathRefgetPathRef()Returns the document path referenceStringgetServerName()Returns the document server name.inthashCode()StringtoString()
-
-
-
Constructor Detail
-
DocumentLocationImpl
public DocumentLocationImpl(DocumentModel doc)
-
DocumentLocationImpl
public DocumentLocationImpl(String serverName, DocumentRef docRef)
-
-
Method Detail
-
getDocRef
public DocumentRef getDocRef()
Description copied from interface:DocumentLocationReturns the document reference.- Specified by:
getDocRefin interfaceDocumentLocation
-
getServerName
public String getServerName()
Description copied from interface:DocumentLocationReturns the document server name.- Specified by:
getServerNamein interfaceDocumentLocation
-
getIdRef
public IdRef getIdRef()
Description copied from interface:DocumentLocationReturns the document id reference- Specified by:
getIdRefin interfaceDocumentLocation
-
getPathRef
public PathRef getPathRef()
Description copied from interface:DocumentLocationReturns the document path reference- Specified by:
getPathRefin interfaceDocumentLocation
-
-