Interface AclDao
- All Superinterfaces:
BambooObjectDao
,bucket.core.persistence.ObjectDao
- All Known Implementing Classes:
AclHibernateDao
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
Container class used for keeping cache elements at map. -
Method Summary
Modifier and TypeMethodDescriptionList<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.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> 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
Methods inherited from interface bucket.core.persistence.ObjectDao
findAll, findAllSorted, getPersistentClass, refresh, remove, replicate, save, saveRaw
-
Method Details
-
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
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
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.since 6.2 usefindAcls(ObjectIdentity)
Find acl for given domain object id- Parameters:
objectId
-
-
findAcls(ObjectIdentity)