org.pentaho.platform.engine.security.userroledao
Interface IPentahoUser

All Superinterfaces:
Serializable
All Known Implementing Classes:
PentahoUser

public interface IPentahoUser
extends Serializable

A user of the Pentaho platform. Contains a set of roles for which this user is a member.

Author:
mlowery

Method Summary
 boolean addRole(IPentahoRole role)
           
 void clearRoles()
           
 String getDescription()
           
 String getPassword()
           
 Set<IPentahoRole> getRoles()
           
 String getUsername()
           
 boolean isEnabled()
           
 boolean removeRole(IPentahoRole role)
           
 void setDescription(String description)
           
 void setEnabled(boolean enabled)
           
 void setPassword(String password)
           
 void setRoles(Set<IPentahoRole> roles)
           
 

Method Detail

getUsername

String getUsername()

getRoles

Set<IPentahoRole> getRoles()

setRoles

void setRoles(Set<IPentahoRole> roles)

addRole

boolean addRole(IPentahoRole role)
Returns:
Same meaning as Set.add return value.

removeRole

boolean removeRole(IPentahoRole role)
Returns:
Same meaning as Set.remove return value.

clearRoles

void clearRoles()

getPassword

String getPassword()

setPassword

void setPassword(String password)

isEnabled

boolean isEnabled()

setEnabled

void setEnabled(boolean enabled)

getDescription

String getDescription()

setDescription

void setDescription(String description)