com.sapportals.wcm.util.acl
Interface IAclManager4Tx
- All Superinterfaces:
- IAclManager
- All Known Subinterfaces:
- IAclManagerRaw
- public interface IAclManager4Tx
- extends IAclManager
A IAclManagerRaw extends a IAclManager by
methods to access even those ACLs with either deleted owners or
deleted principals in the ACL's ACEs.
| Methods inherited from interface com.sapportals.wcm.util.acl.IAclManager |
addSupportedPermission, areAclsUpToDate, changeAclID, changeMultipleAclIDs, checkPermissions, createAcl, createAclEntry, createPermission, deletePrincipal, getAcl, getAcls, getAffectedAclIDs, getCacheArea, getDBVersion, getPermission, getSupportedObjectTypes, getSupportedPermissions, isPermissionUsedInAcl, isReadOnly, removeAcl, removeAcl, removeMultipleAcls, removePermission, removeSupportedPermission, updatePrincipal |
createAcl
public IAcl createAcl(com.sapportals.portal.security.usermanagement.IUMPrincipal caller,
String aclID,
IObjectType objectType,
IAclEntryList entries,
IUMPrincipalList owners)
throws AclPersistenceException,
AclExistsException,
InvalidClassException,
PermissionNotSupportedException
- create a new ACL for the given list of ACEs and owners.
- Parameters:
caller - the user who called this method.aclID - the ID of the new ACL.objectType - the type of object the ACL is for.entries - a list of ACEs to set for this ACL.owners - a list of IUMPrincipals to use as owners for this ACL.
- Returns:
- the newly created ACL.
- Throws:
AclPersistenceException - a problem occured within the ACL
storage.
AclExistsException - an ACL with the same ID already exists.
InvalidClassException - at least on of the ACEs was created by
a foreign ACL manager.
PermissionNotSupportedException - a permission of at least one
ACE is not supported for the type of the ACL's object.
Copyright 2006 SAP AG Complete Copyright Notice