Interface QueryPreprocessor

All Known Implementing Classes:
CatalogVersionQueryPreprocessor, DisableCachingQueryPreprocessor, LocaleQueryPreprocessor, SearchRestrictionsQueryPreprocessor, SpecificDbLimitSupportQueryPreprocessor, UserQueryPreprocessor

public interface QueryPreprocessor
Query preprocessor interface provides possibility to write logic which will be executed before executing search query. For instance it can be logic which writes some required informations to the session like search restrictions or list of catalog versions.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Executes logic which should be executed before executing search query.
  • Method Details

    • process

      void process(FlexibleSearchQuery query)
      Executes logic which should be executed before executing search query.
      Parameters:
      query - object containing all needed informations to execute search