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

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      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.
      void deleteAllAcls()
      Deprecated.
      since 6.2 planned for removal without replacement
      org.acegisecurity.acls.MutableAcl getAclOfGlobalPermission()
      Read acl for the global permission object
      BambooCacheStats getCacheStats()  
      boolean hasAcesForSid​(org.acegisecurity.acls.sid.Sid sid)
      Check if given Sid has any AccessControlEntrys.
      void initialiseCache()
      Warm up the cache.
      void invalidateCache()  
      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 Detail

      • updateAclAces

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

        @Deprecated
        void deleteAllAcls()
        Deprecated.
        since 6.2 planned for removal without replacement
        Deletes all ACLs and permissions from the system... Do this *only* if you know what you're doing!
      • 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 -
      • 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