Class 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 from FlexibleSearchQuery object.
    • Constructor Detail

      • LocaleQueryPreprocessor

        public LocaleQueryPreprocessor()
    • Method Detail

      • 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)