atg.adapter.secure
Class GenericSecuredMutableRepositoryItem
java.lang.Object
   atg.security.GenericSecuredObject
atg.security.GenericSecuredObject
       atg.adapter.secure.SecuredRepositoryObject
atg.adapter.secure.SecuredRepositoryObject
           atg.adapter.secure.GenericSecuredRepositoryItem
atg.adapter.secure.GenericSecuredRepositoryItem
               atg.adapter.secure.GenericSecuredMutableRepositoryItem
atg.adapter.secure.GenericSecuredMutableRepositoryItem
- All Implemented Interfaces: 
- DisplayableItem, MutableRepositoryItem, RepositoryItem, SecuredMutableRepositoryItem, SecuredRepositoryItem, SecuredObject
- Direct Known Subclasses: 
- GenericSecuredMutableContentItem, GenericSecuredMutableFolderItem
- public class GenericSecuredMutableRepositoryItem 
- extends GenericSecuredRepositoryItem- implements SecuredMutableRepositoryItem
A class which wraps a repository item to add security features.
 
 
 
 
 
 
| Methods inherited from class atg.adapter.secure.GenericSecuredRepositoryItem | 
| checkPropertyAccess, equals, getItemDescriptor, getItemDisplayName, getPropertyAccessControlList, getPropertySecuredObject, getPropertyValue, getRepository, getRepositoryId, hasAccess, hashCode, hasPropertyAccess, isRemoved, isTransient | 
 
| Methods inherited from class atg.adapter.secure.SecuredRepositoryObject | 
| getRepositoryItem, getSecuredObjectDescriptor, invalidate, logError, logError, logError, supportsAccessControlList, supportsOwner, unsecuredGetAccessControlList, unsecuredGetContainers, unsecuredGetOwner, unsecuredSetAccessControlList, unsecuredSetOwner | 
 
 
| Methods inherited from class java.lang.Object | 
| clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait | 
 
 
 
 
 
 
 
CLASS_VERSION
public static java.lang.String CLASS_VERSION
GenericSecuredMutableRepositoryItem
public GenericSecuredMutableRepositoryItem(GenericSecuredMutableRepository pRepository,
                                           MutableRepositoryItem pItem)
                                    throws RepositoryException
- Wraps a repository item with a secured repository item.
 
- Throws:
- RepositoryException
 
getOriginalItemDescriptor
public RepositoryItemDescriptor getOriginalItemDescriptor()
                                                   throws RepositoryException
- Returns the item descriptor that we're wrapping.
 
- 
- Overrides:
- getOriginalItemDescriptorin class- GenericSecuredRepositoryItem
 
- 
- Throws:
- RepositoryException
 
setPropertyValue
public void setPropertyValue(java.lang.String pPropertyName,
                             java.lang.Object pPropertyValue)
- Sets the property of the given name with the supplied object
 
- 
- Specified by:
- setPropertyValuein interface- MutableRepositoryItem
 
- 
 
setAccessControlList
public void setAccessControlList(AccessControlList pNewAcl)
                          throws SecurityException
- Changes the access control list associated with this object.  In
 a non-mutable repository item this always fails.
 
- 
- Specified by:
- setAccessControlListin interface- SecuredObject
- Overrides:
- setAccessControlListin class- GenericSecuredObject
 
- 
- Throws:
- SecurityException
 
setOwner
public void setOwner(Persona pNewOwner)
              throws SecurityException
- Changes the owner of the object, if any.  In a non-mutable
 repository this always fails.
 
- 
- Specified by:
- setOwnerin interface- SecuredObject
- Overrides:
- setOwnerin class- GenericSecuredObject
 
- 
- Throws:
- SecurityException
 
setPropertyAccessControlList
public void setPropertyAccessControlList(java.lang.String pPropertyName,
                                         AccessControlList pNewAcl)
                                  throws SecurityException
- Changes the item-specific access control list for the indicated
 property.  Note that there may also be an item-descriptor-wide
 access control list.
 
- 
- Specified by:
- setPropertyAccessControlListin interface- SecuredMutableRepositoryItem
 
- 
- Throws:
- SecurityException
- See Also:
- SecuredRepositoryItemDescriptor.setPropertyAccessControlList(java.lang.String, atg.security.AccessControlList)
 
unsecuredSetCreationSecurity
public void unsecuredSetCreationSecurity()
                                  throws SecurityException
- Sets the object's security to the creation defaults, also invokes
 this method on all SecuredRepositoryProperty objects for this
 item. This initializes secured property support.
 This is considered to be a private API for the domain object and
 should not be used by applications.
 
- 
- Overrides:
- unsecuredSetCreationSecurityin class- GenericSecuredObject
 
- 
- Throws:
- SecurityException