Class 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 from FlexibleSearchQuery object.
    • Constructor Detail

      • UserQueryPreprocessor

        public UserQueryPreprocessor()
    • Method Detail

      • 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)