Interface TmaGenericSearchProcessor<T>

  • Type Parameters:
    T - parameter based on which the search query will be enhanced.
    All Known Implementing Classes:
    DefaultTmaSearchProcessor

    public interface TmaGenericSearchProcessor<T>
    Search processor for enhancing the search query with given params.
    Since:
    1810
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void enhanceQuery​(de.hybris.platform.core.GenericQuery query)
      Enhances the given query.
      void enhanceQuery​(de.hybris.platform.core.GenericQuery query, T param)
      Enhances the given query based on the given param.
    • Method Detail

      • enhanceQuery

        void enhanceQuery​(de.hybris.platform.core.GenericQuery query)
                   throws TmaSearchQueryException
        Enhances the given query.
        Parameters:
        query - the GenericQuery to be updated.
        Throws:
        TmaSearchQueryException - exception to be thrown in case the query cannot be enhanced
      • enhanceQuery

        void enhanceQuery​(de.hybris.platform.core.GenericQuery query,
                          T param)
                   throws TmaSearchQueryException
        Enhances the given query based on the given param.
        Parameters:
        query - the GenericQuery to be updated.
        param - param used for enhancing the query
        Throws:
        TmaSearchQueryException - exception to be thrown in case the query cannot be enhanced