Class LocaleQueryPreprocessor

java.lang.Object
de.hybris.platform.servicelayer.i18n.query.preprocessor.LocaleQueryPreprocessor
All Implemented Interfaces:
QueryPreprocessor

public class LocaleQueryPreprocessor extends Object implements QueryPreprocessor
Locale query preprocessor used for Flexible Search Service to add logic before executing query which sets current locale taken from FlexibleSearchQuery object.
  • Constructor Details

    • LocaleQueryPreprocessor

      public LocaleQueryPreprocessor()
  • Method Details

    • process

      public void process(FlexibleSearchQuery query)
      Executes logic which should be executed before executing search query.
      Specified by:
      process in interface QueryPreprocessor
      Parameters:
      query - object containing all needed informations to execute search
    • setCommonI18nService

      public void setCommonI18nService(CommonI18NService commonI18nService)
    • setI18nService

      public void setI18nService(I18NService i18nService)