com.softslate.commerce.customer.customer
Class DownloadForm
java.lang.Object
org.apache.struts.action.ActionForm
com.softslate.commerce.customer.core.BaseForm
com.softslate.commerce.customer.customer.DownloadForm
- All Implemented Interfaces:
- java.io.Serializable
public class DownloadForm
- extends BaseForm
Struts form class for submissions to download a file the current customer has
purchased. Used for requests to "/ProcessDownloadAction.do".
The validate
method of this class checks for the existance of
the name
and productSettingID
properties.
- Author:
- David Tobey
- See Also:
- Serialized Form
Fields inherited from class org.apache.struts.action.ActionForm |
multipartRequestHandler, servlet |
Method Summary |
java.lang.String |
getName()
|
java.lang.String |
getProductSettingID()
|
void |
setName(java.lang.String name)
|
void |
setProductSettingID(java.lang.String productSettingID)
|
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.core.BaseForm |
formUtils, getBusinessObjectFactory, getErrors, getMapping, getMessage, getMessages, getRequest, getSettings, getUser, initializeProperties, setBusinessObjectFactory, setErrors, setMapping, setMessages, setRequest, setSettings, 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 |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
log
static org.apache.commons.logging.Log log
name
private java.lang.String name
productSettingID
private java.lang.String productSettingID
DownloadForm
public DownloadForm()
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
getProductSettingID
public java.lang.String getProductSettingID()
setProductSettingID
public void setProductSettingID(java.lang.String productSettingID)
validate
public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
- Overrides:
validate
in class org.apache.struts.action.ActionForm
Copyright © SoftSlate, LLC 20032005