@Named(value="user") @RequestScoped public class UserController extends Object
| Constructor and Description |
|---|
UserController() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAddress()
Gets the address
|
Date |
getBirthdate()
Gets the birth date
|
String |
getCountry()
Gets the country
|
String |
getEmail()
Gets the mail
|
String |
getFacebook()
Gets the facebook profile
|
String |
getInstagram()
Gets the instagram profile
|
String |
getLastname()
Gets the last name
|
String |
getLocation()
Gets the location
|
String |
getLogin()
Gets the login
|
String |
getName()
Gets the name
|
String |
getNumberID()
Gets the numberID
|
String |
getPassword()
Gets the password
|
String |
getPhoneNumber()
Gets the phone number
|
int |
getPostalCode()
Gets the postal code
|
String |
getProvince()
Gets the province
|
String |
getTwitter()
Get the twitter profile
|
String |
getViewId()
Gets the id of the view
|
String |
save()
Save the profile of the user
|
void |
setAddress(String address)
Sets the address
|
void |
setBirthdate(Date birthdate)
Sets the birth date
|
void |
setCountry(String country)
Sets the country
|
void |
setEmail(String email)
Sets the mail
|
void |
setFacebook(String facebook)
Set the facebook profile
|
void |
setInstagram(String instagram)
Sets the instagram profile
|
void |
setLastname(String lastname)
Sets the last name
|
void |
setLocation(String location)
Sets the location
|
void |
setName(String name)
Sets the name
|
void |
setNumberID(String numberID)
Sets the numberID
|
void |
setPassword(String password)
Sets the password
|
void |
setPhoneNumber(String phoneNumber)
Sets the phone number
|
void |
setPostalCode(int postalCode)
Sets the postal code
|
void |
setProvince(String province)
Sets the province
|
void |
setTwitter(String twitter)
Sets the twitter profile
|
public String getLogin()
public String getPassword()
public void setPassword(String password)
password - The new passwordpublic String getEmail()
public void setEmail(String email)
email - The new mailpublic String getName()
public void setName(String name)
name - The namepublic String getLastname()
public void setLastname(String lastname)
lastname - The last namepublic Date getBirthdate()
public void setBirthdate(Date birthdate)
birthdate - The new birth datepublic String getNumberID()
public void setNumberID(String numberID)
numberID - The new numberIDpublic String getCountry()
public void setCountry(String country)
country - The new countrypublic String getProvince()
public void setProvince(String province)
province - The new provincepublic String getLocation()
public void setLocation(String location)
location - The new locationpublic String getAddress()
public void setAddress(String address)
address - The new addresspublic int getPostalCode()
public void setPostalCode(int postalCode)
postalCode - The new postal codepublic String getPhoneNumber()
public void setPhoneNumber(String phoneNumber)
phoneNumber - The new phone numberpublic String getFacebook()
public void setFacebook(String facebook)
facebook - The new facebook profilepublic String getTwitter()
public void setTwitter(String twitter)
twitter - The new twitter profilepublic String getInstagram()
public void setInstagram(String instagram)
instagram - The new instagram profilepublic String save() throws javax.mail.internet.AddressException
javax.mail.internet.AddressExceptionpublic String getViewId()
Copyright © 2017. All rights reserved.