Class PentahoRole

  • All Implemented Interfaces:
    Serializable, org.pentaho.platform.api.engine.security.userroledao.IPentahoRole

    public class PentahoRole
    extends Object
    implements org.pentaho.platform.api.engine.security.userroledao.IPentahoRole
    A role in the Pentaho platform. A role is also known as an authority.
    Author:
    mlowery
    See Also:
    PentahoUser, Serialized Form
    • Constructor Detail

      • PentahoRole

        protected PentahoRole()
      • PentahoRole

        public PentahoRole​(String name)
      • PentahoRole

        public PentahoRole​(String name,
                           String description)
      • PentahoRole

        public PentahoRole​(org.pentaho.platform.api.mt.ITenant tenant,
                           String name,
                           String description)
      • PentahoRole

        public PentahoRole​(org.pentaho.platform.api.engine.security.userroledao.IPentahoRole roleToCopy)
        Copy constructor
    • Method Detail

      • getName

        public String getName()
        Specified by:
        getName in interface org.pentaho.platform.api.engine.security.userroledao.IPentahoRole
      • getDescription

        public String getDescription()
        Specified by:
        getDescription in interface org.pentaho.platform.api.engine.security.userroledao.IPentahoRole
      • setDescription

        public void setDescription​(String description)
        Specified by:
        setDescription in interface org.pentaho.platform.api.engine.security.userroledao.IPentahoRole
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getTenant

        public org.pentaho.platform.api.mt.ITenant getTenant()
        Specified by:
        getTenant in interface org.pentaho.platform.api.engine.security.userroledao.IPentahoRole