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
Modifier and TypeMethodDescriptionvoidchangeAlcOwnerForSid(org.acegisecurity.acls.sid.Sid oldOwner, org.acegisecurity.acls.sid.Sid newOwner) Change the ownership of all Acls owned byoldOwnertonewOwner.voiddeleteAcesForSid(org.acegisecurity.acls.sid.Sid sid) Deleted all access control entries associated with a given security identity.org.acegisecurity.acls.MutableAclRead acl for the global permission objectbooleanhasAcesForSid(org.acegisecurity.acls.sid.Sid sid) Check if givenSidhas anyAccessControlEntrys.voidWarm up the cache.voidorg.acegisecurity.acls.MutableAclreadMutableAclById(long objectId) Deprecated.org.acegisecurity.acls.MutableAclreadMutableAclById(org.acegisecurity.acls.objectidentity.ObjectIdentity objectId) Same asAclService.readAclById(ObjectIdentity)except it returns only a single MutableAcl.voidupdateAclAces(org.acegisecurity.acls.MutableAcl acl, List<String> newPermissionKeys) Methods inherited from interface org.acegisecurity.acls.AclService
findChildren, readAclById, readAclById, readAclsById, readAclsByIdMethods inherited from interface org.acegisecurity.acls.MutableAclService
createAcl, deleteAcl, updateAcl
-
Method Details
-
updateAclAces
-
readMutableAclById
org.acegisecurity.acls.MutableAcl readMutableAclById(org.acegisecurity.acls.objectidentity.ObjectIdentity objectId) Same asAclService.readAclById(ObjectIdentity)except it returns only a single MutableAcl.- Parameters:
objectId-- Returns:
- Throws:
org.acegisecurity.acls.NotFoundException- if no acl has been found
-
deleteAcesForSid
void deleteAcesForSid(org.acegisecurity.acls.sid.Sid sid) Deleted all access control entries associated with a given security identity.- Parameters:
sid-
-
hasAcesForSid
boolean hasAcesForSid(org.acegisecurity.acls.sid.Sid sid) Check if givenSidhas anyAccessControlEntrys.- Parameters:
sid-- Returns:
- true if sid has aces.
-
changeAlcOwnerForSid
void changeAlcOwnerForSid(org.acegisecurity.acls.sid.Sid oldOwner, org.acegisecurity.acls.sid.Sid newOwner) Change the ownership of all Acls owned byoldOwnertonewOwner.- Parameters:
oldOwner-newOwner-
-
getCacheStats
BambooCacheStats getCacheStats() -
invalidateCache
void invalidateCache() -
readMutableAclById
Deprecated.since 6.2 usereadMutableAclById(ObjectIdentity)Read acl for given domain object id- Parameters:
objectId-- Returns:
- Throws:
org.acegisecurity.acls.NotFoundException- if no acl has been found
-
getAclOfGlobalPermission
org.acegisecurity.acls.MutableAcl getAclOfGlobalPermission()Read acl for the global permission object- Returns:
-
initialiseCache
void initialiseCache()Warm up the cache.- Since:
- 9.0
-
readMutableAclById(ObjectIdentity)