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:
PentahoUser
, Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
PentahoRole()
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getDescription()
String
getName()
org.pentaho.platform.api.mt.ITenant
getTenant()
int
hashCode()
void
setDescription(String description)
String
toString()
-
-
-
Constructor Detail
-
PentahoRole
protected PentahoRole()
-
PentahoRole
public PentahoRole(String name)
-
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 interfaceorg.pentaho.platform.api.engine.security.userroledao.IPentahoRole
-
getDescription
public String getDescription()
- Specified by:
getDescription
in interfaceorg.pentaho.platform.api.engine.security.userroledao.IPentahoRole
-
setDescription
public void setDescription(String description)
- Specified by:
setDescription
in interfaceorg.pentaho.platform.api.engine.security.userroledao.IPentahoRole
-
getTenant
public org.pentaho.platform.api.mt.ITenant getTenant()
- Specified by:
getTenant
in interfaceorg.pentaho.platform.api.engine.security.userroledao.IPentahoRole
-
-