Class User
java.lang.Object
com.gentics.contentnode.rest.model.User
- All Implemented Interfaces:
Serializable
User object, representing a SystemUser in GCN
- Author:
- norbert
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionDescriptiongetEmail()
eMail AdressFirstnameGroups the user is member ofgetId()
User IDLastnamegetLogin()
Login nameReturn the plaintext password.setDescription
(String description) Set descriptionSet emailsetFirstName
(String firstName) Set firstnameSet groupsSet IDsetLastName
(String lastName) Set lastnameSet loginsetPassword
(String password) Set the plaintext user password.toString()
-
Constructor Details
-
User
public User()Constructor of the User object
-
-
Method Details
-
getId
User ID- Returns:
- the identifier
-
getFirstName
Firstname- Returns:
- the firstName
-
getLastName
Lastname- Returns:
- the lastName
-
getDescription
Description- Returns:
- the description
-
getEmail
eMail Adress- Returns:
- the email
-
setId
Set ID- Parameters:
identifier
- the identifier to set- Returns:
- fluent API
-
setFirstName
Set firstname- Parameters:
firstName
- the firstName to set- Returns:
- fluent API
-
setLastName
Set lastname- Parameters:
lastName
- the lastName to set- Returns:
- fluent API
-
setDescription
Set description- Parameters:
description
- the description to set- Returns:
- fluent API
-
setEmail
Set email- Parameters:
email
- the email to set- Returns:
- fluent API
-
getGroups
Groups the user is member of- Returns:
- the groups
-
setGroups
Set groups- Parameters:
groups
- the groups to set- Returns:
- fluent API
-
getLogin
Login name- Returns:
- the login
-
setLogin
Set login- Parameters:
login
- the login to set- Returns:
- fluent API
-
getPassword
Return the plaintext password.- Returns:
-
setPassword
Set the plaintext user password.- Parameters:
password
-- Returns:
- fluent API
-
toString
-