org.figure8.join.control.form
Class LoginForm

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by org.figure8.join.control.JoinForm
          extended by org.figure8.join.control.form.LoginForm
All Implemented Interfaces:
java.io.Serializable

public class LoginForm
extends JoinForm

Form object used for login into Join application.

Version:
$Revision: 1.1 $
Author:
Laurent Broudoux
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.figure8.join.control.JoinForm
errors
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
LoginForm()
          Creates a new instance of LoginForm.
 
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 getLogin()
           
 java.lang.String getPassword()
           
 java.lang.String getTargetUrl()
           
 void setLogin(java.lang.String login)
           
 void setPassword(java.lang.String password)
           
 void setTargetUrl(java.lang.String targetUrl)
           
 
Methods inherited from class org.figure8.join.control.JoinForm
addActionError, addActionError, addActionError, getGuiMessageResources, getId, getIdStr, getMessageResources, reset, 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
 

Constructor Detail

LoginForm

public LoginForm()
Creates a new instance of LoginForm.

Method Detail

getLogin

public java.lang.String getLogin()
Returns:
Input login

setLogin

public void setLogin(java.lang.String login)
Parameters:
login - User login

getPassword

public java.lang.String getPassword()
Returns:
Input password

setPassword

public void setPassword(java.lang.String password)
Parameters:
password - User password

getTargetUrl

public java.lang.String getTargetUrl()
Returns:
Input target url

setTargetUrl

public void setTargetUrl(java.lang.String targetUrl)
Parameters:
targetUrl - Redirection target url

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 Action
mapping - Mapping between forwards name and path for this action
request - The servlet container request wrapper


Copyright © 2005-2008 Join. All Rights Reserved.