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 
    Container class used for keeping cache elements at map.
  • Method Summary

    Modifier and Type
    Method
    Description
    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)
    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 identity
    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 ObjectIdentitys
    List<org.acegisecurity.acls.OwnershipAcl>
    findAclsOwnedBySid(org.acegisecurity.acls.sid.Sid sid)
    For a given Sid find the Acls which is owned by Sid
    @NotNull Map<org.acegisecurity.acls.objectidentity.ObjectIdentity,org.acegisecurity.acls.MutableAcl>
    Find all acls.
    boolean
    hasAcesForSid(org.acegisecurity.acls.sid.Sid sid)
    Check if given Sid has any AccessControlEntrys.
    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 of ObjectIdentitys
    • findAcls

      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 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)
    • 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 given Sid find the AccessControlEntrys which applies to the Sid
      Parameters:
      sid -
      Returns:
    • hasAcesForSid

      boolean hasAcesForSid(org.acegisecurity.acls.sid.Sid sid)
      Check if given Sid has any AccessControlEntrys.
      Parameters:
      sid -
      Returns:
      true if sid has aces.
    • findAclsOwnedBySid

      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 -
    • 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.
      Find acl for given domain object id
      Parameters:
      objectId -