Class UserQueryPreprocessor

java.lang.Object
de.hybris.platform.servicelayer.user.search.preprocessor.UserQueryPreprocessor
All Implemented Interfaces:
QueryPreprocessor

public class UserQueryPreprocessor extends Object implements QueryPreprocessor
User Version query preprocessor used for Flexible Search Service to add logic before executing query which puts user in the session taken from FlexibleSearchQuery object.
  • Constructor Details

    • UserQueryPreprocessor

      public UserQueryPreprocessor()
  • 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
    • setUserService

      public void setUserService(UserService userService)