Class AclEntity

    • Constructor Detail

      • AclEntity

        public AclEntity()
        Default constructor
    • Method Detail

      • setId

        public void setId​(Long id)
      • getVersion

        public Long getVersion()
      • setVersion

        public void setVersion​(Long version)
      • incrementVersion

        public void incrementVersion()
      • setAclId

        public void setAclId​(String aclId)
      • setLatest

        public void setLatest​(boolean latest)
      • setAclVersion

        public void setAclVersion​(Long aclVersion)
      • setInherits

        public void setInherits​(boolean inherits)
      • getInheritsFrom

        public 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​(Long inheritsFrom)
      • getType

        public Integer getType()
      • setType

        public void setType​(Integer type)
      • getInheritedAcl

        public 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​(Long inheritedAcl)
      • isVersioned

        public 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)
      • setRequiresVersion

        public void setRequiresVersion​(boolean requiresVersion)
      • setAclChangeSetId

        public void setAclChangeSetId​(Long aclChangeSet)
      • setAclType

        public void setAclType​(ACLType type)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object