public class RegisterUserController extends Object
| Constructor and Description |
|---|
RegisterUserController() |
| Modifier and Type | Method and Description |
|---|---|
String |
doRegister()
Register a user.
|
String |
getEmail()
Getter method of email variable.
|
String |
getErrorMessage()
Getter method of errorMessage global variable.
|
String |
getLogin()
Getter method of login variable.
|
String |
getPassword()
Getter method of password variable.
|
String |
getRepassword()
Getter method of repassword global variable.
|
boolean |
isError()
Getter method of error global variable.
|
void |
setEmail(String email)
Setter method of email variable.
|
void |
setLogin(String login)
Setter method of login variable.
|
void |
setPassword(String password)
Setter method of password variable.
|
void |
setRepassword(String repassword)
Setter method of repassword variable.
|
public String doRegister()
@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.Copyright © 2015. All rights reserved.