Interface MutableAclService

    • Method Detail

      • createAcl

        MutableAcl createAcl​(ObjectIdentity objectIdentity)
                      throws AlreadyExistsException
        Creates an empty Acl object in the database. It will have no entries. The returned object will then be used to add entries.
        Parameters:
        objectIdentity - the object identity to create
        Returns:
        an ACL object with its ID set
        Throws:
        AlreadyExistsException - if the passed object identity already has a record
      • deleteAcl

        void deleteAcl​(ObjectIdentity objectIdentity,
                       boolean deleteChildren)
                throws ChildrenExistException
        Removes the specified entry from the database.
        Parameters:
        objectIdentity - the object identity to remove
        deleteChildren - whether to cascade the delete to children
        Throws:
        ChildrenExistException - if the deleteChildren argument was false but children exist