Package org.pentaho.di.repository
Interface IUser
- All Known Implementing Classes:
UserInfo
public interface IUser
Repository User object
- Author:
- rmansoor
-
Method Summary
Modifier and TypeMethodDescriptionGet the user's descriptiongetLogin()
Get the login for a the usergetName()
The name of the user maps to the login idorg.pentaho.di.repository.ObjectId
Get the object idGet the password for the userGet the user name for the userdefault Boolean
isAdmin()
Check if the user is admin or notboolean
Check if the user is enabled or notdefault void
Make the user admin or notvoid
setDescription
(String description) Set the description of the uservoid
setEnabled
(boolean enabled) Make the user enabled or disabledvoid
Set the login for the uservoid
Set the name of the user.void
setObjectId
(org.pentaho.di.repository.ObjectId id) Set the object id of this uservoid
setPassword
(String password) Set the password for thevoid
setUsername
(String username) Set the user name for the user
-
Method Details
-
setLogin
Set the login for the user- Parameters:
login
-
-
getLogin
String getLogin()Get the login for a the user- Returns:
- user login
-
setPassword
Set the password for the- Parameters:
password
-
-
getPassword
String getPassword()Get the password for the user- Returns:
- user password
-
setUsername
Set the user name for the user- Parameters:
username
-
-
getUsername
String getUsername()Get the user name for the user- Returns:
- user name
-
setDescription
Set the description of the user- Parameters:
description
-
-
getDescription
String getDescription()Get the user's description- Returns:
- user description
-
setEnabled
void setEnabled(boolean enabled) Make the user enabled or disabled- Parameters:
enabled
-
-
isEnabled
boolean isEnabled()Check if the user is enabled or not- Returns:
- the enabled
-
getObjectId
org.pentaho.di.repository.ObjectId getObjectId()Get the object id- Returns:
- Object Id
-
setObjectId
void setObjectId(org.pentaho.di.repository.ObjectId id) Set the object id of this user- Parameters:
object
- id
-
getName
String getName()The name of the user maps to the login id- Returns:
- name
-
setName
Set the name of the user.- Parameters:
name
- The name of the user maps to the login id.
-
isAdmin
Check if the user is admin or not- Returns:
- admin
-
setAdmin
Make the user admin or not- Parameters:
admin
-
-