Class LocaleQueryPreprocessor
- java.lang.Object
-
- de.hybris.platform.servicelayer.i18n.query.preprocessor.LocaleQueryPreprocessor
-
- All Implemented Interfaces:
QueryPreprocessor
public class LocaleQueryPreprocessor extends java.lang.Object implements QueryPreprocessor
Locale query preprocessor used for Flexible Search Service to add logic before executing query which sets current locale taken fromFlexibleSearchQueryobject.
-
-
Constructor Summary
Constructors Constructor Description LocaleQueryPreprocessor()
-
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.voidsetCommonI18nService(CommonI18NService commonI18nService)voidsetI18nService(I18NService i18nService)
-
-
-
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
-
setCommonI18nService
public void setCommonI18nService(CommonI18NService commonI18nService)
-
setI18nService
public void setI18nService(I18NService i18nService)
-
-