Class LuceneForm
java.lang.Object
org.apache.struts.action.ActionForm
com.softslate.commerce.customer.core.BaseForm
com.softslate.commerce.administrator.core.BaseAdministratorForm
com.softslate.commerce.administrator.product.LuceneForm
- All Implemented Interfaces:
Serializable
Struts form class corresponding to requests to "/administrator/LuceneForm.do"
and "/administrator/LuceneAddAll.do". This form simply initializes its own
properties, including the directory where the index is to be found.
- Author:
- Jason McWilliams
- See Also:
-
Field Summary
Modifier and TypeFieldDescription(package private) String
(package private) static org.apache.commons.logging.Log
private String
private static final long
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setIndexDir
(String indexDir) void
setRegularSuggestionsOrBoth
(String regularSuggestionsOrBoth) org.apache.struts.action.ActionErrors
validate
(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request) Methods inherited from class com.softslate.commerce.administrator.core.BaseAdministratorForm
addingAndFieldIsBlank, addingAndFieldIsBlank, addingNewRecord, containsUnsafeCharacter, editingAndFieldIsBeingEmptiedOut, editingAndFieldIsBeingEmptiedOut, getAdministrator, getFormUtils, initializeProperties, mapOfIncomingParams, setAdministrator
Methods inherited from class com.softslate.commerce.customer.core.BaseForm
formUtils, getBusinessObjectFactory, getErrors, getMapping, getMessage, getMessages, getRequest, getSettings, getUser, html5OrXhtml, 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 -
regularSuggestionsOrBoth
-
indexDir
String indexDir
-
-
Constructor Details
-
LuceneForm
public LuceneForm()
-
-
Method Details
-
getRegularSuggestionsOrBoth
-
setRegularSuggestionsOrBoth
-
getIndexDir
-
setIndexDir
-
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
-