Class UserQueryPreprocessor
- java.lang.Object
-
- de.hybris.platform.servicelayer.user.search.preprocessor.UserQueryPreprocessor
-
- All Implemented Interfaces:
QueryPreprocessor
public class UserQueryPreprocessor extends java.lang.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 fromFlexibleSearchQueryobject.
-
-
Constructor Summary
Constructors Constructor Description UserQueryPreprocessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprocess(FlexibleSearchQuery query)Executes logic which should be executed before executing search query.voidsetUserService(UserService userService)
-
-
-
Method Detail
-
process
public void process(FlexibleSearchQuery query)
Executes logic which should be executed before executing search query.- Specified by:
processin interfaceQueryPreprocessor- Parameters:
query- object containing all needed informations to execute search
-
setUserService
public void setUserService(UserService userService)
-
-