public class GenericSecuredMutableRepositoryItem extends GenericSecuredRepositoryItem implements SecuredMutableRepositoryItem
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION |
ITEM_RIGHTS, ITEM_RIGHTS_MAP, mPolicy, mPropertyObjects
mDescriptor, mItem, mMutableItem, mRepository
mAcl, mOwner, mSecurityContext
Constructor and Description |
---|
GenericSecuredMutableRepositoryItem(GenericSecuredMutableRepository pRepository,
MutableRepositoryItem pItem)
Wraps a repository item with a secured repository item.
|
Modifier and Type | Method and Description |
---|---|
RepositoryItemDescriptor |
getOriginalItemDescriptor()
Returns the item descriptor that we're wrapping.
|
void |
setAccessControlList(AccessControlList pNewAcl)
Changes the access control list associated with this object.
|
void |
setOwner(Persona pNewOwner)
Changes the owner of the object, if any.
|
void |
setPropertyAccessControlList(java.lang.String pPropertyName,
AccessControlList pNewAcl)
Changes the item-specific access control list for the indicated
property.
|
void |
setPropertyValue(java.lang.String pPropertyName,
java.lang.Object pPropertyValue)
Sets the property of the given name with the supplied object
|
void |
unsecuredSetCreationSecurity()
Sets the object's security to the creation defaults, also invokes
this method on all SecuredRepositoryProperty objects for this
item.
|
checkPropertyAccess, equals, getContextMemberships, getItemDescriptor, getItemDisplayName, getPropertyAccessControlList, getPropertySecuredObject, getPropertyValue, getRepository, getRepositoryId, hasAccess, hashCode, hasPropertyAccess, isRemoved, isTransient, toString
getRepositoryItem, getSecuredObjectDescriptor, invalidate, logError, logError, logError, supportsAccessControlList, supportsOwner, unsecuredGetAccessControlList, unsecuredGetContainers, unsecuredGetOwner, unsecuredSetAccessControlList, unsecuredSetOwner
checkAccess, checkRuntimeAccess, getAccessControlList, getOwner, getSecurityContext, setSecurityContext, unsecuredGetSecuredContainers
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getPropertyAccessControlList, getPropertySecuredObject, hasAccess, hasPropertyAccess
getAccessControlList, getOwner, getSecurityContext, supportsAccessControlList, supportsOwner, unsecuredGetAccessControlList, unsecuredGetContainers, unsecuredGetOwner, unsecuredSetAccessControlList, unsecuredSetOwner
getContextMemberships, getItemDescriptor, getPropertyValue, getRepository, getRepositoryId, isTransient
getItemDisplayName
public GenericSecuredMutableRepositoryItem(GenericSecuredMutableRepository pRepository, MutableRepositoryItem pItem) throws RepositoryException
RepositoryException
public RepositoryItemDescriptor getOriginalItemDescriptor() throws RepositoryException
getOriginalItemDescriptor
in class GenericSecuredRepositoryItem
RepositoryException
public void setPropertyValue(java.lang.String pPropertyName, java.lang.Object pPropertyValue)
setPropertyValue
in interface MutableRepositoryItem
public void setAccessControlList(AccessControlList pNewAcl) throws SecurityException
setAccessControlList
in interface SecuredObject
setAccessControlList
in class GenericSecuredObject
SecurityException
public void setOwner(Persona pNewOwner) throws SecurityException
setOwner
in interface SecuredObject
setOwner
in class GenericSecuredObject
SecurityException
public void setPropertyAccessControlList(java.lang.String pPropertyName, AccessControlList pNewAcl) throws SecurityException
setPropertyAccessControlList
in interface SecuredMutableRepositoryItem
SecurityException
SecuredRepositoryItemDescriptor.setPropertyAccessControlList(java.lang.String, atg.security.AccessControlList)
public void unsecuredSetCreationSecurity() throws SecurityException
unsecuredSetCreationSecurity
in class GenericSecuredObject
SecurityException