public interface ISecurable
| Modifier and Type | Method and Description |
|---|---|
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.
|
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()
StarTeam SDK 17.0, Build 34
Copyright © 2019 Micro Focus or one of its affiliates. All rights reserved.