|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A container in the repository that can hold secured objects of a given type.
| Method Summary | |
AclEntry[] |
getContainerLevelACL(java.lang.String typeName)
Gets the container-level access rights explicitly assigned to this container for objects of the given type. |
ISecurableContainer |
getParentContainer()
If there are no container-level access rights for the given type explicitly assigned to this container, then the effective container-level access rights come from a parent container. |
boolean |
hasPermission(int permissions,
java.lang.String typeName)
Determines whether or not the given permissions are granted to the logged in user for securable objects of the given type in this container. |
void |
setContainerLevelACL(AclEntry[] acl,
java.lang.String typeName)
Sets the container-level access rights explicitly assigned to this container for objects of the given type. |
| Method Detail |
public ISecurableContainer getParentContainer()
public AclEntry[] getContainerLevelACL(java.lang.String typeName)
typeName - The name of the type of the secured objects in this container.
AclEntry,
TypeNames
public void setContainerLevelACL(AclEntry[] acl,
java.lang.String typeName)
acl - The access control list for this container, or null to
remove any existing access rights.typeName - The name of the type of the secured objects in this container.AclEntry,
TypeNames
public boolean hasPermission(int permissions,
java.lang.String typeName)
permissions - One or more permissions to be tested.typeName - The name of the type of the secured objects in this container.
Permission,
TypeNames
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||