Class User
- java.lang.Object
-
- com.gentics.contentnode.rest.model.User
-
- All Implemented Interfaces:
Serializable
public class User extends Object implements Serializable
User object, representing a SystemUser in GCN- Author:
- norbert
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description User()
Constructor of the User object
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDescription()
DescriptionString
getEmail()
eMail AdressString
getFirstName()
FirstnameList<Group>
getGroups()
Groups the user is member ofInteger
getId()
User IDString
getLastName()
LastnameString
getLogin()
Login nameString
getPassword()
Return the plaintext password.User
setDescription(String description)
Set descriptionUser
setEmail(String email)
Set emailUser
setFirstName(String firstName)
Set firstnameUser
setGroups(List<Group> groups)
Set groupsUser
setId(Integer id)
Set IDUser
setLastName(String lastName)
Set lastnameUser
setLogin(String login)
Set loginUser
setPassword(String password)
Set the plaintext user password.String
toString()
-
-
-
Method Detail
-
getId
public Integer getId()
User ID- Returns:
- the identifier
-
getFirstName
public String getFirstName()
Firstname- Returns:
- the firstName
-
getLastName
public String getLastName()
Lastname- Returns:
- the lastName
-
getDescription
public String getDescription()
Description- Returns:
- the description
-
getEmail
public String getEmail()
eMail Adress- Returns:
- the email
-
setId
public User setId(Integer id)
Set ID- Parameters:
identifier
- the identifier to set- Returns:
- fluent API
-
setFirstName
public User setFirstName(String firstName)
Set firstname- Parameters:
firstName
- the firstName to set- Returns:
- fluent API
-
setLastName
public User setLastName(String lastName)
Set lastname- Parameters:
lastName
- the lastName to set- Returns:
- fluent API
-
setDescription
public User setDescription(String description)
Set description- Parameters:
description
- the description to set- Returns:
- fluent API
-
setEmail
public User setEmail(String email)
Set email- Parameters:
email
- the email to set- Returns:
- fluent API
-
setGroups
public User setGroups(List<Group> groups)
Set groups- Parameters:
groups
- the groups to set- Returns:
- fluent API
-
getLogin
public String getLogin()
Login name- Returns:
- the login
-
setLogin
public User setLogin(String login)
Set login- Parameters:
login
- the login to set- Returns:
- fluent API
-
getPassword
public String getPassword()
Return the plaintext password.- Returns:
-
setPassword
public User setPassword(String password)
Set the plaintext user password.- Parameters:
password
-- Returns:
- fluent API
-
-