@Named(value="registerPageBean") @RequestScoped public class RegisterPageBean extends Object implements Serializable
| Constructor and Description |
|---|
RegisterPageBean() |
| Modifier and Type | Method and Description |
|---|---|
String |
cancelEditing()
Makes an internal call to clear() method
|
String |
getEmail() |
int |
getId() |
String |
getLogin() |
String |
getName() |
String |
getPassword() |
boolean |
isActive() |
void |
setActive(boolean active) |
void |
setEmail(String email) |
void |
setId(int id) |
void |
setLogin(String login) |
void |
setName(String name) |
void |
setPassword(String password) |
String |
store()
Persists on the database a new user got by JSF using the service layer.
|
public int getId()
public void setId(int id)
public String getLogin()
public void setLogin(String login)
public String getPassword()
public void setPassword(String password)
public String getName()
public void setName(String name)
public String getEmail()
public void setEmail(String email)
public boolean isActive()
public void setActive(boolean active)
public String store() throws IOException
IOException - Exception thrown when the redirect failspublic String cancelEditing()
Copyright © 2016. All rights reserved.