|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
An IAclPermission denominates a set of actions that can be
carried out on an object and can be granted or denied to a principal.
IAclSecurityManager IAclPermissions can be nested, so an IAclPermission
may contain other IAclPermissions as members
| Field Summary | |
static java.lang.String |
ACL_PERMISSION_CHANGE_APPROVER
|
static java.lang.String |
ACL_PERMISSION_DELETE
|
static java.lang.String |
ACL_PERMISSION_DELETE_COLLABORATION
|
static java.lang.String |
ACL_PERMISSION_FOLDERSETTINGS
|
static java.lang.String |
ACL_PERMISSION_FULL_CONTROL
permissions: full control always contains all other permissions |
static java.lang.String |
ACL_PERMISSION_READ
repository permissions |
static java.lang.String |
ACL_PERMISSION_READWRITE
|
static java.lang.String |
ACL_PERMISSION_SUBSCRIPTION_ACTIVE
|
static java.lang.String |
ACL_PERMISSION_SUBSCRIPTION_FOLDER
|
static java.lang.String |
ACL_PERMISSION_SUBSCRIPTION_PASSIVE
|
static java.lang.String |
ACL_PERMISSION_SUBSCRIPTION_UNSUBSCRIBE
service permissions |
static java.lang.String |
ACL_PERMISSION_WRITE
|
| Method Summary | |
boolean |
addMember(IAclPermission permission)
add some permission as a new member to the present permission |
boolean |
equals(IAclPermission permission)
check whether some permission equals the present permission |
java.lang.String |
getDescription()
get the description of the permission |
java.lang.String |
getDescription(java.util.Locale locale)
Get the description attribute of the IAclPermission object. |
IAclPermissionList |
getMembers()
get a list of the members of the present permission |
java.lang.String |
getName()
get the name of the permission |
int |
getSortIndex()
get the sort index of the permission (for display in a control) |
boolean |
isAtomic()
check whether the present permission has no members |
boolean |
isContained(IAclPermission permission)
check whether a permission and all of its members are contained in the present permission |
boolean |
isMember(IAclPermission permission)
check whether some permission is a member of the present permission |
boolean |
isPredefined()
check whether the present permission is predefined |
boolean |
removeMember(IAclPermission permission)
remove a member from the present permission |
| Field Detail |
public static final java.lang.String ACL_PERMISSION_FULL_CONTROL
public static final java.lang.String ACL_PERMISSION_READ
public static final java.lang.String ACL_PERMISSION_WRITE
public static final java.lang.String ACL_PERMISSION_READWRITE
public static final java.lang.String ACL_PERMISSION_DELETE
public static final java.lang.String ACL_PERMISSION_SUBSCRIPTION_UNSUBSCRIBE
public static final java.lang.String ACL_PERMISSION_SUBSCRIPTION_ACTIVE
public static final java.lang.String ACL_PERMISSION_SUBSCRIPTION_PASSIVE
public static final java.lang.String ACL_PERMISSION_SUBSCRIPTION_FOLDER
public static final java.lang.String ACL_PERMISSION_CHANGE_APPROVER
public static final java.lang.String ACL_PERMISSION_DELETE_COLLABORATION
public static final java.lang.String ACL_PERMISSION_FOLDERSETTINGS
| Method Detail |
public boolean isAtomic()
throws AclPersistenceException
AclPersistenceException - Exception raised in failure situation
public boolean isMember(IAclPermission permission)
throws AclPersistenceException
permission - a permissionAclPersistenceException - a problem with the storage where the
ACLs are persisted occurred
public IAclPermissionList getMembers()
throws AclPersistenceException
AclPersistenceException - a problem with the storage where the
ACLs are persisted occurred
public boolean addMember(IAclPermission permission)
throws AclPersistenceException,
AclPermissionExistsException,
AclPredefinedPermissionException,
AclPermissionUsedException
permission - the permissionAclPersistenceException - a problem with the storage where the
ACLs are persisted occurredAclPermissionExistsException - Exception raised in failure
situationAclPredefinedPermissionException - Exception raised in failure
situationAclPermissionUsedException - Exception raised in failure situation
public boolean removeMember(IAclPermission permission)
throws AclPersistenceException,
AclPredefinedPermissionException,
AclPermissionUsedException
permission - the member permissionAclPersistenceException - a problem with the storage where the
ACLs are persisted occurredAclPredefinedPermissionException - Exception raised in failure
situationAclPermissionUsedException - Exception raised in failure situation
public boolean isPredefined()
throws AclPersistenceException
AclPersistenceException - a problem with the storage where the
ACLs are persisted occurred
public boolean isContained(IAclPermission permission)
throws AclPersistenceException
permission - permission to be checkedAclPersistenceException - a problem with the storage where the
ACLs are persisted occurred
public java.lang.String getName()
throws AclPersistenceException
AclPersistenceException - a problem with the storage where the
ACLs are persisted occurred
public java.lang.String getDescription()
throws AclPersistenceException
AclPersistenceException - a problem with the storage where the
ACLs are persisted occurred
public java.lang.String getDescription(java.util.Locale locale)
throws AclPersistenceException
locale - locale of descriptionAclPersistenceException - Exception raised in failure situation
public int getSortIndex()
throws AclPersistenceException
AclPersistenceException - a problem with the storage where the
ACLs are persisted occurred
public boolean equals(IAclPermission permission)
throws AclPersistenceException
permission - the permission to compare toAclPersistenceException - Exception raised in failure situation
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||