com.sapportals.wcm.util.acl

Interface IAcl4Tx

All Superinterfaces:
IAcl, IOwner
All Known Subinterfaces:
IAclRaw

public interface IAcl4Tx
extends IAcl

A IAclRaw is a IAcl which also supports the retrieval of deleted owners and ACEs for deleted principals.


Method Summary
 boolean set(com.sapportals.portal.security.usermanagement.IUMPrincipal caller, IAclEntryList entries, IUMPrincipalList owners)
          (re)set the entries and owners of an ACL.
 
Methods inherited from interface com.sapportals.wcm.util.acl.IAcl
addEntry, checkPermission, getDescendantsWithAcl, getEntries, getEntries, getLockingUser, hasDescendantsWithAcl, isLocked, isReadOnly, isUpToDate, lock, removeEntry, unlock
 
Methods inherited from interface com.sapportals.wcm.util.acl.IOwner
addOwner, getOwners, isAuthorized, isOwner, removeOwner
 

Method Detail

set

public boolean set(com.sapportals.portal.security.usermanagement.IUMPrincipal caller,
                   IAclEntryList entries,
                   IUMPrincipalList owners)
            throws AclPersistenceException,
                   InvalidClassException,
                   NotAuthorizedException,
                   AlreadyAssignedToAclException,
                   PermissionNotSupportedException
(re)set the entries and owners of an ACL.

Parameters:
caller - a principal which must be an owner of the ACL.
entries - the list of ACEs to set for the ACL.
owners - the list of owners to set for the ACL.
Returns:
true if the ACL could be set.
Throws:
AclPersistenceException - a problem occured within the ACL storage.
InvalidClassException - at least on of the ACEs was created by a foreign ACL manager.
NotAuthorizedException - the caller in not an owner.
AlreadyAssignedToAclException - at least one of the ACEs is already assigned to an ACL.
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