Class AclEntity

    • Constructor Detail

      • AclEntity

        public AclEntity()
        Default constructor
    • Method Detail

      • setId

        public void setId​(java.lang.Long id)
      • getVersion

        public java.lang.Long getVersion()
      • setVersion

        public void setVersion​(java.lang.Long version)
      • incrementVersion

        public void incrementVersion()
      • setAclId

        public void setAclId​(java.lang.String aclId)
      • isLatest

        public java.lang.Boolean isLatest()
        Description copied from interface: Acl
        Is this the latest version of the acl identified by the acl id string?
        Specified by:
        isLatest in interface AccessControlListProperties
        Specified by:
        isLatest in interface Acl
        Returns:
        Boolean
      • setLatest

        public void setLatest​(boolean latest)
      • setAclVersion

        public void setAclVersion​(java.lang.Long aclVersion)
      • getInherits

        public java.lang.Boolean getInherits()
        Description copied from interface: Acl
        Get inheritance behaviour
        Specified by:
        getInherits in interface AccessControlListProperties
        Specified by:
        getInherits in interface Acl
        Returns:
        Returns the inheritance status of this list
      • setInherits

        public void setInherits​(boolean inherits)
      • getInheritsFrom

        public java.lang.Long getInheritsFrom()
        Description copied from interface: Acl
        Get the ACL from which this one inherits
        Specified by:
        getInheritsFrom in interface Acl
        Returns:
        Long
      • setInheritsFrom

        public void setInheritsFrom​(java.lang.Long inheritsFrom)
      • getType

        public java.lang.Integer getType()
      • setType

        public void setType​(java.lang.Integer type)
      • getInheritedAcl

        public java.lang.Long getInheritedAcl()
        Description copied from interface: Acl
        Get the ACL inherited from nodes which have this ACL
        Specified by:
        getInheritedAcl in interface Acl
        Returns:
        Long
      • setInheritedAcl

        public void setInheritedAcl​(java.lang.Long inheritedAcl)
      • isVersioned

        public java.lang.Boolean isVersioned()
        Description copied from interface: Acl
        Is this ACL versioned - if not there will be no old versions of the ACL and the long id will remain unchanged. If an acl is versioned it can not be updated - a new copy has to be created,
        Specified by:
        isVersioned in interface AccessControlListProperties
        Specified by:
        isVersioned in interface Acl
        Returns:
        Boolean
      • setVersioned

        public void setVersioned​(boolean isVersioned)
      • getRequiresVersion

        public java.lang.Boolean getRequiresVersion()
        Specified by:
        getRequiresVersion in interface Acl
      • setRequiresVersion

        public void setRequiresVersion​(boolean requiresVersion)
      • setAclChangeSetId

        public void setAclChangeSetId​(java.lang.Long aclChangeSet)
      • setAclType

        public void setAclType​(ACLType type)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object