Package org.intermine.web.struts
Class CreateAccountForm
- java.lang.Object
-
- org.apache.struts.action.ActionForm
-
- org.intermine.web.struts.CreateAccountForm
-
- All Implemented Interfaces:
java.io.Serializable
public class CreateAccountForm extends org.apache.struts.action.ActionForm
Form bean to represent the inputs to create a new user account- Author:
- Xavier Watkins
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
mailinglist
protected java.lang.String
password
protected java.lang.String
password2
protected java.lang.String
username
-
Constructor Summary
Constructors Constructor Description CreateAccountForm()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getMailinglist()
java.lang.String
getPassword()
java.lang.String
getPassword2()
java.lang.String
getUsername()
void
reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
void
setMailinglist(boolean mailinglist)
void
setPassword(java.lang.String password)
void
setPassword2(java.lang.String password2)
void
setUsername(java.lang.String username)
org.apache.struts.action.ActionErrors
validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
-
-
-
Method Detail
-
getMailinglist
public boolean getMailinglist()
- Returns:
- the mailinglist
-
setMailinglist
public void setMailinglist(boolean mailinglist)
- Parameters:
mailinglist
- the mailinglist to set
-
getPassword
public java.lang.String getPassword()
- Returns:
- password
-
setPassword
public void setPassword(java.lang.String password)
- Parameters:
password
- The password
-
getUsername
public java.lang.String getUsername()
- Returns:
- username
-
setUsername
public void setUsername(java.lang.String username)
- Parameters:
username
- The username/email set to be lowercase.
-
getPassword2
public java.lang.String getPassword2()
- Returns:
- password2
-
setPassword2
public void setPassword2(java.lang.String password2)
- Parameters:
password2
- Password verification
-
validate
public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
- Overrides:
validate
in classorg.apache.struts.action.ActionForm
-
reset
public void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
- Overrides:
reset
in classorg.apache.struts.action.ActionForm
-
-