Class SearchRestrictionsQueryPreprocessor
- java.lang.Object
-
- de.hybris.platform.search.restriction.preprocessor.SearchRestrictionsQueryPreprocessor
-
- All Implemented Interfaces:
QueryPreprocessor
public class SearchRestrictionsQueryPreprocessor extends java.lang.Object implements QueryPreprocessor
Search Restrictions query preprocessor used for Flexible Search Service to add logic before executing query which puts possible session search restrictions in the session and possible disable or enable search restrictions flag.
-
-
Constructor Summary
Constructors Constructor Description SearchRestrictionsQueryPreprocessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprocess(FlexibleSearchQuery query)Executes logic which should be executed before executing search query.voidsetSearchRestrictionService(SearchRestrictionService searchRestrictionService)
-
-
-
Method Detail
-
process
public void process(FlexibleSearchQuery query)
Executes logic which should be executed before executing search query.- Specified by:
processin interfaceQueryPreprocessor- Parameters:
query- object containing all needed informations to execute search
-
setSearchRestrictionService
public void setSearchRestrictionService(SearchRestrictionService searchRestrictionService)
-
-