public interface AclDao extends BambooObjectDao
Modifier and Type | Interface and Description |
---|---|
static class |
AclDao.ObjectIdentityDto
Container class used for keeping cache elements at map.
|
Modifier and Type | Method and Description |
---|---|
List<org.acegisecurity.acls.AccessControlEntry> |
findAcesForSid(org.acegisecurity.acls.sid.Sid sid)
For a given
Sid find the AccessControlEntry s which applies to the Sid |
org.acegisecurity.acls.MutableAcl |
findAcl(long objectId)
Deprecated.
since 6.2 use
findAcls(ObjectIdentity) |
List<org.acegisecurity.acls.objectidentity.ObjectIdentity> |
findAclObjectWithParent(org.acegisecurity.acls.objectidentity.ObjectIdentity objectIdentity)
Find a list of Acls whose parent is the given object identity
|
Map<org.acegisecurity.acls.objectidentity.ObjectIdentity,org.acegisecurity.acls.MutableAcl> |
findAcls(org.acegisecurity.acls.objectidentity.ObjectIdentity objectIdentity)
|
List<org.acegisecurity.acls.OwnershipAcl> |
findAclsOwnedBySid(org.acegisecurity.acls.sid.Sid sid)
For a given
Sid find the Acl s which is owned by Sid |
@NotNull Map<org.acegisecurity.acls.objectidentity.ObjectIdentity,org.acegisecurity.acls.MutableAcl> |
findAllAcls()
Find all acls.
|
boolean |
hasAcesForSid(org.acegisecurity.acls.sid.Sid sid)
Check if given
Sid has any AccessControlEntry s. |
void |
remove(org.acegisecurity.acls.Acl acl) |
void |
removeForIdentity(org.acegisecurity.acls.objectidentity.ObjectIdentity objectIdentity)
Remove acls for an object identity.
|
void |
save(org.acegisecurity.acls.Acl acl) |
findById
List<org.acegisecurity.acls.objectidentity.ObjectIdentity> findAclObjectWithParent(org.acegisecurity.acls.objectidentity.ObjectIdentity objectIdentity)
objectIdentity
- List
of ObjectIdentity
sMap<org.acegisecurity.acls.objectidentity.ObjectIdentity,org.acegisecurity.acls.MutableAcl> findAcls(org.acegisecurity.acls.objectidentity.ObjectIdentity objectIdentity)
objectIdentity
- Map
of ObjectIdentity
to Acl
void save(org.acegisecurity.acls.Acl acl)
void remove(org.acegisecurity.acls.Acl acl)
void removeForIdentity(org.acegisecurity.acls.objectidentity.ObjectIdentity objectIdentity)
List<org.acegisecurity.acls.AccessControlEntry> findAcesForSid(org.acegisecurity.acls.sid.Sid sid)
Sid
find the AccessControlEntry
s which applies to the Sid
sid
- boolean hasAcesForSid(org.acegisecurity.acls.sid.Sid sid)
Sid
has any AccessControlEntry
s.sid
- List<org.acegisecurity.acls.OwnershipAcl> findAclsOwnedBySid(org.acegisecurity.acls.sid.Sid sid)
Sid
find the Acl
s which is owned by Sid
sid
- @NotNull @NotNull Map<org.acegisecurity.acls.objectidentity.ObjectIdentity,org.acegisecurity.acls.MutableAcl> findAllAcls()
@Deprecated org.acegisecurity.acls.MutableAcl findAcl(long objectId)
findAcls(ObjectIdentity)
objectId
- Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.