|
|||||||||
| Home >> All >> com >> RuntimeCollective >> webapps >> [ form overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.RuntimeCollective.webapps.form
Class RegisterForm

java.lang.Objectorg.apache.struts.action.ActionForm
com.RuntimeCollective.webapps.form.RegisterForm
- All Implemented Interfaces:
- java.io.Serializable
- public class RegisterForm
- extends org.apache.struts.action.ActionForm
Takes user details for registering/logging on a SimpleUser.
- Version:
- $Id: RegisterForm.java,v 1.8 2003/10/13 15:42:43 fabrice Exp $
| Field Summary | |
protected java.lang.String |
companyName
The user's company name |
protected java.lang.String |
country
The user's country |
protected java.lang.String |
email
User's email address |
protected java.lang.String |
firstName
The user's first name |
protected java.lang.String |
formAction
What action the form is being used for. |
protected java.lang.String |
lastName
The user's last name |
protected java.lang.String |
loginName
The user's login name |
protected java.lang.String |
password
The user's password |
protected java.lang.String |
phone
The user's phone number |
protected java.lang.String |
postcode
The user's postcode |
protected java.lang.String |
retypePassword
The retyped password |
protected boolean |
sendNewsletter
Whether to subscribe the user to the newsletter |
protected boolean |
setCookie
Whether the user wants persistent login, via cookies |
protected java.lang.String |
streetNumber
The user's street number |
| Fields inherited from class org.apache.struts.action.ActionForm |
multipartRequestHandler, servlet |
| Constructor Summary | |
RegisterForm()
|
|
| Method Summary | |
java.lang.String |
getCompanyName()
Get the user's company name |
java.lang.String |
getCountry()
Get the user's country |
java.lang.String |
getEmail()
Get user's email address |
java.lang.String |
getFirstName()
Get the user's first name |
java.lang.String |
getFormAction()
Get what action the form is being used for. |
java.lang.String |
getLastName()
Get the user's last name |
java.lang.String |
getLoginName()
Get the user's login name |
java.lang.String |
getPassword()
Get the user's password |
java.lang.String |
getPhone()
Get the user's phone number |
java.lang.String |
getPostcode()
Get the user's postcode |
java.lang.String |
getRetypePassword()
Get the retyped password |
boolean |
getSendNewsletter()
Get whether to subscribe the user to the enewsletter |
boolean |
getSetCookie()
Get whether the user wants persistent login, via cookies |
java.lang.String |
getStreetNumber()
Get the user's streetNumber |
void |
reset(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
Reset all properties to their default values. |
void |
setCompanyName(java.lang.String companyName)
Set the user's company name |
void |
setCountry(java.lang.String country)
Set the user's country |
void |
setEmail(java.lang.String email)
Set user's email address |
void |
setFirstName(java.lang.String firstName)
Set the user's first name |
void |
setFormAction(java.lang.String formAction)
Set what action the form is being used for. |
void |
setLastName(java.lang.String lastName)
Set the user's last name |
void |
setLoginName(java.lang.String loginName)
Set the user's login name |
void |
setPassword(java.lang.String password)
Set the user's password |
void |
setPhone(java.lang.String phone)
Set the user's phone number |
void |
setPostcode(java.lang.String postcode)
Set the user's postcode |
void |
setRetypePassword(java.lang.String retypePassword)
Set the retyped password |
void |
setSendNewsletter(boolean sendNewsletter)
Set whether to subscribe the user to the enewsletter |
void |
setSetCookie(boolean setCookie)
Set whether the user wants persistent login, via cookies |
void |
setStreetNumber(java.lang.String streetNumber)
Set the user's streetNumber |
org.apache.struts.action.ActionErrors |
validate(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
Validate logon field entries. |
| Methods inherited from class org.apache.struts.action.ActionForm |
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
formAction
protected java.lang.String formAction
- What action the form is being used for. Should be "login", "register", or "emailPassword".
loginName
protected java.lang.String loginName
- The user's login name
password
protected java.lang.String password
- The user's password
retypePassword
protected java.lang.String retypePassword
- The retyped password
setCookie
protected boolean setCookie
- Whether the user wants persistent login, via cookies
protected java.lang.String email
- User's email address
firstName
protected java.lang.String firstName
- The user's first name
lastName
protected java.lang.String lastName
- The user's last name
companyName
protected java.lang.String companyName
- The user's company name
phone
protected java.lang.String phone
- The user's phone number
postcode
protected java.lang.String postcode
- The user's postcode
streetNumber
protected java.lang.String streetNumber
- The user's street number
country
protected java.lang.String country
- The user's country
sendNewsletter
protected boolean sendNewsletter
- Whether to subscribe the user to the newsletter
| Constructor Detail |
RegisterForm
public RegisterForm()
| Method Detail |
getFormAction
public java.lang.String getFormAction()
- Get what action the form is being used for. Should be "login" or "register", or "emailPassword".
setFormAction
public void setFormAction(java.lang.String formAction)
- Set what action the form is being used for. Should be "login" or "register", or "emailPassword".
getLoginName
public java.lang.String getLoginName()
- Get the user's login name
setLoginName
public void setLoginName(java.lang.String loginName)
- Set the user's login name
getPassword
public java.lang.String getPassword()
- Get the user's password
setPassword
public void setPassword(java.lang.String password)
- Set the user's password
getRetypePassword
public java.lang.String getRetypePassword()
- Get the retyped password
setRetypePassword
public void setRetypePassword(java.lang.String retypePassword)
- Set the retyped password
getSetCookie
public boolean getSetCookie()
- Get whether the user wants persistent login, via cookies
setSetCookie
public void setSetCookie(boolean setCookie)
- Set whether the user wants persistent login, via cookies
getEmail
public java.lang.String getEmail()
- Get user's email address
setEmail
public void setEmail(java.lang.String email)
- Set user's email address
getFirstName
public java.lang.String getFirstName()
- Get the user's first name
setFirstName
public void setFirstName(java.lang.String firstName)
- Set the user's first name
getLastName
public java.lang.String getLastName()
- Get the user's last name
setLastName
public void setLastName(java.lang.String lastName)
- Set the user's last name
getCompanyName
public java.lang.String getCompanyName()
- Get the user's company name
setCompanyName
public void setCompanyName(java.lang.String companyName)
- Set the user's company name
getPhone
public java.lang.String getPhone()
- Get the user's phone number
setPhone
public void setPhone(java.lang.String phone)
- Set the user's phone number
getPostcode
public java.lang.String getPostcode()
- Get the user's postcode
setPostcode
public void setPostcode(java.lang.String postcode)
- Set the user's postcode
getStreetNumber
public java.lang.String getStreetNumber()
- Get the user's streetNumber
setStreetNumber
public void setStreetNumber(java.lang.String streetNumber)
- Set the user's streetNumber
getCountry
public java.lang.String getCountry()
- Get the user's country
setCountry
public void setCountry(java.lang.String country)
- Set the user's country
getSendNewsletter
public boolean getSendNewsletter()
- Get whether to subscribe the user to the enewsletter
setSendNewsletter
public void setSendNewsletter(boolean sendNewsletter)
- Set whether to subscribe the user to the enewsletter
reset
public void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
- Reset all properties to their default values.
validate
public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
- Validate logon field entries.
When registering, this will make sure the phone number starts with (0).
|
|||||||||
| Home >> All >> com >> RuntimeCollective >> webapps >> [ form overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC