com.atlassian.bamboo.security.acegi.acls
Interface AclDao

All Superinterfaces:
BambooObjectDao, bucket.core.persistence.ObjectDao
All Known Implementing Classes:
AclHibernateDao

public interface AclDao
extends BambooObjectDao


Method Summary
 java.util.List<org.acegisecurity.acls.AccessControlEntry> findAcesForSid(org.acegisecurity.acls.sid.Sid sid)
          For a given Sid find the AccessControlEntrys which applies to the Sid
 org.acegisecurity.acls.MutableAcl findAcl(long objectId)
          Find acl for given domain object id
 java.util.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
 java.util.Map<org.acegisecurity.acls.objectidentity.ObjectIdentity,org.acegisecurity.acls.MutableAcl> findAcls(org.acegisecurity.acls.objectidentity.ObjectIdentity[] objectIdentity)
          Find a Map of ObjectIdentity to Acl mappings given an array of ObjectIdentitys
 java.util.List<org.acegisecurity.acls.OwnershipAcl> findAclsOwnedBySid(org.acegisecurity.acls.sid.Sid sid)
          For a given Sid find the Acls which is owned by Sid
 void remove(org.acegisecurity.acls.Acl acl)
           
 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 Detail

findAclObjectWithParent

java.util.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 of ObjectIdentitys

findAcls

java.util.Map<org.acegisecurity.acls.objectidentity.ObjectIdentity,org.acegisecurity.acls.MutableAcl> findAcls(org.acegisecurity.acls.objectidentity.ObjectIdentity[] objectIdentity)
Find a Map of ObjectIdentity to Acl mappings given an array of ObjectIdentitys

Parameters:
objectIdentity -
Returns:
Map of ObjectIdentity to Acl

save

void save(org.acegisecurity.acls.Acl acl)

remove

void remove(org.acegisecurity.acls.Acl acl)

findAcesForSid

java.util.List<org.acegisecurity.acls.AccessControlEntry> findAcesForSid(org.acegisecurity.acls.sid.Sid sid)
For a given Sid find the AccessControlEntrys which applies to the Sid

Parameters:
sid -
Returns:

findAclsOwnedBySid

java.util.List<org.acegisecurity.acls.OwnershipAcl> findAclsOwnedBySid(org.acegisecurity.acls.sid.Sid sid)
For a given Sid find the Acls which is owned by Sid

Parameters:
sid -
Returns:

findAcl

org.acegisecurity.acls.MutableAcl findAcl(long objectId)
Find acl for given domain object id

Parameters:
objectId -
Returns:


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.