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
Modifier 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) String
private static final long
(package private) String
(package private) String
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAjax()
String[]
getType()
void
void
setCategoryCode
(String categoryCode) void
setCategoryID
(String categoryID) void
void
setFirstRow
(String firstRow) void
setIndexDir
(String indexDir) void
setSearchString
(String searchString) void
void
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, html5OrXhtml, 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
-
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:
validate
in classorg.apache.struts.action.ActionForm
-