Package org.intermine.web.struts
Class PasswordResetForm
- java.lang.Object
-
- org.apache.struts.action.ActionForm
-
- org.intermine.web.struts.PasswordResetForm
-
- All Implemented Interfaces:
java.io.Serializable
public class PasswordResetForm extends org.apache.struts.action.ActionForm
The form for resetting a password.- Author:
- Matthew Wakeling
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
newpassword
protected java.lang.String
newpassword2
protected java.lang.String
token
-
Constructor Summary
Constructors Constructor Description PasswordResetForm()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getNewpassword()
Gets the value of newpassword.java.lang.String
getNewpassword2()
Gets the value of newpassword2.java.lang.String
getToken()
Gets the value of token.void
reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
void
setNewpassword(java.lang.String newpassword)
Sets the value of newpassword.void
setNewpassword2(java.lang.String newpassword2)
Sets the value of newpassword2.void
setToken(java.lang.String token)
Sets the value of token.org.apache.struts.action.ActionErrors
validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
-
-
-
Method Detail
-
getToken
public java.lang.String getToken()
Gets the value of token.- Returns:
- the value of token
-
setToken
public void setToken(java.lang.String token)
Sets the value of token.- Parameters:
token
- value to assign to token
-
getNewpassword
public java.lang.String getNewpassword()
Gets the value of newpassword.- Returns:
- the value of newpassword
-
setNewpassword
public void setNewpassword(java.lang.String newpassword)
Sets the value of newpassword.- Parameters:
newpassword
- value to assign to newpassword
-
setNewpassword2
public void setNewpassword2(java.lang.String newpassword2)
Sets the value of newpassword2.- Parameters:
newpassword2
- the value to assign to newpassword
-
getNewpassword2
public java.lang.String getNewpassword2()
Gets the value of newpassword2.- Returns:
- the value of newpassword2
-
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
-
-