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:
  • Constructor Details

    • User

      public User()
      Constructor of the User object
  • Method Details

    • 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
    • getGroups

      public List<Group> getGroups()
      Groups the user is member of
      Returns:
      the groups
    • 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
    • toString

      public String toString()
      Overrides:
      toString in class Object