Class Permission


  • @Entity
    public class Permission
    extends AuditableModel
    This object stores the permissions.
    • Constructor Detail

      • Permission

        public Permission()
      • Permission

        public Permission​(String name)
    • Method Detail

      • setId

        public void setId​(Long id)
        Specified by:
        setId in class Model
      • getName

        public String getName()
        An unique permission name.
        Returns:
        the property value
      • setName

        public void setName​(String name)
      • getObject

        public String getObject()
        Fully qualified object name or wild card package name.
        Returns:
        the property value
      • setObject

        public void setObject​(String object)
      • getCanRead

        public Boolean getCanRead()
        Whether to grant read access.
        Returns:
        the property value
      • setCanRead

        public void setCanRead​(Boolean canRead)
      • getCanWrite

        public Boolean getCanWrite()
        Whether to grant write access.
        Returns:
        the property value
      • setCanWrite

        public void setCanWrite​(Boolean canWrite)
      • getCanCreate

        public Boolean getCanCreate()
        Whether to grant create access.
        Returns:
        the property value
      • setCanCreate

        public void setCanCreate​(Boolean canCreate)
      • getCanRemove

        public Boolean getCanRemove()
        Whether to grant remove access.
        Returns:
        the property value
      • setCanRemove

        public void setCanRemove​(Boolean canRemove)
      • getCanExport

        public Boolean getCanExport()
        Whether to grant export access.
        Returns:
        the property value
      • setCanExport

        public void setCanExport​(Boolean canExport)
      • getCondition

        public String getCondition()
        Domain filter as condition.
        Returns:
        the property value
      • setCondition

        public void setCondition​(String condition)
      • getConditionParams

        public String getConditionParams()
        Comma separated list of params for the condition.
        Returns:
        the property value
      • setConditionParams

        public void setConditionParams​(String conditionParams)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object