public class ObjectDataImpl extends AbstractExtensionData implements MutableObjectData
| Constructor and Description |
|---|
ObjectDataImpl() |
| Modifier and Type | Method and Description |
|---|---|
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)
Sets the access control list.
|
void |
setAllowableActions(AllowableActions allowableActions)
Sets the Allowable Actions.
|
void |
setChangeEventInfo(ChangeEventInfo changeEventInfo)
Sets the change event info.
|
void |
setIsExactAcl(Boolean isExactACL)
Sets if the access control list reflects the exact permission set in the
repository.
|
void |
setPolicyIds(PolicyIdList policyIds)
Sets the policy IDs.
|
void |
setProperties(Properties properties)
Sets the properties.
|
void |
setRelationships(List<ObjectData> relationships)
Sets the relationships.
|
void |
setRenditions(List<RenditionData> renditions)
Sets the renditions.
|
String |
toString() |
getExtensions, setExtensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetExtensions, setExtensionspublic String getId()
ObjectDatagetId in interface ObjectDatanull if the object ID is unknownpublic BaseTypeId getBaseTypeId()
ObjectDatagetBaseTypeId in interface ObjectDatanull if the base object type is
unknownpublic Properties getProperties()
ObjectDatagetProperties in interface ObjectDatanull if no properties are knownpublic void setProperties(Properties properties)
MutableObjectDatasetProperties in interface MutableObjectDataproperties - the properties of null to remove all propertiespublic ChangeEventInfo getChangeEventInfo()
ObjectDatagetChangeEventInfo in interface ObjectDatanull if the infos are unknownpublic void setChangeEventInfo(ChangeEventInfo changeEventInfo)
MutableObjectDatasetChangeEventInfo in interface MutableObjectDatachangeEventInfo - the change event info of null to remove the change
event infopublic List<ObjectData> getRelationships()
ObjectDatagetRelationships in interface ObjectDatanullpublic void setRelationships(List<ObjectData> relationships)
MutableObjectDatasetRelationships in interface MutableObjectDatarelationships - the list of relationships of null to remove all
relationshipspublic List<RenditionData> getRenditions()
ObjectDatagetRenditions in interface ObjectDatanullpublic void setRenditions(List<RenditionData> renditions)
MutableObjectDatasetRenditions in interface MutableObjectDatarenditions - the list of renditions of null to remove all
renditionspublic PolicyIdList getPolicyIds()
ObjectDatagetPolicyIds in interface ObjectDatanull if no policies are applied or the
IDs are unknownpublic void setPolicyIds(PolicyIdList policyIds)
MutableObjectDatasetPolicyIds in interface MutableObjectDatapolicyIds - the policy ID of null to remove all policy IDspublic AllowableActions getAllowableActions()
ObjectDatagetAllowableActions in interface ObjectDatanull if the allowable actions
are unknownpublic void setAllowableActions(AllowableActions allowableActions)
MutableObjectDatasetAllowableActions in interface MutableObjectDataallowableActions - the Allowable Actions of null to remove the Allowable
Actionspublic Acl getAcl()
ObjectDatagetAcl in interface ObjectDatanull if the access control
list is unknownpublic void setAcl(Acl acl)
MutableObjectDatasetAcl in interface MutableObjectDataacl - the access control list of null to remove the access
control listpublic Boolean isExactAcl()
ObjectDataisExactAcl in interface ObjectDatatrue - exact; false - not exact, other permission
constraints exist; null - unknownpublic void setIsExactAcl(Boolean isExactACL)
MutableObjectData
Should be set to true or false if an access control list
exists. Should be set to null if no access control list exists.
setIsExactAcl in interface MutableObjectDataisExactACL - the exact flag.public String toString()
toString in class AbstractExtensionDataCopyright © 2009-2015 The Apache Software Foundation. All Rights Reserved.