Interface AclDao
-
- All Superinterfaces:
BambooObjectDao
,bucket.core.persistence.ObjectDao
- All Known Implementing Classes:
AclHibernateDao
public interface AclDao extends BambooObjectDao
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
AclDao.ObjectIdentityDto
Container class used for keeping cache elements at map.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description List<org.acegisecurity.acls.AccessControlEntry>
findAcesForSid(org.acegisecurity.acls.sid.Sid sid)
For a givenSid
find theAccessControlEntry
s which applies to theSid
org.acegisecurity.acls.MutableAcl
findAcl(long objectId)
Deprecated.since 6.2 usefindAcls(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 identityMap<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 givenSid
find theAcl
s which is owned bySid
@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 givenSid
has anyAccessControlEntry
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)
-
Methods inherited from interface com.atlassian.bamboo.persistence.BambooObjectDao
findById
-
-
-
-
Method Detail
-
findAclObjectWithParent
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- Parameters:
objectIdentity
-- Returns:
List
ofObjectIdentity
s
-
findAcls
Map<org.acegisecurity.acls.objectidentity.ObjectIdentity,org.acegisecurity.acls.MutableAcl> findAcls(org.acegisecurity.acls.objectidentity.ObjectIdentity objectIdentity)
- Parameters:
objectIdentity
-- Returns:
Map
ofObjectIdentity
toAcl
-
save
void save(org.acegisecurity.acls.Acl acl)
-
remove
void remove(org.acegisecurity.acls.Acl acl)
-
removeForIdentity
void removeForIdentity(org.acegisecurity.acls.objectidentity.ObjectIdentity objectIdentity)
Remove acls for an object identity.- Since:
- 9.0
-
findAcesForSid
List<org.acegisecurity.acls.AccessControlEntry> findAcesForSid(org.acegisecurity.acls.sid.Sid sid)
For a givenSid
find theAccessControlEntry
s which applies to theSid
- Parameters:
sid
-- Returns:
-
hasAcesForSid
boolean hasAcesForSid(org.acegisecurity.acls.sid.Sid sid)
Check if givenSid
has anyAccessControlEntry
s.- Parameters:
sid
-- Returns:
- true if sid has aces.
-
findAclsOwnedBySid
List<org.acegisecurity.acls.OwnershipAcl> findAclsOwnedBySid(org.acegisecurity.acls.sid.Sid sid)
For a givenSid
find theAcl
s which is owned bySid
- Parameters:
sid
-
-
findAllAcls
@NotNull @NotNull Map<org.acegisecurity.acls.objectidentity.ObjectIdentity,org.acegisecurity.acls.MutableAcl> findAllAcls()
Find all acls.- Since:
- 9.0
-
findAcl
@Deprecated org.acegisecurity.acls.MutableAcl findAcl(long objectId)
Deprecated.since 6.2 usefindAcls(ObjectIdentity)
Find acl for given domain object id- Parameters:
objectId
-
-
-