Class AdvancedSearchForm

java.lang.Object
org.apache.struts.action.ActionForm
com.softslate.commerce.customer.core.BaseForm
com.softslate.commerce.customer.product.AdvancedSearchForm
All Implemented Interfaces:
Serializable

public class AdvancedSearchForm extends BaseForm
Struts form class that correspondes to the search results page. Used for requests to "/AdvancedSearch.do".

The validate method of this class makes sure that a searchString of non-zero length was submitted, and sets the directory where the index is to be found.

Author:
Jason McWilliams, David Tobey
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • log

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

      String searchString
    • indexDir

      String indexDir
    • firstRow

      String firstRow
    • type

      String type
    • sortBy

      String sortBy
    • categoryID

      String categoryID
    • categoryCode

      String categoryCode
    • ajax

      String ajax
    • facets

      String[] facets
  • Constructor Details

    • AdvancedSearchForm

      public AdvancedSearchForm()
  • Method Details

    • getSearchString

      public String getSearchString()
    • setSearchString

      public void setSearchString(String searchString)
    • getIndexDir

      public String getIndexDir()
    • setIndexDir

      public void setIndexDir(String indexDir)
    • getCategoryID

      public String getCategoryID()
    • setCategoryID

      public void setCategoryID(String categoryID)
    • getCategoryCode

      public String getCategoryCode()
    • setCategoryCode

      public void setCategoryCode(String categoryCode)
    • getFirstRow

      public String getFirstRow()
    • setFirstRow

      public void setFirstRow(String firstRow)
    • getSortBy

      public String getSortBy()
    • setSortBy

      public void setSortBy(String sortBy)
    • getType

      public String getType()
    • setType

      public void setType(String type)
    • getAjax

      public String getAjax()
    • setAjax

      public void setAjax(String ajax)
    • getFacets

      public String[] getFacets()
    • setFacets

      public void setFacets(String[] facets)
    • 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