Class SearchRestrictionsQueryPreprocessor

java.lang.Object
de.hybris.platform.search.restriction.preprocessor.SearchRestrictionsQueryPreprocessor
All Implemented Interfaces:
QueryPreprocessor

public class SearchRestrictionsQueryPreprocessor extends Object implements QueryPreprocessor
Search Restrictions query preprocessor used for Flexible Search Service to add logic before executing query which puts possible session search restrictions in the session and possible disable or enable search restrictions flag.
  • Constructor Details

    • SearchRestrictionsQueryPreprocessor

      public SearchRestrictionsQueryPreprocessor()
  • 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
    • setSearchRestrictionService

      public void setSearchRestrictionService(SearchRestrictionService searchRestrictionService)