Class SearchRestrictionsQueryPreprocessor

  • All Implemented Interfaces:
    QueryPreprocessor

    public class SearchRestrictionsQueryPreprocessor
    extends java.lang.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 Detail

      • SearchRestrictionsQueryPreprocessor

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

        public void setSearchRestrictionService​(SearchRestrictionService searchRestrictionService)