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 fromFlexibleSearchQuery
object.
-
-
Constructor Summary
Constructors Constructor Description UserQueryPreprocessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
process(FlexibleSearchQuery query)
Executes logic which should be executed before executing search query.void
setUserService(UserService userService)
-
-
-
Method Detail
-
process
public void process(FlexibleSearchQuery query)
Executes logic which should be executed before executing search query.- Specified by:
process
in interfaceQueryPreprocessor
- Parameters:
query
- object containing all needed informations to execute search
-
setUserService
public void setUserService(UserService userService)
-
-