Interface AclServiceDelegate

All Known Implementing Classes:
HibernateMutableAclServiceImpl

@Internal public interface AclServiceDelegate
  • 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.
    org.acegisecurity.acls.MutableAcl
    createAcl(org.acegisecurity.acls.objectidentity.ObjectIdentity objectIdentity)
     
    void
    deleteAcesForSid(org.acegisecurity.acls.sid.Sid sid)
    Deleted all access control entries associated with a given security identity.
    void
    deleteAcl(org.acegisecurity.acls.objectidentity.ObjectIdentity objectIdentity, boolean deleteChildren)
     
    org.acegisecurity.acls.objectidentity.ObjectIdentity[]
    findChildren(org.acegisecurity.acls.objectidentity.ObjectIdentity parentIdentity)
     
    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.
    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.
    org.acegisecurity.acls.MutableAcl
    updateAcl(org.acegisecurity.acls.MutableAcl acl)
     
    void
    updateAclAces(org.acegisecurity.acls.MutableAcl acl, List<String> newPermissionKeys)
     
  • Method Details

    • 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 -
    • 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:
    • findChildren

      org.acegisecurity.acls.objectidentity.ObjectIdentity[] findChildren(org.acegisecurity.acls.objectidentity.ObjectIdentity parentIdentity)
    • createAcl

      org.acegisecurity.acls.MutableAcl createAcl(org.acegisecurity.acls.objectidentity.ObjectIdentity objectIdentity) throws org.acegisecurity.acls.AlreadyExistsException
      Throws:
      org.acegisecurity.acls.AlreadyExistsException
    • deleteAcl

      void deleteAcl(org.acegisecurity.acls.objectidentity.ObjectIdentity objectIdentity, boolean deleteChildren) throws org.acegisecurity.acls.ChildrenExistException
      Throws:
      org.acegisecurity.acls.ChildrenExistException
    • updateAcl

      org.acegisecurity.acls.MutableAcl updateAcl(org.acegisecurity.acls.MutableAcl acl) throws org.acegisecurity.acls.NotFoundException
      Throws:
      org.acegisecurity.acls.NotFoundException
    • updateAclAces

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