Package org.pentaho.di.repository
Interface IUser
-
- All Known Implementing Classes:
UserInfo
public interface IUser
Repository User object- Author:
- rmansoor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description String
getDescription()
Get the user's descriptionString
getLogin()
Get the login for a the userString
getName()
The name of the user maps to the login idorg.pentaho.di.repository.ObjectId
getObjectId()
Get the object idString
getPassword()
Get the password for the userString
getUsername()
Get the user name for the userdefault Boolean
isAdmin()
Check if the user is admin or notboolean
isEnabled()
Check if the user is enabled or notdefault void
setAdmin(Boolean admin)
Make the user admin or notvoid
setDescription(String description)
Set the description of the uservoid
setEnabled(boolean enabled)
Make the user enabled or disabledvoid
setLogin(String login)
Set the login for the uservoid
setName(String name)
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 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
-
-
-