com.softslate.commerce.customer.customer
Class LoginForm

java.lang.Object
  extended byorg.apache.struts.action.ActionForm
      extended bycom.softslate.commerce.customer.core.BaseForm
          extended bycom.softslate.commerce.customer.customer.AccountForm
              extended bycom.softslate.commerce.customer.customer.LoginForm
All Implemented Interfaces:
java.io.Serializable

public class LoginForm
extends AccountForm

Struts form class for submissions to log into a customer account. Used for requests to "/Login.do".

The validate method of this class checks for the existance of the userName and password properties.

Author:
David Tobey
See Also:
Serialized Form

Field Summary
(package private) static org.apache.commons.logging.Log log
           
private  java.lang.String password
           
private static long serialVersionUID
           
private  java.lang.String userName
           
 
Fields inherited from class com.softslate.commerce.customer.customer.AccountForm
 
Fields inherited from class com.softslate.commerce.customer.core.BaseForm
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
LoginForm()
           
 
Method Summary
 java.lang.String getPassword()
           
 java.lang.String getUserName()
           
 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)
           
 
Methods inherited from class com.softslate.commerce.customer.customer.AccountForm
getAddressesForm, getLoginForm, getRegisterForm, setAddressesForm, setLoginForm, setRegisterForm
 
Methods inherited from class com.softslate.commerce.customer.core.BaseForm
getBusinessObjectFactory, getErrors, getMapping, getMessage, getMessages, getRequest, getSettingsBean, getUser, initializeProperties, setBusinessObjectFactory, setErrors, setMapping, setMessages, setRequest, setSettingsBean, setUser
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, reset, setMultipartRequestHandler, setServlet, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

log

static org.apache.commons.logging.Log log

userName

private java.lang.String userName

password

private java.lang.String password
Constructor Detail

LoginForm

public LoginForm()
Method Detail

getUserName

public java.lang.String getUserName()

setUserName

public void setUserName(java.lang.String userName)

getPassword

public java.lang.String getPassword()

setPassword

public void setPassword(java.lang.String password)

validate

public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
                                                      javax.servlet.http.HttpServletRequest request)


Copyright © SoftSlate, Inc. 2003–2005