com.elasticpath.sfweb.controller.impl
Class SearchControllerImpl
java.lang.Object
org.springframework.context.support.ApplicationObjectSupport
org.springframework.web.context.support.WebApplicationObjectSupport
org.springframework.web.servlet.support.WebContentGenerator
org.springframework.web.servlet.mvc.AbstractController
org.springframework.web.servlet.mvc.BaseCommandController
com.elasticpath.sfweb.controller.impl.AbstractEpControllerImpl
com.elasticpath.sfweb.controller.impl.SearchControllerImpl
- All Implemented Interfaces:
- EpController, org.springframework.context.ApplicationContextAware, org.springframework.web.context.ServletContextAware, org.springframework.web.servlet.mvc.Controller
public class SearchControllerImpl
- extends AbstractEpControllerImpl
The Spring MVC controller for catalog search.
Fields inherited from class org.springframework.web.servlet.mvc.BaseCommandController |
DEFAULT_COMMAND_NAME |
Fields inherited from class org.springframework.web.servlet.support.WebContentGenerator |
METHOD_GET, METHOD_HEAD, METHOD_POST |
Methods inherited from class org.springframework.web.servlet.mvc.BaseCommandController |
getBindingErrorProcessor, getCommandClass, getCommandName, getMessageCodesResolver, getPropertyEditorRegistrars, getValidator, getValidators, isValidateOnBinding, setBindingErrorProcessor, setCommandClass, setCommandName, setMessageCodesResolver, setPropertyEditorRegistrar, setPropertyEditorRegistrars, setValidateOnBinding, setValidator, setValidators |
Methods inherited from class org.springframework.web.servlet.mvc.AbstractController |
handleRequest, isSynchronizeOnSession, setSynchronizeOnSession |
Methods inherited from class org.springframework.web.servlet.support.WebContentGenerator |
getCacheSeconds, getSupportedMethods, isRequireSession, isUseCacheControlHeader, isUseExpiresHeader, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseExpiresHeader |
Methods inherited from class org.springframework.web.context.support.WebApplicationObjectSupport |
setServletContext |
Methods inherited from class org.springframework.context.support.ApplicationObjectSupport |
getApplicationContext, setApplicationContext |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.springframework.web.servlet.mvc.Controller |
handleRequest |
SearchControllerImpl
public SearchControllerImpl()
getErrorView
public java.lang.String getErrorView()
- Returns the error view name.
- Returns:
- name of the error view
getSuccessView
public java.lang.String getSuccessView()
- Returns the success view name.
- Returns:
- name of the success view
setErrorView
public void setErrorView(java.lang.String errorView)
- Sets the error view name.
- Parameters:
errorView
- error view name
setProductLoadTuner
public void setProductLoadTuner(ProductLoadTuner productLoadTuner)
- Sets the product load tuner.
- Parameters:
productLoadTuner
- the product load tuner
setSearchService
public void setSearchService(SearchService searchService)
- Sets the category service.
- Parameters:
searchService
- the category service
setSuccessView
public final void setSuccessView(java.lang.String successView)
- Sets the static view name.
- Parameters:
successView
- name of the success view