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.ObjectIdGet the object idGet the password for the userGet the user name for the userdefault BooleanisAdmin()Check if the user is admin or notbooleanCheck if the user is enabled or notdefault voidMake the user admin or notvoidsetDescription(String description) Set the description of the uservoidsetEnabled(boolean enabled) Make the user enabled or disabledvoidSet the login for the uservoidSet the name of the user.voidsetObjectId(org.pentaho.di.repository.ObjectId id) Set the object id of this uservoidsetPassword(String password) Set the password for thevoidsetUsername(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-
-