Class SearchRestrictionsQueryPreprocessor
java.lang.Object
de.hybris.platform.search.restriction.preprocessor.SearchRestrictionsQueryPreprocessor
- All Implemented Interfaces:
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 -
Method Summary
Modifier and TypeMethodDescriptionvoidprocess(FlexibleSearchQuery query) Executes logic which should be executed before executing search query.voidsetSearchRestrictionService(SearchRestrictionService searchRestrictionService)
-
Constructor Details
-
SearchRestrictionsQueryPreprocessor
public SearchRestrictionsQueryPreprocessor()
-
-
Method Details
-
process
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
-