Class FulfillmentApplicationSolrQueryContributor

java.lang.Object
com.broadleafcommerce.search.provider.solr.AbstractSolrQueryContributor
com.broadleafcommerce.search.provider.solr.ApplicationTrackableSolrQueryContributor
com.broadleafcommerce.search.fulfillment.solr.query.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
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.broadleafcommerce.search.api.type.IndexableType
     
    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 class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

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

    contribute, contributeOnTypeAhead, getOrder, isTypeAheadRequest
  • Constructor Details

    • FulfillmentApplicationSolrQueryContributor

      public FulfillmentApplicationSolrQueryContributor()
  • Method Details

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