public interface IUser
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
|
String |
getUsername()
Get the user name for the user
|
default Boolean |
isAdmin()
Check if the user is admin or not
|
boolean |
isEnabled()
Check if the user is enabled or not
|
default void |
setAdmin(Boolean admin)
Make the user admin or not
|
void |
setDescription(String description)
Set the description of the user
|
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 |
setUsername(String username)
Set the user name for the user
|
void setLogin(String login)
login
- String getLogin()
void setPassword(String password)
password
- String getPassword()
void setUsername(String username)
username
- String getUsername()
void setDescription(String description)
description
- String getDescription()
void setEnabled(boolean enabled)
enabled
- boolean isEnabled()
ObjectId getObjectId()
void setObjectId(ObjectId id)
object
- idString getName()
void setName(String name)
name
- The name of the user maps to the login id.default Boolean isAdmin()
default void setAdmin(Boolean admin)
admin
- Copyright © 2018 Hitachi Vantara. All rights reserved.