public class RegisterUserController extends Object
| Constructor and Description |
|---|
RegisterUserController() |
| Modifier and Type | Method and Description |
|---|---|
void |
doRegister()
Register a user.
|
String |
getCompleteName()
Getter method of completeName global variable.
|
String |
getDescription()
Getter method of description global variable.
|
String |
getEmail()
Getter method of email variable.
|
String |
getErrorMessage()
Getter method of errorMessage global variable.
|
String |
getFbUrl()
Getter method of fbUrl global variable.
|
javax.servlet.http.Part |
getImage()
Getter method of image global variable.
|
String |
getLogin()
Getter method of login variable.
|
String |
getPassword()
Getter method of password variable.
|
String |
getPersonalUrl()
Getter method of personalUrl global variable.
|
String |
getPlace() |
List<javax.faces.model.SelectItem> |
getPlaces() |
String |
getRepassword()
Getter method of repassword global variable.
|
String |
getTwUrl()
Getter method of twUrl global variable.
|
void |
init() |
boolean |
isError()
Getter method of error global variable.
|
void |
setCompleteName(String completeName)
Setter method of completeName variable.
|
void |
setDescription(String description)
Setter method of description variable.
|
void |
setEmail(String email)
Setter method of email variable.
|
void |
setFbUrl(String fbUrl)
Setter method of fbUrl variable.
|
void |
setImage(javax.servlet.http.Part image)
Setter method of image variable.
|
void |
setLogin(String login)
Setter method of login variable.
|
void |
setPassword(String password)
Setter method of password variable.
|
void |
setPersonalUrl(String personalUrl)
Setter method of personalUrl variable.
|
void |
setPlace(String place) |
void |
setPlaces(List<javax.faces.model.SelectItem> places) |
void |
setRepassword(String repassword)
Setter method of repassword variable.
|
void |
setTwUrl(String twUrl)
Setter method of twUrl variable.
|
public List<javax.faces.model.SelectItem> getPlaces()
public void setPlaces(List<javax.faces.model.SelectItem> places)
@PostConstruct public void init()
public void doRegister()
throws IOException
IOException - if an input/output error occurspublic String getPlace()
public void setPlace(String place)
@Size(min=1,
max=20,
message="Login must be between 1 and 20 characters")
public String getLogin()
public void setLogin(String login)
login - login global variable.@Size(min=1,
max=100,
message="Email must be between 1 and 100 characters")
public String getEmail()
public void setEmail(String email)
email - email global variable.@Size(min=8,
max=32,
message="Password must have 8 characters or more")
public String getPassword()
public void setPassword(String password)
password - password global variable.public boolean isError()
public String getErrorMessage()
public String getRepassword()
public void setRepassword(String repassword)
repassword - repassword global variable.public javax.servlet.http.Part getImage()
public void setImage(javax.servlet.http.Part image)
image - image global variable.public String getCompleteName()
public void setCompleteName(String completeName)
completeName - completeName global variable.public String getDescription()
public void setDescription(String description)
description - description global variable.public String getFbUrl()
public void setFbUrl(String fbUrl)
fbUrl - fbUrl global variable.public String getTwUrl()
public void setTwUrl(String twUrl)
twUrl - twUrl global variable.public String getPersonalUrl()
public void setPersonalUrl(String personalUrl)
personalUrl - personalUrl global variable.Copyright © 2015. All rights reserved.