atg.repository
Interface SecuredRepositoryItemDescriptor

All Superinterfaces:
DynamicBeanInfo, RepositoryItemDescriptor, SecuredContainer, java.io.Serializable

public interface SecuredRepositoryItemDescriptor
extends RepositoryItemDescriptor, SecuredContainer


Field Summary
static java.lang.String CLASS_VERSION
           
 
Method Summary
 AccessControlList getPropertyAccessControlList(java.lang.String propertyName)
          Returns the access control list for a property in this repository item.
 AccessRight[] getPropertyAccessRights(java.lang.String propertyName)
          Returns the set of access rights that can be assigned to a property in this repository item.
 boolean hasAccess(AccessRight right)
          Checks to see if the current user has the indicated access right.
 boolean hasPropertyAccess(java.lang.String propertyName, AccessRight right)
          Checks to see if the current user has the indicated access right for the specified property.
 void setPropertyAccessControlList(java.lang.String propertyName, AccessControlList acl)
          Changes the access control list for a property in this repository item.
 
Methods inherited from interface atg.repository.RepositoryItemDescriptor
addPropertyDescriptor, encodeCompositeKey, getContextMembershipProperty, getDisplayNameProperty, getItemDescriptorName, getRepository, getRepositoryView, hasCompositeKey, isContextMembershipEnabled, removePropertyDescriptor, updatePropertyDescriptor
 
Methods inherited from interface atg.beans.DynamicBeanInfo
areInstances, getBeanDescriptor, getPropertyDescriptor, getPropertyDescriptors, getPropertyNames, hasProperty, isInstance
 
Methods inherited from interface atg.security.SecuredContainer
getCreationAccessControlList, getCreationOwnerAccessControlListTemplate, getCreationSubPersonaAccessControlListTemplate, getInheritableAccessControlList, getOwner, getSecurityContext, setCreationAccessControlList, setCreationOwnerAccessControlListTemplate, setCreationSubPersonaAccessControlListTemplate, setInheritableAccessControlList, setOwner, unsecuredGetCreationAccessControlList, unsecuredGetCreationOwnerAccessControlListTemplate, unsecuredGetCreationSubPersonaAccessControlListTemplate, unsecuredGetInheritableAccessControlList, unsecuredGetOwner
 

Field Detail

CLASS_VERSION

static final java.lang.String CLASS_VERSION
See Also:
Constant Field Values
Method Detail

getPropertyAccessControlList

AccessControlList getPropertyAccessControlList(java.lang.String propertyName)
                                               throws SecurityException
Returns the access control list for a property in this repository item. This ACL may be combined or overridden by a property ACL in the item descriptor, as defined by the security policy.

Throws:
SecurityException

setPropertyAccessControlList

void setPropertyAccessControlList(java.lang.String propertyName,
                                  AccessControlList acl)
                                  throws SecurityException
Changes the access control list for a property in this repository item. This ACL may be combined or overridden by a property ACL in the item descriptor, as defined by the security policy.

Throws:
SecurityException

getPropertyAccessRights

AccessRight[] getPropertyAccessRights(java.lang.String propertyName)
                                      throws SecurityException
Returns the set of access rights that can be assigned to a property in this repository item.

Throws:
SecurityException

hasAccess

boolean hasAccess(AccessRight right)
                  throws SecurityException
Checks to see if the current user has the indicated access right.

Throws:
SecurityException

hasPropertyAccess

boolean hasPropertyAccess(java.lang.String propertyName,
                          AccessRight right)
                          throws SecurityException
Checks to see if the current user has the indicated access right for the specified property.

Throws:
SecurityException