Interface MutableAcl

  • All Superinterfaces:
    Acl, java.io.Serializable
    All Known Subinterfaces:
    AuditableAcl, OwnershipAcl
    All Known Implementing Classes:
    AclImpl

    public interface MutableAcl
    extends Acl
    A mutable Acl.

    A mutable ACL must ensure that appropriate security checks are performed before allowing access to its methods.

    • Method Detail

      • getId

        java.io.Serializable getId()
        Obtains an identifier that represents this MutableAcl.
        Returns:
        the identifier, or null if unsaved
      • setOwner

        void setOwner​(Sid newOwner)
        Changes the present owner to a different owner.
        Parameters:
        newOwner - the new owner (mandatory; cannot be null)
      • setEntriesInheriting

        void setEntriesInheriting​(boolean entriesInheriting)
        Change the value returned by Acl.isEntriesInheriting().
        Parameters:
        entriesInheriting - the new value
      • setParent

        void setParent​(Acl newParent)
        Changes the parent of this ACL.
        Parameters:
        newParent - the new parent