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 objects and its properties can be out-of-date if the object has been modified in the repository.
Implementations of this interface might alter property values without updating the object in the repository. In this case, the values returned by these accessors don't reflect the state of the object 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 the requested property.
|
<T> T |
getPropertyValue(String id)
Returns the value of the requested 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 ). |
<T> Property<T> getProperty(String id)
null
is returned.<T> T getPropertyValue(String id)
null
is returned.String getName()
cmis:name
).String getDescription()
cmis:description
).String getCreatedBy()
cmis:createdBy
).GregorianCalendar getCreationDate()
cmis:creationDate
).String getLastModifiedBy()
cmis:lastModifiedBy
).GregorianCalendar getLastModificationDate()
cmis:lastModificationDate
).BaseTypeId getBaseTypeId()
cmis:baseTypeId
).ObjectType getBaseType()
cmis:baseTypeId
).ObjectType getType()
cmis:objectTypeId
).List<SecondaryType> getSecondaryTypes()
cmis:secondaryObjectTypeIds
).List<ObjectType> findObjectType(String id)
null
is returned.String getChangeToken()
cmis:changeToken
).Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.