|
SAP NetWeaver 7.30 Enterprise Portal (SP03) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IAclHandle
The ACL Handle provides access to the ACL that is assigned to a context in the Pcd GL.
This interface is not intended to be implemented by clients.
| Method Summary | |
|---|---|
boolean |
addPermission(String permission,
List members)
Adds a permission to the list of available permissions. |
IAcl |
createAcl(Object caller)
Creates a new ACL for a PCD object. |
IAcl |
createAcl(Object caller,
IPermissionCheckAcl aclToCopy)
Creates a new ACL for a portal object using another ACL to copy the ACEs. |
IPermissionCheckAcl |
getAclForPermissionCheck()
Reads the ACL object relevant for the portal object. |
Enumeration |
getChildAclHandlesWithOwnAcl()
Returns all acl handles of the child objects that have non-inherited ACLs. |
String |
getFullNameOfCheckedAcl()
Returns the full object name of the PCD object from which the ACL is inherited. |
IAcl |
getOwnAcl()
Reads the existing ACL object for a PCD object. |
IAclHandle |
getParentAclHandle()
Returns acl handle of the parent object in the PCD. |
List |
getPermissions(String objectType)
Gets a list of permissions which are available for the specific object type |
boolean |
isAllowed(Object principal,
String permission)
Checks if an user has permission on a portal object and user (principal). |
boolean |
isInheritedAcl()
Indicates if the acl handle has inherited the ACL from another PCD object. |
boolean |
isReadOnly()
Indicates if acls can be created or changed. |
void |
publishChanges()
Publishes ACL changes to the corresponding pcd objects. |
boolean |
removeAcl(Object caller)
Removes the existing ACL object from given portal object. |
boolean |
removeChildAcls(Object caller)
Removes ACLs of all children recursively. |
boolean |
removePermission(String permission)
Removes a permission from the list of available permissions. |
| Method Detail |
|---|
IAcl createAcl(Object caller)
throws PermissionControlException
caller - an ACL owner (com.sap.security.api.IPrincipal)
PermissionControlException
IAcl createAcl(Object caller,
IPermissionCheckAcl aclToCopy)
throws PermissionControlException
caller - an ACL owner (com.sap.security.api.IPrincipal)aclToCopy - another ACL that is to be copied
PermissionControlExceptionIAcl getOwnAcl()
IPermissionCheckAcl getAclForPermissionCheck()
boolean isInheritedAcl()
IAclHandle getParentAclHandle()
String getFullNameOfCheckedAcl()
boolean removeAcl(Object caller)
throws PermissionControlException
caller - user who removes the ACL (com.sap.security.api.IPrincipal)
PermissionControlException
boolean removeChildAcls(Object caller)
throws PermissionControlException
caller - user which removes the ACL (com.sap.security.api.IPrincipal)
PermissionControlException
Enumeration getChildAclHandlesWithOwnAcl()
throws PermissionControlException
PermissionControlException
boolean addPermission(String permission,
List members)
throws PermissionControlException
permission - the permission to addmembers - a list of permissions the added permission contains
PermissionControlException
boolean removePermission(String permission)
throws PermissionControlException
permission - the permission to remove
PermissionControlExceptionList getPermissions(String objectType)
objectType - the object type
boolean isAllowed(Object principal,
String permission)
principal - user, group or role name (com.sap.security.api.IPrincipal).permission - checked permission.
boolean isReadOnly()
void publishChanges()
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/pcd/gl/api
|
api
|
EP-PIN
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/pcd/gl/api
|
-
|
EP-PIN
|
[sap.com] EP-BASIS
|
[sap.com]
|
api
|
BC-PIN-PCD
|
|
SAP NetWeaver 7.30 Enterprise Portal (SP03) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||