org.figure8.join.control.form
Class UserForm
java.lang.Object
org.apache.struts.action.ActionForm
org.figure8.join.control.JoinForm
org.figure8.join.control.form.UserForm
- All Implemented Interfaces:
- java.io.Serializable
public class UserForm
- extends JoinForm
Form object used for manipulating Users into Join application.
- Version:
- $Revision: 1.2 $
- Author:
- Laurent Broudoux
- See Also:
- Serialized Form
Fields inherited from class org.apache.struts.action.ActionForm |
multipartRequestHandler, servlet |
Constructor Summary |
UserForm()
Creates a new instance of UserForm |
Method Summary |
void |
doValidate(java.lang.String operation,
org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
Validation of the form attributes. |
java.lang.String |
getFirstname()
|
java.lang.String |
getLastname()
|
java.lang.String |
getLogin()
|
java.lang.String |
getMail()
|
java.lang.String |
getPassword()
|
java.lang.String |
getPassword2()
|
java.lang.String |
getPhone()
|
java.lang.String |
getTeam()
|
void |
reset(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
Reset form attributes. |
void |
setFirstname(java.lang.String firstname)
|
void |
setLastname(java.lang.String lastname)
|
void |
setLogin(java.lang.String login)
|
void |
setMail(java.lang.String mail)
|
void |
setPassword(java.lang.String password)
|
void |
setPassword2(java.lang.String cPassword)
|
void |
setPhone(java.lang.String phone)
|
void |
setTeam(java.lang.String team)
|
Methods inherited from class org.figure8.join.control.JoinForm |
addActionError, addActionError, addActionError, getGuiMessageResources, getId, getIdStr, getMessageResources, setId, setIdStr, validate, validateEntityObjectId |
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 |
UserForm
public UserForm()
- Creates a new instance of UserForm
getLogin
public java.lang.String getLogin()
- Returns:
- Login identifier of this user
setLogin
public void setLogin(java.lang.String login)
- Parameters:
login
- Login identifier of the current user
getPassword
public java.lang.String getPassword()
- Returns:
- Password for this user
setPassword
public void setPassword(java.lang.String password)
- Parameters:
password
- Password for the current user
getPassword2
public java.lang.String getPassword2()
- Returns:
- User password confirmation
setPassword2
public void setPassword2(java.lang.String cPassword)
- Parameters:
cPassword
- User password confirmation
getLastname
public java.lang.String getLastname()
- Returns:
- The current user lastname
setLastname
public void setLastname(java.lang.String lastname)
- Parameters:
lastname
- This user lastname
getFirstname
public java.lang.String getFirstname()
- Returns:
- This current user first name
setFirstname
public void setFirstname(java.lang.String firstname)
- Parameters:
firstname
- This user firstname
getMail
public java.lang.String getMail()
- Returns:
- This user mail address
setMail
public void setMail(java.lang.String mail)
- Parameters:
mail
- New mail address for this user
getPhone
public java.lang.String getPhone()
- Returns:
- This user phone number
setPhone
public void setPhone(java.lang.String phone)
- Parameters:
phone
- New phone number to assign to user
getTeam
public java.lang.String getTeam()
- Returns:
- This user team description
setTeam
public void setTeam(java.lang.String team)
- Parameters:
team
- This user team description
doValidate
public void doValidate(java.lang.String operation,
org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
- Validation of the form attributes.
- Specified by:
doValidate
in class JoinForm
- Parameters:
operation
- String representing the operation to invoke on Actionmapping
- Mapping between forwards name and path for this actionrequest
- The servlet container request wrapper
reset
public void reset(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
- Reset form attributes.
- Overrides:
reset
in class JoinForm
- Parameters:
mapping
- Mapping between forwards name and path for this actionrequest
- The servlet container request wrapper
Copyright © 2005-2008 Join. All Rights Reserved.