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
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 Summary
FieldsModifier and TypeFieldDescription(package private) String(package private) String(package private) String(package private) String[](package private) String(package private) String(package private) static org.apache.commons.logging.Log(package private) Stringprivate static final long(package private) String(package private) StringFields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAjax()String[]getType()voidvoidsetCategoryCode(String categoryCode) voidsetCategoryID(String categoryID) voidvoidsetFirstRow(String firstRow) voidsetIndexDir(String indexDir) voidsetSearchString(String searchString) voidvoidorg.apache.struts.action.ActionErrorsvalidate(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, html5OrXhtml, initializeProperties, setBusinessObjectFactory, setErrors, setMapping, setMessages, setRequest, setSettings, setUserMethods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, reset, setMultipartRequestHandler, setServlet, validate
-
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
-
setSearchString
-
getIndexDir
-
setIndexDir
-
getCategoryID
-
setCategoryID
-
getCategoryCode
-
setCategoryCode
-
getFirstRow
-
setFirstRow
-
getSortBy
-
setSortBy
-
getType
-
setType
-
getAjax
-
setAjax
-
getFacets
-
setFacets
-
validate
public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request) - Overrides:
validatein classorg.apache.struts.action.ActionForm
-