|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.bryansaunders.jee6divelog.bean.RegistrationBean
@Named(value="regBean") @RequestScoped @FieldMatch.List(value=@FieldMatch(first="password",second="confirmationPassword",message="{regBean.fieldMatch.password}")) public class RegistrationBean
Backing Bean for Registration Page. Name: regBean, Scope: Request
Field Summary | |
---|---|
static java.lang.String |
FAILURE
Failure String. |
static java.lang.String |
SUCCESS
Success String. |
Constructor Summary | |
---|---|
RegistrationBean()
Default Constructor. |
Method Summary | |
---|---|
protected UserAccount |
createUser()
Creates a User Object from this RegistrationBean. |
java.lang.String |
getCity()
Gets the City. |
java.lang.String |
getConfirmationPassword()
Gets the Confirmation Password. |
java.lang.String |
getCountry()
Gets the Country. |
java.lang.String |
getEmail()
Gets the Email. |
java.lang.String |
getFirstName()
Gets the First Name. |
java.lang.String |
getLastName()
Gets the Last Name. |
java.lang.String |
getPassword()
Gets the Password. |
java.lang.String |
getState()
Gets the State. |
void |
setCity(java.lang.String newCity)
Sets the City. |
void |
setConfirmationPassword(java.lang.String newConfirmationPassword)
Sets the Password. |
void |
setCountry(java.lang.String newCountry)
Sets the Country. |
void |
setEmail(java.lang.String newEmail)
Sets the Email. |
void |
setFirstName(java.lang.String newFirstName)
Sets the First Name. |
void |
setLastName(java.lang.String newLastName)
Sets the Last Name. |
void |
setPassword(java.lang.String newPassword)
Sets the Password. |
void |
setState(java.lang.String newState)
Sets the State. |
void |
setUserService(UserAccountService newUserService)
Set the userService. |
java.lang.String |
submitRegistration()
Submits the Registration. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String SUCCESS
public static final java.lang.String FAILURE
Constructor Detail |
---|
public RegistrationBean()
Method Detail |
---|
public java.lang.String submitRegistration()
protected UserAccount createUser()
public java.lang.String getFirstName()
public void setFirstName(java.lang.String newFirstName)
newFirstName
- the firstName to setpublic java.lang.String getLastName()
public void setLastName(java.lang.String newLastName)
newLastName
- the lastName to setpublic java.lang.String getCountry()
public void setCountry(java.lang.String newCountry)
newCountry
- the country to setpublic java.lang.String getCity()
public void setCity(java.lang.String newCity)
newCity
- the city to setpublic java.lang.String getState()
public void setState(java.lang.String newState)
newState
- the state to setpublic java.lang.String getEmail()
public void setEmail(java.lang.String newEmail)
newEmail
- the email to setpublic java.lang.String getPassword()
public void setPassword(java.lang.String newPassword)
newPassword
- the password to setpublic java.lang.String getConfirmationPassword()
public void setConfirmationPassword(java.lang.String newConfirmationPassword)
newConfirmationPassword
- the confirmationPassword to setpublic void setUserService(UserAccountService newUserService)
newUserService
- the userService to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |