Class User
- java.lang.Object
-
- fr.paris.lutece.plugins.appointment.business.user.User
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
Appointment,AppointmentFilterDTO
public class User extends Object implements Serializable
Business class of the User- Author:
- Laurent Payen
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description User()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Appointment>getAppointments()Get the appointments of the UserStringgetEmail()Get the email of the UserStringgetFirstName()Get the first name of the UserStringgetGuid()Get the Guid of the UserintgetIdUser()Get the Id of the UserStringgetLastName()Get the last name of the UserStringgetPhoneNumber()Get the phone number of the UServoidsetAppointments(List<Appointment> listAppointments)Set the appointments of the UservoidsetEmail(String strEmail)Set the email of the UservoidsetFirstName(String strFirstName)Set the User first namevoidsetGuid(String strGuid)Set the GuidvoidsetIdUser(int nIdUser)Set the Id of the UservoidsetLastName(String strLastName)Set the last name of the UservoidsetPhoneNumber(String strPhoneNumber)Set the phone number of the User
-
-
-
Method Detail
-
getIdUser
public int getIdUser()
Get the Id of the User- Returns:
- the Id of the User
-
setIdUser
public void setIdUser(int nIdUser)
Set the Id of the User- Parameters:
nIdUser- the Id to set
-
getGuid
public String getGuid()
Get the Guid of the User- Returns:
- the Guid
-
setGuid
public void setGuid(String strGuid)
Set the Guid- Parameters:
strGuid- the Guid
-
getFirstName
public String getFirstName()
Get the first name of the User- Returns:
- the first name of the User
-
setFirstName
public void setFirstName(String strFirstName)
Set the User first name- Parameters:
strFirstName- the first name to set
-
getLastName
public String getLastName()
Get the last name of the User- Returns:
- the last name of the USer
-
setLastName
public void setLastName(String strLastName)
Set the last name of the User- Parameters:
strLastName- the last name to set
-
getEmail
public String getEmail()
Get the email of the User- Returns:
- the email of the User
-
setEmail
public void setEmail(String strEmail)
Set the email of the User- Parameters:
strEmail- the email to set
-
getPhoneNumber
public String getPhoneNumber()
Get the phone number of the USer- Returns:
- the phone number of the User
-
setPhoneNumber
public void setPhoneNumber(String strPhoneNumber)
Set the phone number of the User- Parameters:
strPhoneNumber- the phone number to set
-
getAppointments
public List<Appointment> getAppointments()
Get the appointments of the User- Returns:
- the list of the User appointments
-
setAppointments
public void setAppointments(List<Appointment> listAppointments)
Set the appointments of the User- Parameters:
listAppointments- the appointments to set
-
-