| 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)
IUserpublic String getLogin()
IUserpublic void setPassword(String password)
IUsersetPassword in interface IUserpublic String getPassword()
IUsergetPassword in interface IUserpublic void setUsername(String username)
IUsersetUsername in interface IUserpublic String getUsername()
IUsergetUsername in interface IUserpublic void setDescription(String description)
IUsersetDescription in interface IUserpublic String getDescription()
IUsergetDescription in interface IUserpublic void setEnabled()
public void setDisabled()
public void setEnabled(boolean enabled)
IUsersetEnabled in interface IUserpublic ObjectId getObjectId()
IUsergetObjectId in interface IUserpublic void setObjectId(ObjectId id)
IUsersetObjectId in interface IUserpublic boolean isEnabled()
IUserpublic RepositoryDirectory getRepositoryDirectory()
public void setRepositoryDirectory(RepositoryDirectory repositoryDirectory)
public String getRepositoryElementType()
public String getName()
public void setName(String name)
public Boolean isAdmin()
IUserCopyright © 2018 Hitachi Vantara. All rights reserved.