org.apache.chemistry.opencmis.commons.data
Interface ObjectData

All Superinterfaces:
ExtensionsData

public interface ObjectData
extends ExtensionsData

Base object for CMIS documents, folders, relationships and policies.

Author:
Florian Müller

Method Summary
 Acl getAcl()
          Returns the access control list.
 AllowableActions getAllowableActions()
          Returns the allowable actions.
 BaseTypeId getBaseTypeId()
          Returns the base object type.
 ChangeEventInfo getChangeEventInfo()
          Returns the change event infos.
 java.lang.String getId()
          Returns the object id.
 PolicyIdList getPolicyIds()
          Returns the ids of the applied policies.
 Properties getProperties()
          Returns the object properties.
 java.util.List<ObjectData> getRelationships()
          Returns the relationships from and to this object.
 java.util.List<RenditionData> getRenditions()
          Returns the renditions of this object.
 java.lang.Boolean isExactAcl()
          Returns if the access control list reflects the exact permission set in the repository.
 
Methods inherited from interface org.apache.chemistry.opencmis.commons.data.ExtensionsData
getExtensions, setExtensions
 

Method Detail

getId

java.lang.String getId()
Returns the object id.

Returns:
the object id or null if the object id is unknown

getBaseTypeId

BaseTypeId getBaseTypeId()
Returns the base object type.

Returns:
the base object type or null if the base object type is unknown

getProperties

Properties getProperties()
Returns the object properties. The properties can be incomplete if a property filter was used.

Returns:
the properties or null if no properties are known

getAllowableActions

AllowableActions getAllowableActions()
Returns the allowable actions.

Returns:
the allowable actions or null if the allowable actions are unknown

getRelationships

java.util.List<ObjectData> getRelationships()
Returns the relationships from and to this object.

Returns:
the list of relationship objects or null if no relationships exist or the relationships are unknown

getChangeEventInfo

ChangeEventInfo getChangeEventInfo()
Returns the change event infos.

Returns:
the change event infos or null if the infos are unknown

getAcl

Acl getAcl()
Returns the access control list.

Returns:
the access control list or null if the access control list is unknown

isExactAcl

java.lang.Boolean isExactAcl()
Returns if the access control list reflects the exact permission set in the repository.

Returns:
true - exact; false - not exact, other permission constraints exist; null - unknown

getPolicyIds

PolicyIdList getPolicyIds()
Returns the ids of the applied policies.

Returns:
the policy ids or null if no policies are applied or the ids are unknown

getRenditions

java.util.List<RenditionData> getRenditions()
Returns the renditions of this object.

Returns:
the list of renditions (might be empty) or null if no renditions exist or the renditions are unknown


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.