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(IPrincipal caller, IAclEntryList entries, List owners)
          (re)set the entries and owners of an ACL.
 boolean set(com.sapportals.portal.security.usermanagement.IUMPrincipal caller, IAclEntryList entries, IUMPrincipalList owners)
          Deprecated. As of NetWeaver 7.1, replaced by set(com.sap.security.api.IPrincipal,IAclEntryList,List)
 
Methods inherited from interface com.sapportals.wcm.util.acl.IAcl
addEntry, addEntry, checkPermission, checkPermission, getDescendantsWithAcl, getEntries, getEntries, getEntries, getLockingUser, getLockingUserUME, hasDescendantsWithAcl, isLocked, isReadOnly, isUpToDate, lock, lock, removeEntry, removeEntry, unlock, unlock
 
Methods inherited from interface com.sapportals.wcm.util.acl.IOwner
addOwner, addOwner, getOwners, getOwnersUME, isAuthorized, isAuthorized, isOwner, isOwner, removeOwner, removeOwner
 

Method Detail

set

boolean set(com.sapportals.portal.security.usermanagement.IUMPrincipal caller,
            IAclEntryList entries,
            IUMPrincipalList owners)
            throws AclPersistenceException,
                   InvalidClassException,
                   NotAuthorizedException,
                   AlreadyAssignedToAclException,
                   PermissionNotSupportedException
Deprecated. As of NetWeaver 7.1, replaced by set(com.sap.security.api.IPrincipal,IAclEntryList,List)

(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.

set

boolean set(IPrincipal caller,
            IAclEntryList entries,
            List 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 (which must be of type IPrincipal) 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.
Since:
NetWeaver 7.1
Access Rights

This class can be accessed from:


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 2014 SAP AG Complete Copyright Notice