Class FulfillmentApplicationSolrQueryContributor

  • All Implemented Interfaces:
    com.broadleafcommerce.search.provider.solr.IndexableTypeSolrQueryContributor, com.broadleafcommerce.search.provider.solr.SolrQueryContributor, org.springframework.core.Ordered

    public class FulfillmentApplicationSolrQueryContributor
    extends com.broadleafcommerce.search.provider.solr.ApplicationTrackableSolrQueryContributor
    implements com.broadleafcommerce.search.provider.solr.IndexableTypeSolrQueryContributor
    Supports the ability to skip application narrowing when searching fulfillments in the tenant context.
    • Field Summary

      • Fields inherited from interface org.springframework.core.Ordered

        HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.broadleafcommerce.search.api.type.IndexableType getIndexableType()  
      protected boolean isTenantContext​(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)  
      protected boolean shouldContribute​(org.apache.solr.client.solrj.SolrQuery solrQuery, com.broadleafcommerce.search.api.domain.SearchRequest searchRequest, org.springframework.data.domain.Pageable page, com.broadleafcommerce.search.core.service.SearchRequestProperties properties, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)  
      • Methods inherited from class com.broadleafcommerce.search.provider.solr.ApplicationTrackableSolrQueryContributor

        contributeInternal, contributeOnTypeAhead
      • Methods inherited from class com.broadleafcommerce.search.provider.solr.AbstractSolrQueryContributor

        contribute
      • Methods inherited from interface com.broadleafcommerce.search.provider.solr.SolrQueryContributor

        contribute, contributeOnTypeAhead, getOrder, isTypeAheadRequest
    • Constructor Detail

      • FulfillmentApplicationSolrQueryContributor

        public FulfillmentApplicationSolrQueryContributor()
    • Method Detail

      • getIndexableType

        public com.broadleafcommerce.search.api.type.IndexableType getIndexableType()
        Specified by:
        getIndexableType in interface com.broadleafcommerce.search.provider.solr.IndexableTypeSolrQueryContributor
      • shouldContribute

        protected boolean shouldContribute​(org.apache.solr.client.solrj.SolrQuery solrQuery,
                                           com.broadleafcommerce.search.api.domain.SearchRequest searchRequest,
                                           org.springframework.data.domain.Pageable page,
                                           com.broadleafcommerce.search.core.service.SearchRequestProperties properties,
                                           @Nullable
                                           com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
        Overrides:
        shouldContribute in class com.broadleafcommerce.search.provider.solr.ApplicationTrackableSolrQueryContributor
      • isTenantContext

        protected boolean isTenantContext​(@Nullable
                                          com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)