com.counterclaim.openefm.admin.forms
Class LoginForm

java.lang.Object
  |
  +--org.apache.struts.action.ActionForm
        |
        +--com.counterclaim.openefm.admin.forms.BaseForm
              |
              +--com.counterclaim.openefm.admin.forms.LoginForm
All Implemented Interfaces:
java.io.Serializable

public final class LoginForm
extends BaseForm

Form bean for the login component. This form has the following fields, with default values in square brackets:

Version:
3/29/02
Author:
Probst
See Also:
Serialized Form

Constructor Summary
LoginForm()
           
 
Method Summary
 java.lang.String getAction()
           
 java.lang.String getPassword()
           
 User getUser()
           
 java.lang.String getUsername()
           
 void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          RESET all properties to their default values.
 void setAction(java.lang.String action)
           
 void setPassword(java.lang.String password)
           
 void setUsername(java.lang.String username)
           
 org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          VALIDATE the properties that have been set from this HTTP request, and return an ActionErrors object that encapsulates any validation errors that have been found.
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoginForm

public LoginForm()
Method Detail

getAction

public java.lang.String getAction()

setAction

public void setAction(java.lang.String action)

setUsername

public void setUsername(java.lang.String username)

setPassword

public void setPassword(java.lang.String password)

getUsername

public java.lang.String getUsername()

getPassword

public java.lang.String getPassword()

getUser

public User getUser()

reset

public void reset(org.apache.struts.action.ActionMapping mapping,
                  javax.servlet.http.HttpServletRequest request)
RESET all properties to their default values.
Overrides:
reset in class org.apache.struts.action.ActionForm
Parameters:
mapping - The mapping used to select this instance
request - The servlet request we are processing

validate

public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
                                                      javax.servlet.http.HttpServletRequest request)
VALIDATE the properties that have been set from this HTTP request, and return an ActionErrors object that encapsulates any validation errors that have been found. If no errors are found, return null or an ActionErrors object with no recorded error messages.
Overrides:
validate in class org.apache.struts.action.ActionForm
Parameters:
mapping - The mapping used to select this instance
request - The servlet request we are processing


Copyright © 2002 counterclaim.com. All Rights Reserved.