Class LocaleQueryPreprocessor
java.lang.Object
de.hybris.platform.servicelayer.i18n.query.preprocessor.LocaleQueryPreprocessor
- All Implemented Interfaces:
QueryPreprocessor
Locale query preprocessor used for Flexible Search Service to add logic before executing query which sets current
locale taken from
FlexibleSearchQuery object.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprocess(FlexibleSearchQuery query) Executes logic which should be executed before executing search query.voidsetCommonI18nService(CommonI18NService commonI18nService) voidsetI18nService(I18NService i18nService)
-
Constructor Details
-
LocaleQueryPreprocessor
public LocaleQueryPreprocessor()
-
-
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
-
setCommonI18nService
-
setI18nService
-