org.apache.chemistry.opencmis.commons.impl.dataobjects
Class ObjectDataImpl

java.lang.Object
  extended by org.apache.chemistry.opencmis.commons.impl.dataobjects.AbstractExtensionData
      extended by org.apache.chemistry.opencmis.commons.impl.dataobjects.ObjectDataImpl
All Implemented Interfaces:
Serializable, ExtensionsData, ObjectData

public class ObjectDataImpl
extends AbstractExtensionData
implements ObjectData

ObjectData implementation.

See Also:
Serialized Form

Constructor Summary
ObjectDataImpl()
           
 
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.
 String getId()
          Returns the object id.
 PolicyIdList getPolicyIds()
          Returns the ids of the applied policies.
 Properties getProperties()
          Returns the object properties.
 List<ObjectData> getRelationships()
          Returns the relationships from and to this object.
 List<RenditionData> getRenditions()
          Returns the renditions of this object.
 Boolean isExactAcl()
          Returns if the access control list reflects the exact permission set in the repository.
 void setAcl(Acl acl)
           
 void setAllowableActions(AllowableActions allowableActions)
           
 void setChangeEventInfo(ChangeEventInfo changeEventInfo)
           
 void setIsExactAcl(Boolean isExactACL)
           
 void setPolicyIds(PolicyIdList policyIds)
           
 void setProperties(Properties properties)
           
 void setRelationships(List<ObjectData> relationships)
           
 void setRenditions(List<RenditionData> renditions)
           
 String toString()
           
 
Methods inherited from class org.apache.chemistry.opencmis.commons.impl.dataobjects.AbstractExtensionData
getExtensions, setExtensions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.chemistry.opencmis.commons.data.ExtensionsData
getExtensions, setExtensions
 

Constructor Detail

ObjectDataImpl

public ObjectDataImpl()
Method Detail

getId

public String getId()
Description copied from interface: ObjectData
Returns the object id.

Specified by:
getId in interface ObjectData
Returns:
the object id or null if the object id is unknown

getBaseTypeId

public BaseTypeId getBaseTypeId()
Description copied from interface: ObjectData
Returns the base object type.

Specified by:
getBaseTypeId in interface ObjectData
Returns:
the base object type or null if the base object type is unknown

getProperties

public Properties getProperties()
Description copied from interface: ObjectData
Returns the object properties. The properties can be incomplete if a property filter was used.

Specified by:
getProperties in interface ObjectData
Returns:
the properties or null if no properties are known

setProperties

public void setProperties(Properties properties)

getChangeEventInfo

public ChangeEventInfo getChangeEventInfo()
Description copied from interface: ObjectData
Returns the change event infos.

Specified by:
getChangeEventInfo in interface ObjectData
Returns:
the change event infos or null if the infos are unknown

setChangeEventInfo

public void setChangeEventInfo(ChangeEventInfo changeEventInfo)

getRelationships

public List<ObjectData> getRelationships()
Description copied from interface: ObjectData
Returns the relationships from and to this object.

Specified by:
getRelationships in interface ObjectData
Returns:
the list of relationship objects or null if no relationships exist or the relationships are unknown

setRelationships

public void setRelationships(List<ObjectData> relationships)

getRenditions

public List<RenditionData> getRenditions()
Description copied from interface: ObjectData
Returns the renditions of this object.

Specified by:
getRenditions in interface ObjectData
Returns:
the list of renditions (might be empty) or null if no renditions exist or the renditions are unknown

setRenditions

public void setRenditions(List<RenditionData> renditions)

getPolicyIds

public PolicyIdList getPolicyIds()
Description copied from interface: ObjectData
Returns the ids of the applied policies.

Specified by:
getPolicyIds in interface ObjectData
Returns:
the policy ids or null if no policies are applied or the ids are unknown

setPolicyIds

public void setPolicyIds(PolicyIdList policyIds)

getAllowableActions

public AllowableActions getAllowableActions()
Description copied from interface: ObjectData
Returns the allowable actions.

Specified by:
getAllowableActions in interface ObjectData
Returns:
the allowable actions or null if the allowable actions are unknown

setAllowableActions

public void setAllowableActions(AllowableActions allowableActions)

getAcl

public Acl getAcl()
Description copied from interface: ObjectData
Returns the access control list.

Specified by:
getAcl in interface ObjectData
Returns:
the access control list or null if the access control list is unknown

setAcl

public void setAcl(Acl acl)

isExactAcl

public Boolean isExactAcl()
Description copied from interface: ObjectData
Returns if the access control list reflects the exact permission set in the repository.

Specified by:
isExactAcl in interface ObjectData
Returns:
true - exact; false - not exact, other permission constraints exist; null - unknown

setIsExactAcl

public void setIsExactAcl(Boolean isExactACL)

toString

public String toString()
Overrides:
toString in class AbstractExtensionData


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