Interface HibernateMutableAclService

All Superinterfaces:
org.acegisecurity.acls.AclService, org.acegisecurity.acls.MutableAclService
All Known Implementing Classes:
HibernateMutableAclServiceImpl

public interface HibernateMutableAclService extends org.acegisecurity.acls.MutableAclService
An extended MutableAclService with more operators.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changeAlcOwnerForSid(org.acegisecurity.acls.sid.Sid oldOwner, org.acegisecurity.acls.sid.Sid newOwner)
    Change the ownership of all Acls owned by oldOwner to newOwner.
    void
    deleteAcesForSid(org.acegisecurity.acls.sid.Sid sid)
    Deleted all access control entries associated with a given security identity.
    org.acegisecurity.acls.MutableAcl
    Read acl for the global permission object
     
    boolean
    hasAcesForSid(org.acegisecurity.acls.sid.Sid sid)
    Check if given Sid has any AccessControlEntrys.
    void
    Warm up the cache.
    void
     
    org.acegisecurity.acls.MutableAcl
    readMutableAclById(long objectId)
    Deprecated.
    org.acegisecurity.acls.MutableAcl
    readMutableAclById(org.acegisecurity.acls.objectidentity.ObjectIdentity objectId)
    Same as AclService.readAclById(ObjectIdentity) except it returns only a single MutableAcl.
    void
    updateAclAces(org.acegisecurity.acls.MutableAcl acl, List<String> newPermissionKeys)
     

    Methods inherited from interface org.acegisecurity.acls.AclService

    findChildren, readAclById, readAclById, readAclsById, readAclsById

    Methods inherited from interface org.acegisecurity.acls.MutableAclService

    createAcl, deleteAcl, updateAcl
  • Method Details

    • updateAclAces

      void updateAclAces(org.acegisecurity.acls.MutableAcl acl, List<String> newPermissionKeys)
    • readMutableAclById

      org.acegisecurity.acls.MutableAcl readMutableAclById(org.acegisecurity.acls.objectidentity.ObjectIdentity objectId)
      Same as AclService.readAclById(ObjectIdentity) except it returns only a single MutableAcl.
      Parameters:
      objectId -
      Returns:
      Throws:
      org.acegisecurity.acls.NotFoundException - if no acl has been found
    • deleteAcesForSid

      void deleteAcesForSid(org.acegisecurity.acls.sid.Sid sid)
      Deleted all access control entries associated with a given security identity.
      Parameters:
      sid -
    • hasAcesForSid

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

      void changeAlcOwnerForSid(org.acegisecurity.acls.sid.Sid oldOwner, org.acegisecurity.acls.sid.Sid newOwner)
      Change the ownership of all Acls owned by oldOwner to newOwner.
      Parameters:
      oldOwner -
      newOwner -
    • getCacheStats

      BambooCacheStats getCacheStats()
    • invalidateCache

      void invalidateCache()
    • readMutableAclById

      @Deprecated org.acegisecurity.acls.MutableAcl readMutableAclById(long objectId)
      Deprecated.
      Read acl for given domain object id
      Parameters:
      objectId -
      Returns:
      Throws:
      org.acegisecurity.acls.NotFoundException - if no acl has been found
    • getAclOfGlobalPermission

      org.acegisecurity.acls.MutableAcl getAclOfGlobalPermission()
      Read acl for the global permission object
      Returns:
    • initialiseCache

      void initialiseCache()
      Warm up the cache.
      Since:
      9.0