Package org.pentaho.di.repository
Interface IUser
-
- All Known Implementing Classes:
UserInfo
public interface IUserRepository User object- Author:
- rmansoor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StringgetDescription()Get the user's descriptionStringgetLogin()Get the login for a the userStringgetName()The name of the user maps to the login idorg.pentaho.di.repository.ObjectIdgetObjectId()Get the object idStringgetPassword()Get the password for the userStringgetUsername()Get the user name for the userdefault BooleanisAdmin()Check if the user is admin or notbooleanisEnabled()Check if the user is enabled or notdefault voidsetAdmin(Boolean admin)Make the user admin or notvoidsetDescription(String description)Set the description of the uservoidsetEnabled(boolean enabled)Make the user enabled or disabledvoidsetLogin(String login)Set the login for the uservoidsetName(String name)Set 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 Detail
-
setLogin
void setLogin(String login)
Set the login for the user- Parameters:
login-
-
getLogin
String getLogin()
Get the login for a the user- Returns:
- user login
-
setPassword
void setPassword(String password)
Set the password for the- Parameters:
password-
-
getPassword
String getPassword()
Get the password for the user- Returns:
- user password
-
setUsername
void setUsername(String username)
Set the user name for the user- Parameters:
username-
-
getUsername
String getUsername()
Get the user name for the user- Returns:
- user name
-
setDescription
void setDescription(String description)
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
void setName(String name)
Set the name of the user.- Parameters:
name- The name of the user maps to the login id.
-
isAdmin
default Boolean isAdmin()
Check if the user is admin or not- Returns:
- admin
-
setAdmin
default void setAdmin(Boolean admin)
Make the user admin or not- Parameters:
admin-
-
-