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 Summary
ModifierConstructorDescriptionprotected
PentahoRole
(String name) PentahoRole
(String name, String description) PentahoRole
(org.pentaho.platform.api.engine.security.userroledao.IPentahoRole roleToCopy) Copy constructorPentahoRole
(org.pentaho.platform.api.mt.ITenant tenant, String name, String description) -
Method Summary
-
Constructor Details
-
PentahoRole
protected PentahoRole() -
PentahoRole
-
PentahoRole
-
PentahoRole
-
PentahoRole
public PentahoRole(org.pentaho.platform.api.engine.security.userroledao.IPentahoRole roleToCopy) Copy constructor
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceorg.pentaho.platform.api.engine.security.userroledao.IPentahoRole
-
getDescription
- Specified by:
getDescription
in interfaceorg.pentaho.platform.api.engine.security.userroledao.IPentahoRole
-
setDescription
- Specified by:
setDescription
in interfaceorg.pentaho.platform.api.engine.security.userroledao.IPentahoRole
-
equals
-
hashCode
public int hashCode() -
toString
-
getTenant
public org.pentaho.platform.api.mt.ITenant getTenant()- Specified by:
getTenant
in interfaceorg.pentaho.platform.api.engine.security.userroledao.IPentahoRole
-