Package org.pentaho.di.repository
Class UserInfo
java.lang.Object
org.pentaho.di.repository.UserInfo
- All Implemented Interfaces:
IUser
-
Field Summary
-
Constructor Summary
-
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 userorg.pentaho.di.repository.RepositoryDirectory
Not used in this case, simply return root /Get the user name for the userisAdmin()
Check if the user is admin or notboolean
Check if the user is enabled or notvoid
Make the user admin or notvoid
setDescription
(String description) Set the description of the uservoid
void
void
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
setRepositoryDirectory
(org.pentaho.di.repository.RepositoryDirectory repositoryDirectory) void
setUsername
(String username) Set the user name for the user
-
Field Details
-
REPOSITORY_ELEMENT_TYPE
- See Also:
-
-
Constructor Details
-
UserInfo
copy constructor- Parameters:
copyFrom
-
-
UserInfo
-
UserInfo
-
UserInfo
public UserInfo()
-
-
Method Details
-
setLogin
Description copied from interface:IUser
Set the login for the user -
getLogin
Description copied from interface:IUser
Get the login for a the user -
setPassword
Description copied from interface:IUser
Set the password for the- Specified by:
setPassword
in interfaceIUser
-
getPassword
Description copied from interface:IUser
Get the password for the user- Specified by:
getPassword
in interfaceIUser
- Returns:
- user password
-
setUsername
Description copied from interface:IUser
Set the user name for the user- Specified by:
setUsername
in interfaceIUser
-
getUsername
Description copied from interface:IUser
Get the user name for the user- Specified by:
getUsername
in interfaceIUser
- Returns:
- user name
-
setDescription
Description copied from interface:IUser
Set the description of the user- Specified by:
setDescription
in interfaceIUser
-
getDescription
Description copied from interface:IUser
Get the user's description- Specified by:
getDescription
in interfaceIUser
- Returns:
- user description
-
setEnabled
public void setEnabled() -
setDisabled
public void setDisabled() -
setEnabled
public void setEnabled(boolean enabled) Description copied from interface:IUser
Make the user enabled or disabled- Specified by:
setEnabled
in interfaceIUser
-
getObjectId
public org.pentaho.di.repository.ObjectId getObjectId()Description copied from interface:IUser
Get the object id- Specified by:
getObjectId
in interfaceIUser
- Returns:
- Object Id
-
setObjectId
public void setObjectId(org.pentaho.di.repository.ObjectId id) Description copied from interface:IUser
Set the object id of this user- Specified by:
setObjectId
in interfaceIUser
-
isEnabled
public boolean isEnabled()Description copied from interface:IUser
Check if the user is enabled or not -
getRepositoryDirectory
public org.pentaho.di.repository.RepositoryDirectory getRepositoryDirectory()Not used in this case, simply return root / -
setRepositoryDirectory
public void setRepositoryDirectory(org.pentaho.di.repository.RepositoryDirectory repositoryDirectory) -
getRepositoryElementType
-
getName
The name of the user maps to the login id -
setName
Set the name of the user. -
isAdmin
Description copied from interface:IUser
Check if the user is admin or not -
setAdmin
Description copied from interface:IUser
Make the user admin or not
-