|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ISecurable
An object that can be secured in the repository. 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 |
ISecurableContainer |
getParentContainer()
If there are no access rights explicitly assigned to this object, then the effective access rights come from a parent container. |
ACE[] |
getRights()
Gets the access rights explicitly assigned to this object. |
Server |
getServer()
returns the server that this object belongs to |
Type |
getType()
If there are no access rights explicitly assigned to this object, then the effective access rights come from a parent container. |
boolean |
hasPermissions(PermissionCollection permissions)
Determines whether or not the given permissions are granted to the logged in user for this securable object. |
boolean |
isDeleted()
determines whether or not this object has been deleted |
void |
setRights(ACE[] acl)
Sets the access rights explicitly assigned to this object. |
| Method Detail |
|---|
ISecurableContainer getParentContainer()
ISecurableContainerType getType()
ISecurable.getParentContainer(),
TypeACE[] getRights()
ACEvoid setRights(ACE[] acl)
acl - The new access control list to be assigned to this object, or
null to remove any existing access rights.ACEboolean hasPermissions(PermissionCollection permissions)
permissions - One or more permissions to be tested.
Permissionint getID()
Server getServer()
boolean isDeleted()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||