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 protectedPentahoRole()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 booleanequals(Object obj)StringgetDescription()StringgetName()org.pentaho.platform.api.mt.ITenantgetTenant()inthashCode()voidsetDescription(String description)StringtoString()
-
-
-
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:
getNamein interfaceorg.pentaho.platform.api.engine.security.userroledao.IPentahoRole
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceorg.pentaho.platform.api.engine.security.userroledao.IPentahoRole
-
setDescription
public void setDescription(String description)
- Specified by:
setDescriptionin interfaceorg.pentaho.platform.api.engine.security.userroledao.IPentahoRole
-
getTenant
public org.pentaho.platform.api.mt.ITenant getTenant()
- Specified by:
getTenantin interfaceorg.pentaho.platform.api.engine.security.userroledao.IPentahoRole
-
-