Modifier and Type | Field and Description |
---|---|
static String |
REPOSITORY_ELEMENT_TYPE |
Constructor and Description |
---|
UserInfo() |
UserInfo(IUser copyFrom)
copy constructor
|
UserInfo(String login) |
UserInfo(String login,
String password,
String username,
String description,
boolean enabled) |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Get the user's description
|
String |
getLogin()
Get the login for a the user
|
String |
getName()
The name of the user maps to the login id
|
ObjectId |
getObjectId()
Get the object id
|
String |
getPassword()
Get the password for the user
|
RepositoryDirectory |
getRepositoryDirectory()
Not used in this case, simply return root /
|
String |
getRepositoryElementType() |
String |
getUsername()
Get the user name for the user
|
Boolean |
isAdmin()
Check if the user is admin or not
|
boolean |
isEnabled()
Check if the user is enabled or not
|
void |
setAdmin(Boolean admin)
Make the user admin or not
|
void |
setDescription(String description)
Set the description of the user
|
void |
setDisabled() |
void |
setEnabled() |
void |
setEnabled(boolean enabled)
Make the user enabled or disabled
|
void |
setLogin(String login)
Set the login for the user
|
void |
setName(String name)
Set the name of the user.
|
void |
setObjectId(ObjectId id)
Set the object id of this user
|
void |
setPassword(String password)
Set the password for the
|
void |
setRepositoryDirectory(RepositoryDirectory repositoryDirectory) |
void |
setUsername(String username)
Set the user name for the user
|
public static final String REPOSITORY_ELEMENT_TYPE
public UserInfo(IUser copyFrom)
copyFrom
- public UserInfo(String login, String password, String username, String description, boolean enabled)
public UserInfo(String login)
public UserInfo()
public void setLogin(String login)
IUser
public String getLogin()
IUser
public void setPassword(String password)
IUser
setPassword
in interface IUser
public String getPassword()
IUser
getPassword
in interface IUser
public void setUsername(String username)
IUser
setUsername
in interface IUser
public String getUsername()
IUser
getUsername
in interface IUser
public void setDescription(String description)
IUser
setDescription
in interface IUser
public String getDescription()
IUser
getDescription
in interface IUser
public void setEnabled()
public void setDisabled()
public void setEnabled(boolean enabled)
IUser
setEnabled
in interface IUser
public ObjectId getObjectId()
IUser
getObjectId
in interface IUser
public void setObjectId(ObjectId id)
IUser
setObjectId
in interface IUser
public boolean isEnabled()
IUser
public RepositoryDirectory getRepositoryDirectory()
public void setRepositoryDirectory(RepositoryDirectory repositoryDirectory)
public String getRepositoryElementType()
public String getName()
public void setName(String name)
public Boolean isAdmin()
IUser
Copyright © 2020 Hitachi Vantara. All rights reserved.