|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MutableAclService
Provides support for creating and storing Acl instances.
| Method Summary | |
|---|---|
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. |
| Methods inherited from interface org.springframework.security.acls.model.AclService |
|---|
findChildren, readAclById, readAclById, readAclsById, readAclsById |
| Method Detail |
|---|
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 create
AlreadyExistsException - if the passed object identity already has a record
void deleteAcl(ObjectIdentity objectIdentity,
boolean deleteChildren)
throws ChildrenExistException
objectIdentity - the object identity to removedeleteChildren - whether to cascade the delete to children
ChildrenExistException - if the deleteChildren argument was false but children exist
MutableAcl updateAcl(MutableAcl acl)
throws NotFoundException
Acl in the database.
acl - to modify
NotFoundException - 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?)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||