public class BroadleafSearchController extends AbstractCatalogController
| Modifier and Type | Field and Description |
|---|---|
protected static String |
ACTIVE_FACETS_ATTRIBUTE_NAME |
protected static String |
ALL_PRODUCTS_ATTRIBUTE_NAME |
protected ExploitProtectionService |
exploitProtectionService |
protected static String |
FACETS_ATTRIBUTE_NAME |
protected SearchFacetDTOService |
facetService |
protected static String |
ORIGINAL_QUERY_ATTRIBUTE_NAME |
protected static String |
PRODUCT_SEARCH_RESULT_ATTRIBUTE_NAME |
protected static String |
PRODUCTS_ATTRIBUTE_NAME |
protected SearchRedirectService |
searchRedirectService |
protected SearchService |
searchService |
protected static String |
searchView |
catalogService| Constructor and Description |
|---|
BroadleafSearchController() |
| Modifier and Type | Method and Description |
|---|---|
protected SearchService |
getSearchService() |
String |
getSearchView() |
String |
search(org.springframework.ui.Model model,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String query) |
addDeepLink, getContextPath, isAjaxRequest, jsonResponseprotected SearchService searchService
protected ExploitProtectionService exploitProtectionService
protected SearchFacetDTOService facetService
protected SearchRedirectService searchRedirectService
protected static String searchView
protected static String PRODUCTS_ATTRIBUTE_NAME
protected static String FACETS_ATTRIBUTE_NAME
protected static String PRODUCT_SEARCH_RESULT_ATTRIBUTE_NAME
protected static String ACTIVE_FACETS_ATTRIBUTE_NAME
protected static String ORIGINAL_QUERY_ATTRIBUTE_NAME
protected static String ALL_PRODUCTS_ATTRIBUTE_NAME
public String search(org.springframework.ui.Model model, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String query) throws javax.servlet.ServletException, IOException, ServiceException
javax.servlet.ServletExceptionIOExceptionServiceExceptionpublic String getSearchView()
protected SearchService getSearchService()
Copyright © 2015. All Rights Reserved.