Class AclOwner

  • All Implemented Interfaces:
    Identifiable, Principal, java.io.Serializable

    public class AclOwner
    extends AbstractIdentifiable
    implements Principal
    A data object that represents the owner ACL. For every RepositoryItem, there is one AclOwner entry that designates the owner permissions for that object. Note read and admin permissions cannot be taken away from the AclOwner.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      AclOwner​(java.lang.String principalId)
      AclOwner constructor.
    • Constructor Detail

      • AclOwner

        public AclOwner​(java.lang.String principalId)
        AclOwner constructor.
        Parameters:
        principalId - The pricipalId of the ACL owner.
    • Method Detail

      • getPrincipalName

        public java.lang.String getPrincipalName()
        Gets the principal name of the ACL owner.
        Specified by:
        getPrincipalName in interface Principal
        Returns:
        The principal name of the ACL owner.
      • getPrincipalId

        public java.lang.String getPrincipalId()
        Gets the principal identifier of the ACL owner.
        Specified by:
        getPrincipalId in interface Principal
        Returns:
        The principal identifier of the ACL owner.
      • equals

        public boolean equals​(java.lang.Object obj)
        Indicate whether another object is equal to this one.
        Specified by:
        equals in interface Principal
        Overrides:
        equals in class AbstractIdentifiable
        See Also:
        Object.equals(java.lang.Object)