Class ExternalSearchProvider<I extends CatalogItem>

java.lang.Object
com.broadleafcommerce.bulkoperations.service.provider.external.ExternalSearchProvider<I>
All Implemented Interfaces:
SearchProvider<I>

public class ExternalSearchProvider<I extends CatalogItem> extends Object implements SearchProvider<I>
  • Constructor Details

    • ExternalSearchProvider

      public ExternalSearchProvider(org.springframework.web.reactive.function.client.WebClient webClient, com.broadleafcommerce.common.extension.TypeFactory typeFactory, ProviderUtils providerUtils, ExternalSearchProperties properties)
  • Method Details

    • getSearchResults

      public SearchResponse<I> getSearchResults(com.broadleafcommerce.bulk.v2.domain.BulkOperationRequest request, com.broadleafcommerce.bulk.v2.domain.BulkOperationResponse bulkOperationResponse, org.springframework.data.domain.Pageable pageable, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Description copied from interface: SearchProvider
      Performs a search for the provided request.
      Specified by:
      getSearchResults in interface SearchProvider<I extends CatalogItem>
      Parameters:
      request - All of the relevant information to be used to retrieve search results.
      Returns:
      The SearchResponse with results for the request.
    • buildSearchParamsFromRequest

      protected org.springframework.util.MultiValueMap<String,String> buildSearchParamsFromRequest(com.broadleafcommerce.bulk.v2.domain.BulkOperationRequest request)
    • getServiceClient

      protected String getServiceClient()
    • getWebClient

      protected org.springframework.web.reactive.function.client.WebClient getWebClient()
    • getTypeFactory

      protected com.broadleafcommerce.common.extension.TypeFactory getTypeFactory()
    • getProviderUtils

      protected ProviderUtils getProviderUtils()
    • getProperties

      protected ExternalSearchProperties getProperties()