|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ISecurableContainer
A container in the repository that can hold secured objects of a given type. Important Note: This interface is not intended to be implemented by client applications. We reserve the right to add methods in the future. Applications that implement this interface may not be compatible with future versions of the StarTeam SDK.
| Method Summary | |
|---|---|
int |
getID()
returns the unique system ID for this securable container |
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. |
ACE[] |
getRights(Type type)
Gets the container-level access rights explicitly assigned to this container for objects of the given type. |
Server |
getServer()
returns the server that this object belongs to |
boolean |
hasPermissions(PermissionCollection permissions,
Type type)
Determines whether or not the given permissions are granted to the logged in user for securable objects of the given type in this container. |
boolean |
isDeleted()
determines whether or not this object has been deleted |
void |
setRights(Type type,
ACE[] acl)
Sets the container-level access rights explicitly assigned to this container for objects of the given type. |
| Method Detail |
|---|
ISecurableContainer getParentContainer()
ACE[] getRights(Type type)
type - The type of the secured objects in this container.
ACE,
Type
void setRights(Type type,
ACE[] acl)
type - The type of the secured objects in this container.acl - The access control list for this container, or null to remove
any existing access rights.ACE,
Type
boolean hasPermissions(PermissionCollection permissions,
Type type)
permissions - One or more permissions to be tested.type - The type of the secured objects in this container.
Permission,
Typeint getID()
Server getServer()
boolean isDeleted()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||