public interface IAclEntry
Modifier and Type | Method and Description |
---|---|
boolean |
checkPermission(IAclPermission permission)
Check whether or not the given permission is covered by this ACL entry.
|
IAclPermission |
getPermission()
Get permission of the ACL entry.
|
IPrincipal |
getPrincipal()
Get principal of the ACL entry.
|
int |
getSortIndex()
get the sort index of the ACL entry - the sequence of the ACEs in the ACL
is controlled by the sort indices - the sequence is only relevant if the
IResourceAclManager supports negative ACEs (check with the
areNegativeAclEntriesSupported() method)
|
boolean |
isNegative()
Check whether or not this ACL entry denies its permission.
|
boolean |
isReadOnly()
Check wether or not the ACL entry is read only.
|
void |
setSortIndex(int sortIndex)
set the sort index of the ACL entry
|
IPrincipal getPrincipal() throws AclPersistenceException
AclPersistenceException
- when a problem with the storage where
the ACLs are persisted occurredboolean checkPermission(IAclPermission permission) throws AclPersistenceException
permission
- permission to be checkedAclPersistenceException
- when a problem with the storage where
the ACLs are persisted occurredIAclPermission getPermission() throws AclPersistenceException
AclPersistenceException
- when a problem with the storage where
the ACLs are persisted occurredint getSortIndex() throws AclPersistenceException
AclPersistenceException
- a problem with the storage where the
ACLs are persisted occurredvoid setSortIndex(int sortIndex) throws AclPersistenceException, AclNotAuthorizedException
sortIndex
- sort indexAclPersistenceException
- a problem with the storage where the
ACLs are persisted occurredAclNotAuthorizedException
- Exception raised in failure situationboolean isNegative() throws AclPersistenceException
AclPersistenceException
- when a problem with the storage where
the ACLs are persisted occurredboolean isReadOnly() throws AclPersistenceException
AclPersistenceException
- when a problem with the storage where
the ACLs are persisted occurredAccess Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice