public interface CmisObjectProperties
A property might not be available because either the repository didn't provide it or a property filter was used to retrieve this object.
The property values represent a snapshot of the object when it was loaded. The object and its properties may be out-of-date if the object has been modified in the repository.
Modifier and Type | Method and Description |
---|---|
List<ObjectType> |
findObjectType(String id)
Returns a list of primary and secondary object types that define the
given property.
|
ObjectType |
getBaseType()
Returns the base type of this CMIS object (object type identified by
cmis:baseTypeId ). |
BaseTypeId |
getBaseTypeId()
Returns the id of the base type of this CMIS object (CMIS property
cmis:baseTypeId ). |
String |
getChangeToken()
Returns the change token (CMIS property
cmis:changeToken ). |
String |
getCreatedBy()
Returns the user who created this CMIS object (CMIS property
cmis:createdBy ). |
GregorianCalendar |
getCreationDate()
Returns the timestamp when this CMIS object has been created (CMIS
property
cmis:creationDate ). |
String |
getDescription()
Returns the description of this CMIS object (CMIS property
cmis:description ). |
GregorianCalendar |
getLastModificationDate()
Returns the timestamp when this CMIS object has been modified (CMIS
property
cmis:lastModificationDate ). |
String |
getLastModifiedBy()
Returns the user who modified this CMIS object (CMIS property
cmis:lastModifiedBy ). |
String |
getName()
Returns the name of this CMIS object (CMIS property
cmis:name ). |
List<Property<?>> |
getProperties()
Returns a list of all available CMIS properties.
|
<T> Property<T> |
getProperty(String id)
Returns a property.
|
<T> T |
getPropertyValue(String id)
Returns the value of a property.
|
List<SecondaryType> |
getSecondaryTypes()
Returns the secondary types of this CMIS object (object types identified
by
cmis:secondaryObjectTypeIds ). |
ObjectType |
getType()
Returns the type of this CMIS object (object type identified by
cmis:objectTypeId ). |
List<Property<?>> getProperties()
<T> Property<T> getProperty(String id)
id
- the ID of the propertynull
if the property hasn't been
requested or hasn't been provided by the repository<T> T getPropertyValue(String id)
id
- the ID of the propertynull
if the property hasn't been
requested, hasn't been provided by the repository, or the
property value isn't setString getName()
cmis:name
).null
if the property hasn't
been requested or hasn't been provided by the repositoryString getDescription()
cmis:description
).null
if the property
hasn't been requested, hasn't been provided by the repository, or
the property value isn't setString getCreatedBy()
cmis:createdBy
).null
if the property hasn't
been requested or hasn't been provided by the repositoryGregorianCalendar getCreationDate()
cmis:creationDate
).null
if the property
hasn't been requested or hasn't been provided by the repositoryString getLastModifiedBy()
cmis:lastModifiedBy
).null
if the property
hasn't been requested or hasn't been provided by the repositoryGregorianCalendar getLastModificationDate()
cmis:lastModificationDate
).null
if the
property hasn't been requested or hasn't been provided by the
repositoryBaseTypeId getBaseTypeId()
cmis:baseTypeId
).null
if the property
hasn't been requested or hasn't been provided by the repositoryObjectType getBaseType()
cmis:baseTypeId
).null
if the property
cmis:baseTypeId
hasn't been requested or hasn't been
provided by the repositoryObjectType getType()
cmis:objectTypeId
).null
if the property
cmis:objectTypeId
hasn't been requested or hasn't been
provided by the repositoryList<SecondaryType> getSecondaryTypes()
cmis:secondaryObjectTypeIds
).null
if the property
cmis:secondaryObjectTypeIds
hasn't been requested or
hasn't been provided by the repositoryList<ObjectType> findObjectType(String id)
id
- the ID of the propertynull
if the property couldn't be found in the object
types that are attached to this objectString getChangeToken()
cmis:changeToken
).null
if the property
hasn't been requested or hasn't been provided or isn't supported
by the repositoryCopyright © 2009–2017 The Apache Software Foundation. All rights reserved.