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.


Method Summary
 IAcl createAcl(IPrincipal caller, String aclID, IObjectType objectType, IAclEntryList entries, List owners)
          create a new ACL for the given list of ACEs and owners.
 IAcl createAcl(com.sapportals.portal.security.usermanagement.IUMPrincipal caller, String aclID, IObjectType objectType, IAclEntryList entries, IUMPrincipalList owners)
          Deprecated. As of NetWeaver 7.1, replaced by createAcl(com.sap.security.api.IPrincipal,String,IObjectType,IAclEntryList,List)
 
Methods inherited from interface com.sapportals.wcm.util.acl.IAclManager
addSupportedPermission, areAclsUpToDate, changeAclID, changeAclID, changeMultipleAclIDs, checkPermissions, checkPermissions, createAcl, createAcl, createAclEntry, createAclEntry, createPermission, deletePrincipal, getAcl, getAcls, getAffectedAclIDs, getCacheArea, getDBVersion, getPermission, getSupportedObjectTypes, getSupportedPermissions, isPermissionUsedInAcl, isReadOnly, removeAcl, removeAcl, removeAcl, removeAcl, removeMultipleAcls, removePermission, removeSupportedPermission, updatePrincipal
 

Method Detail

createAcl

IAcl createAcl(com.sapportals.portal.security.usermanagement.IUMPrincipal caller,
               String aclID,
               IObjectType objectType,
               IAclEntryList entries,
               IUMPrincipalList owners)
               throws AclPersistenceException,
                      AclExistsException,
                      InvalidClassException,
                      PermissionNotSupportedException
Deprecated. As of NetWeaver 7.1, replaced by createAcl(com.sap.security.api.IPrincipal,String,IObjectType,IAclEntryList,List)

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.

createAcl

IAcl createAcl(IPrincipal caller,
               String aclID,
               IObjectType objectType,
               IAclEntryList entries,
               List 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.
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