public interface MutableAclService extends AclService
Acl
instances.Modifier and Type | Method and Description |
---|---|
MutableAcl |
createAcl(ObjectIdentity objectIdentity)
Creates an empty
Acl object in the database. |
void |
deleteAcl(ObjectIdentity objectIdentity,
boolean deleteChildren)
Removes the specified entry from the database.
|
MutableAcl |
updateAcl(MutableAcl acl)
Changes an existing
Acl in the database. |
findChildren, readAclById, readAclById, readAclsById, readAclsById
MutableAcl createAcl(ObjectIdentity objectIdentity) throws AlreadyExistsException
Acl
object in the database. It will have no entries. The returned object
will then be used to add entries.objectIdentity
- the object identity to createAlreadyExistsException
- if the passed object identity already has a recordvoid deleteAcl(ObjectIdentity objectIdentity, boolean deleteChildren) throws ChildrenExistException
objectIdentity
- the object identity to removedeleteChildren
- whether to cascade the delete to childrenChildrenExistException
- if the deleteChildren argument was false
but children existMutableAcl updateAcl(MutableAcl acl) throws NotFoundException
Acl
in the database.acl
- to modifyNotFoundException
- if the relevant record could not be found (did you remember to use createAcl(ObjectIdentity)
to create the object, rather than creating it with the new
keyword?)