Class ExternalRatingsReviewsProvider
java.lang.Object
com.broadleafcommerce.datafeed.service.collector.provider.ExternalRatingsReviewsProvider
- All Implemented Interfaces:
- RatingsReviewProvider
- 
Constructor SummaryConstructorsConstructorDescriptionExternalRatingsReviewsProvider(org.springframework.web.reactive.function.client.WebClient webClient, com.fasterxml.jackson.databind.ObjectMapper objectMapper, com.broadleafcommerce.common.extension.TypeFactory typeFactory, RatingsReviewsProviderProperties ratingsReviewsProviderProperties, ProviderUtil providerUtil) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected StringbuildReadRatingsUri(Set<String> ids, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected <T> reactor.core.publisher.Mono<T>customizeReadRatingsForProductsMono(reactor.core.publisher.Mono<T> mono) protected com.fasterxml.jackson.databind.ObjectMapperprotected ProviderUtilprotected RatingsReviewsProviderPropertiesprotected com.broadleafcommerce.common.extension.TypeFactoryprotected org.springframework.web.reactive.function.client.WebClientreadRatings(@NonNull Set<String> ids, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Reads ratings for a Product or Variant.
- 
Constructor Details- 
ExternalRatingsReviewsProviderpublic ExternalRatingsReviewsProvider(org.springframework.web.reactive.function.client.WebClient webClient, com.fasterxml.jackson.databind.ObjectMapper objectMapper, com.broadleafcommerce.common.extension.TypeFactory typeFactory, RatingsReviewsProviderProperties ratingsReviewsProviderProperties, ProviderUtil providerUtil) 
 
- 
- 
Method Details- 
readRatingspublic List<RatingSummary> readRatings(@NonNull @NonNull Set<String> ids, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Description copied from interface:RatingsReviewProviderReads ratings for a Product or Variant.- Specified by:
- readRatingsin interface- RatingsReviewProvider
- Returns:
 
- 
buildReadRatingsUri
- 
customizeReadRatingsForProductsMonoprotected <T> reactor.core.publisher.Mono<T> customizeReadRatingsForProductsMono(reactor.core.publisher.Mono<T> mono) 
- 
getWebClientprotected org.springframework.web.reactive.function.client.WebClient getWebClient()
- 
getObjectMapperprotected com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
- 
getTypeFactoryprotected com.broadleafcommerce.common.extension.TypeFactory getTypeFactory()
- 
getRatingsReviewsProviderProperties
- 
getProviderUtil
 
-