Class PentahoRole

java.lang.Object
org.pentaho.platform.security.userroledao.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:
  • Constructor Details

    • 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 Details

    • 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
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString 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