public interface HibernateMutableAclService
extends org.acegisecurity.acls.MutableAclService
MutableAclService
with more operators.Modifier and Type | Method and Description |
---|---|
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 |
getAclOfGlobalPermission()
Read acl for the global permission object
|
BambooCacheStats |
getCacheStats() |
boolean |
hasAcesForSid(org.acegisecurity.acls.sid.Sid sid)
Check if given
Sid has any AccessControlEntry s. |
org.acegisecurity.acls.MutableAcl |
readMutableAclById(long objectId)
Read acl for given domain object id
|
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,
List<String> newPermissionKeys) |
void updateAclAces(org.acegisecurity.acls.MutableAcl acl, List<String> newPermissionKeys)
void deleteAllAcls()
org.acegisecurity.acls.MutableAcl readMutableAclById(org.acegisecurity.acls.objectidentity.ObjectIdentity objectId)
AclService.readAclById(ObjectIdentity)
except it returns only a single MutableAcl.objectId
- org.acegisecurity.acls.NotFoundException
- if no acl has been foundvoid deleteAcesForSid(org.acegisecurity.acls.sid.Sid sid)
sid
- boolean hasAcesForSid(org.acegisecurity.acls.sid.Sid sid)
Sid
has any AccessControlEntry
s.sid
- void changeAlcOwnerForSid(org.acegisecurity.acls.sid.Sid oldOwner, org.acegisecurity.acls.sid.Sid newOwner)
oldOwner
to newOwner
.oldOwner
- newOwner
- BambooCacheStats getCacheStats()
org.acegisecurity.acls.MutableAcl readMutableAclById(long objectId)
objectId
- org.acegisecurity.acls.NotFoundException
- if no acl has been foundorg.acegisecurity.acls.MutableAcl getAclOfGlobalPermission()
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.