public interface ObjectInfo
| Modifier and Type | Method and Description |
|---|---|
List<LinkInfo> |
getAdditionalLinks()
Returns the list of additional links related to this object,
null
is no such links exist. |
String |
getAtomId()
Returns an ID for the atom:id tag.
|
BaseTypeId |
getBaseType()
Returns the base type.
|
String |
getContentType()
Returns the content type of the content if the object is a document and
has content,
null otherwise. |
String |
getCreatedBy()
Returns the creator.
|
GregorianCalendar |
getCreationDate()
Returns the creation date.
|
String |
getFileName()
Returns the file name of the content if the object is a document and has
content,
null otherwise. |
String |
getId()
Returns the object ID.
|
GregorianCalendar |
getLastModificationDate()
Returns the last modification date.
|
String |
getName()
Returns the object name.
|
ObjectData |
getObject()
Returns the full object.
|
List<String> |
getRelationshipSourceIds()
Returns the list of IDs of the relationships that originate from this
object,
null is no such relationships exist. |
List<String> |
getRelationshipTargetIds()
Returns the list of IDs of the relationships that point to this object,
null is no such relationships exist. |
List<RenditionInfo> |
getRenditionInfos()
Returns rendition information if the object has renditions,
null
otherwise. |
String |
getTypeId()
Returns the type ID.
|
String |
getVersionSeriesId()
Returns the version series ID if the object is a document and it is
versionable,
null otherwise. |
String |
getWorkingCopyId()
Returns the working copy ID if the object is a document and a working
copy exists,
null otherwise. |
String |
getWorkingCopyOriginalId()
Returns the original ID of the working copy if the object is a document
and a working copy,
null otherwise. |
boolean |
hasAcl()
Returns
true if the object has an ACL, false otherwise. |
boolean |
hasContent()
Returns
true if the object is a document and has content,
false otherwise. |
boolean |
hasParent()
Returns
true if the object has at least one parent, false
otherwise. |
boolean |
isCurrentVersion()
Returns
true if the object is a document and if it is the current
version or it is not versionable, false otherwise. |
boolean |
supportsDescendants()
Returns
true if the object is a folder and supports
getDescendants, false otherwise. |
boolean |
supportsFolderTree()
Returns
true if the object is a folder and supports
getFolderTree, false otherwise. |
boolean |
supportsPolicies()
Returns
true if the object supports policies even if no policies
are applied, false otherwise. |
boolean |
supportsRelationships()
Returns
true if the object supports relationships even if no
relationships exist, false otherwise. |
String getId()
String getAtomId()
null, OpenCMIS generates a
valid ID.String getName()
String getCreatedBy()
GregorianCalendar getCreationDate()
GregorianCalendar getLastModificationDate()
String getTypeId()
BaseTypeId getBaseType()
boolean isCurrentVersion()
true if the object is a document and if it is the current
version or it is not versionable, false otherwise.String getVersionSeriesId()
null otherwise.String getWorkingCopyId()
null otherwise.String getWorkingCopyOriginalId()
null otherwise.boolean hasContent()
true if the object is a document and has content,
false otherwise.String getContentType()
null otherwise.String getFileName()
null otherwise.List<RenditionInfo> getRenditionInfos()
null
otherwise.boolean supportsRelationships()
true if the object supports relationships even if no
relationships exist, false otherwise.boolean supportsPolicies()
true if the object supports policies even if no policies
are applied, false otherwise.boolean hasAcl()
true if the object has an ACL, false otherwise.boolean hasParent()
true if the object has at least one parent, false
otherwise.boolean supportsDescendants()
true if the object is a folder and supports
getDescendants, false otherwise.boolean supportsFolderTree()
true if the object is a folder and supports
getFolderTree, false otherwise.List<String> getRelationshipSourceIds()
null is no such relationships exist.List<String> getRelationshipTargetIds()
null is no such relationships exist.ObjectData getObject()
Copyright © 2009–2017 The Apache Software Foundation. All rights reserved.