Class SessionInitializationListener
- java.lang.Object
-
- de.hybris.platform.solrfacetsearch.search.context.listeners.SessionInitializationListener
-
- All Implemented Interfaces:
FacetSearchListener
public class SessionInitializationListener extends java.lang.Object implements FacetSearchListener
Listener that initializes the session.
-
-
Constructor Summary
Constructors Constructor Description SessionInitializationListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterSearch(FacetSearchContext facetSearchContext)
Handles a notification that a facet search service has just completed.void
afterSearchError(FacetSearchContext facetSearchContext)
Handles a notification that a facet search service failed (this may also be due to listeners failing).void
beforeSearch(FacetSearchContext facetSearchContext)
Handles a notification that a facet search service is about to begin execution.CatalogVersionService
getCatalogVersionService()
CommonI18NService
getCommonI18NService()
void
setCatalogVersionService(CatalogVersionService catalogVersionService)
void
setCommonI18NService(CommonI18NService commonI18NService)
-
-
-
Method Detail
-
getCommonI18NService
public CommonI18NService getCommonI18NService()
-
setCommonI18NService
public void setCommonI18NService(CommonI18NService commonI18NService)
-
getCatalogVersionService
public CatalogVersionService getCatalogVersionService()
-
setCatalogVersionService
public void setCatalogVersionService(CatalogVersionService catalogVersionService)
-
beforeSearch
public void beforeSearch(FacetSearchContext facetSearchContext) throws FacetSearchException
Description copied from interface:FacetSearchListener
Handles a notification that a facet search service is about to begin execution.- Specified by:
beforeSearch
in interfaceFacetSearchListener
- Parameters:
facetSearchContext
- - theFacetSearchContext
- Throws:
FacetSearchException
- if an error occurs
-
afterSearch
public void afterSearch(FacetSearchContext facetSearchContext) throws FacetSearchException
Description copied from interface:FacetSearchListener
Handles a notification that a facet search service has just completed.- Specified by:
afterSearch
in interfaceFacetSearchListener
- Parameters:
facetSearchContext
- - theFacetSearchContext
- Throws:
FacetSearchException
- if an error occurs
-
afterSearchError
public void afterSearchError(FacetSearchContext facetSearchContext) throws FacetSearchException
Description copied from interface:FacetSearchListener
Handles a notification that a facet search service failed (this may also be due to listeners failing).- Specified by:
afterSearchError
in interfaceFacetSearchListener
- Parameters:
facetSearchContext
- - theFacetSearchContext
- Throws:
FacetSearchException
- if an error occurs
-
-