Class SalesByProductForm

java.lang.Object
org.apache.struts.action.ActionForm
All Implemented Interfaces:
Serializable

public class SalesByProductForm extends BaseAdministratorForm
Struts ActionForm class responsible for the Sales By Product report form. Provides properties for defining the report's date range and output format.
Author:
David Tobey
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • log

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

      private String startDate
    • endDate

      private String endDate
    • headerRow

      private String headerRow
    • outputFormat

      private String outputFormat
    • productIDs

      private Integer[] productIDs
    • selectedID

      private Integer[] selectedID
  • Constructor Details

    • SalesByProductForm

      public SalesByProductForm()
  • Method Details

    • getStartDate

      public String getStartDate()
    • setStartDate

      public void setStartDate(String startDate)
    • getEndDate

      public String getEndDate()
    • setEndDate

      public void setEndDate(String endDate)
    • getHeaderRow

      public String getHeaderRow()
    • setHeaderRow

      public void setHeaderRow(String headerRow)
    • getOutputFormat

      public String getOutputFormat()
    • setOutputFormat

      public void setOutputFormat(String outputFormat)
    • getProductIDs

      public Integer[] getProductIDs()
    • setProductIDs

      public void setProductIDs(Integer[] productIDs)
    • getSelectedID

      public Integer[] getSelectedID()
    • setSelectedID

      public void setSelectedID(Integer[] selectedID)
    • 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