com.gentics.contentnode.rest.model
Class User

java.lang.Object
  extended by 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
User()
          Constructor of the User object
 
Method Summary
 String getDescription()
          Description
 String getEmail()
          eMail Adress
 String getFirstName()
          Firstname
 List<Group> getGroups()
          Groups the user is member of
 Integer getId()
          User ID
 String getLastName()
          Lastname
 String getLogin()
          Login name
 void setDescription(String description)
           
 void setEmail(String email)
           
 void setFirstName(String firstName)
           
 void setGroups(List<Group> groups)
           
 void setId(Integer id)
           
 void setLastName(String lastName)
           
 void setLogin(String login)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

User

public User()
Constructor of the User object

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 void setId(Integer id)
Parameters:
identifier - the identifier to set

setFirstName

public void setFirstName(String firstName)
Parameters:
firstName - the firstName to set

setLastName

public void setLastName(String lastName)
Parameters:
lastName - the lastName to set

setDescription

public void setDescription(String description)
Parameters:
description - the description to set

setEmail

public void setEmail(String email)
Parameters:
email - the email to set

getGroups

public List<Group> getGroups()
Groups the user is member of

Returns:
the groups

setGroups

public void setGroups(List<Group> groups)
Parameters:
groups - the groups to set

getLogin

public String getLogin()
Login name

Returns:
the login

setLogin

public void setLogin(String login)
Parameters:
login - the login to set


Copyright © 2014 Gentics Software GmbH. All Rights Reserved.