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:
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:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • log

      static org.apache.commons.logging.Log log
    • name

      private String name
    • productSettingID

      private String productSettingID
  • Constructor Details

    • DownloadForm

      public DownloadForm()
  • Method Details

    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getProductSettingID

      public String getProductSettingID()
    • setProductSettingID

      public void setProductSettingID(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