com.atlassian.bamboo.security.acegi.acls
Interface HibernateMutableAclService

All Superinterfaces:
org.acegisecurity.acls.AclService, org.acegisecurity.acls.MutableAclService
All Known Implementing Classes:
HibernateMutableAclServiceImpl

public interface HibernateMutableAclService
extends org.acegisecurity.acls.MutableAclService

An extended MutableAclService with more operators.


Method Summary
 void changeAlcOwnerForSid(org.acegisecurity.acls.sid.Sid oldOwner, org.acegisecurity.acls.sid.Sid newOwner)
          Change the ownership of all Acls owned by oldOwner to newOwner.
 void deleteAcesForSid(org.acegisecurity.acls.sid.Sid sid)
          Deleted all access control entries associated with a given security identity.
 void deleteAllAcls()
          Deletes all ACLs and permissions from the system...
 org.acegisecurity.acls.MutableAcl readMutableAclById(org.acegisecurity.acls.objectidentity.ObjectIdentity objectId)
          Same as AclService.readAclById(ObjectIdentity) except it returns only a single MutableAcl.
 void updateAclAces(org.acegisecurity.acls.MutableAcl acl, java.util.List<java.lang.String> newPermissionKeys)
           
 
Methods inherited from interface org.acegisecurity.acls.MutableAclService
createAcl, deleteAcl, updateAcl
 
Methods inherited from interface org.acegisecurity.acls.AclService
findChildren, readAclById, readAclById, readAclsById, readAclsById
 

Method Detail

updateAclAces

void updateAclAces(org.acegisecurity.acls.MutableAcl acl,
                   java.util.List<java.lang.String> newPermissionKeys)

deleteAllAcls

void deleteAllAcls()
Deletes all ACLs and permissions from the system... Do this *only* if you know what you're doing!


readMutableAclById

org.acegisecurity.acls.MutableAcl readMutableAclById(org.acegisecurity.acls.objectidentity.ObjectIdentity objectId)
Same as AclService.readAclById(ObjectIdentity) except it returns only a single MutableAcl.

Parameters:
objectId -
Returns:

deleteAcesForSid

void deleteAcesForSid(org.acegisecurity.acls.sid.Sid sid)
Deleted all access control entries associated with a given security identity.

Parameters:
sid -

changeAlcOwnerForSid

void changeAlcOwnerForSid(org.acegisecurity.acls.sid.Sid oldOwner,
                          org.acegisecurity.acls.sid.Sid newOwner)
Change the ownership of all Acls owned by oldOwner to newOwner.

Parameters:
sid -
newOwner -


Copyright © 2011 Atlassian. All Rights Reserved.