Package org.pentaho.di.repository
Class UserInfo
- java.lang.Object
-
- org.pentaho.di.repository.UserInfo
-
-
Field Summary
Fields Modifier and Type Field Description static String
REPOSITORY_ELEMENT_TYPE
-
Method Summary
All Methods Instance Methods Concrete 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 userorg.pentaho.di.repository.RepositoryDirectory
getRepositoryDirectory()
Not used in this case, simply return root /String
getRepositoryElementType()
String
getUsername()
Get the user name for the userBoolean
isAdmin()
Check if the user is admin or notboolean
isEnabled()
Check if the user is enabled or notvoid
setAdmin(Boolean admin)
Make the user admin or notvoid
setDescription(String description)
Set the description of the uservoid
setDisabled()
void
setEnabled()
void
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
setRepositoryDirectory(org.pentaho.di.repository.RepositoryDirectory repositoryDirectory)
void
setUsername(String username)
Set the user name for the user
-
-
-
Field Detail
-
REPOSITORY_ELEMENT_TYPE
public static final String REPOSITORY_ELEMENT_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
setLogin
public void setLogin(String login)
Description copied from interface:IUser
Set the login for the user
-
getLogin
public String getLogin()
Description copied from interface:IUser
Get the login for a the user
-
setPassword
public void setPassword(String password)
Description copied from interface:IUser
Set the password for the- Specified by:
setPassword
in interfaceIUser
-
getPassword
public String getPassword()
Description copied from interface:IUser
Get the password for the user- Specified by:
getPassword
in interfaceIUser
- Returns:
- user password
-
setUsername
public void setUsername(String username)
Description copied from interface:IUser
Set the user name for the user- Specified by:
setUsername
in interfaceIUser
-
getUsername
public String getUsername()
Description copied from interface:IUser
Get the user name for the user- Specified by:
getUsername
in interfaceIUser
- Returns:
- user name
-
setDescription
public void setDescription(String description)
Description copied from interface:IUser
Set the description of the user- Specified by:
setDescription
in interfaceIUser
-
getDescription
public String 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
public String getRepositoryElementType()
-
getName
public String getName()
The name of the user maps to the login id
-
setName
public void setName(String name)
Set the name of the user.
-
isAdmin
public Boolean isAdmin()
Description copied from interface:IUser
Check if the user is admin or not
-
-