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, setExtensions
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getExtensions, setExtensions
public String getId()
ObjectData
getId
in interface ObjectData
null
if the object ID is unknownpublic BaseTypeId getBaseTypeId()
ObjectData
getBaseTypeId
in interface ObjectData
null
if the base object type is
unknownpublic Properties getProperties()
ObjectData
getProperties
in interface ObjectData
null
if no properties are knownpublic void setProperties(Properties properties)
MutableObjectData
setProperties
in interface MutableObjectData
properties
- the properties of null
to remove all propertiespublic ChangeEventInfo getChangeEventInfo()
ObjectData
getChangeEventInfo
in interface ObjectData
null
if the infos are unknownpublic void setChangeEventInfo(ChangeEventInfo changeEventInfo)
MutableObjectData
setChangeEventInfo
in interface MutableObjectData
changeEventInfo
- the change event info of null
to remove the change
event infopublic List<ObjectData> getRelationships()
ObjectData
getRelationships
in interface ObjectData
null
public void setRelationships(List<ObjectData> relationships)
MutableObjectData
setRelationships
in interface MutableObjectData
relationships
- the list of relationships of null
to remove all
relationshipspublic List<RenditionData> getRenditions()
ObjectData
getRenditions
in interface ObjectData
null
public void setRenditions(List<RenditionData> renditions)
MutableObjectData
setRenditions
in interface MutableObjectData
renditions
- the list of renditions of null
to remove all
renditionspublic PolicyIdList getPolicyIds()
ObjectData
getPolicyIds
in interface ObjectData
null
if no policies are applied or the
IDs are unknownpublic void setPolicyIds(PolicyIdList policyIds)
MutableObjectData
setPolicyIds
in interface MutableObjectData
policyIds
- the policy ID of null
to remove all policy IDspublic AllowableActions getAllowableActions()
ObjectData
getAllowableActions
in interface ObjectData
null
if the allowable actions
are unknownpublic void setAllowableActions(AllowableActions allowableActions)
MutableObjectData
setAllowableActions
in interface MutableObjectData
allowableActions
- the Allowable Actions of null
to remove the Allowable
Actionspublic Acl getAcl()
ObjectData
getAcl
in interface ObjectData
null
if the access control
list is unknownpublic void setAcl(Acl acl)
MutableObjectData
setAcl
in interface MutableObjectData
acl
- the access control list of null
to remove the access
control listpublic Boolean isExactAcl()
ObjectData
isExactAcl
in interface ObjectData
true
- 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 MutableObjectData
isExactACL
- the exact flag.public String toString()
toString
in class AbstractExtensionData
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.