public interface IResourceAclManager4Tx extends IResourceAclManager
IResourceAclManager4Tx
extends an
IResourceAclManagerRaw
by a createAcl()
method,
which allows an ACL to be created with a given list of entries and
owners. Modifier and Type | Method and Description |
---|---|
IResourceAcl |
createAcl(IResource resource,
IResourceAclEntryList entries,
IUMPrincipalList owners)
Deprecated.
As of NetWeaver 7.1 replaced by
createAcl(IResource, IResourceAclEntryList, List) |
IResourceAcl |
createAcl(IResource resource,
IResourceAclEntryList entries,
List owners)
create a new ACL for a resource - initial owner is the user in the resource
context - inherited ACEs are added - if the resource inherits an ACL the
user must be an owner - fails, if the resource already has an ACL assigned
|
addSupportedPermission, areAclsUpToDate, areNegativeAclEntriesSupported, assignForeignAcl, createAcl, createAclEntry, createAclEntry, createPermission, getAcl, getDBVersion, getInheritedAcl, getObjectType, getPermission, getSupportedObjectTypes, getSupportedPermissions, isPermissionUsedInAcl, isReadOnly, propagateAcl_Remove, removeAcl, removeAcl, removePermission, removeSupportedPermission
IResourceAcl createAcl(IResource resource, IResourceAclEntryList entries, IUMPrincipalList owners) throws AclPersistenceException, NotAuthorizedException, AclExistsException, InvalidClassException, PermissionNotSupportedException, ResourceException
createAcl(IResource, IResourceAclEntryList, List)
resource
- the resource to set the ACL for.entries
- the list of ACEs for this ACL.owners
- the list of IUMPrincipal
s which become the
owners of this ACL.AclPersistenceException
- a problem occured within the storage
where the ACLs are persisted.NotAuthorizedException
- the user in the resource context is not
an owner of an inherited ACL or not a system user allowed to change
ACLs.InvalidClassException
- if at least on of the given entries
is not supported (is from another manager).PermissionNotSupportedException
- if at least on of the given
entries contains a permission which is not supported by the manager.AclExistsException
- an ACL already exists for the resource.ResourceException
- the resource RID could not be determined.IResourceAcl createAcl(IResource resource, IResourceAclEntryList entries, List owners) throws AclPersistenceException, NotAuthorizedException, AclExistsException, InvalidClassException, PermissionNotSupportedException, ResourceException
resource
- the resource to set the ACL for.entries
- the list of ACEs for this ACL.owners
- the list of objects of type IPrincipal
which become the
owners of this ACL.AclPersistenceException
- a problem occured within the storage
where the ACLs are persisted.NotAuthorizedException
- the user in the resource context is not
an owner of an inherited ACL or not a system user allowed to change
ACLs.InvalidClassException
- if at least on of the given entries
is not supported (is from another manager).PermissionNotSupportedException
- if at least on of the given
entries contains a permission which is not supported by the manager.AclExistsException
- an ACL already exists for the resource.ResourceException
- the resource RID could not be determined.Access Rights |
---|
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 2018 SAP AG Complete Copyright Notice