Class ExternalOrderProvider
java.lang.Object
com.broadleafcommerce.recommendationengine.service.provider.external.AbstractExternalProvider
com.broadleafcommerce.recommendationengine.service.provider.external.ExternalOrderProvider
- All Implemented Interfaces:
 OrderProvider
- 
Field Summary
Fields inherited from class com.broadleafcommerce.recommendationengine.service.provider.external.AbstractExternalProvider
ENTITY_NOT_FOUND, RSQL_FILTER_PARAM - 
Constructor Summary
ConstructorsConstructorDescriptionExternalOrderProvider(org.springframework.web.reactive.function.client.WebClient webClient, com.fasterxml.jackson.databind.ObjectMapper objectMapper, com.broadleafcommerce.common.extension.TypeFactory typeFactory, ExternalOrderProperties properties)  - 
Method Summary
Modifier and TypeMethodDescriptionprotected ExternalOrderPropertiesprotected String<F extends com.broadleafcommerce.order.client.domain.OrderFulfillment>
org.springframework.data.domain.Page<F>readAllByOrderFulfillmentLink(@NonNull String orderFulfillmentLink, org.springframework.data.domain.Pageable page, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Retrieve all of theOrderFulfillmentsusing the provided API URL.<O extends com.broadleafcommerce.order.client.domain.Order>
OreadByOrderLink(@NonNull String orderLink, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Retrieve theOrderusing the provided API URL.Methods inherited from class com.broadleafcommerce.recommendationengine.service.provider.external.AbstractExternalProvider
buildNotFoundException, executeRequest, getHeaders, getObjectMapper, getTypeFactory, getWebClient, isEntityNotFound, pageableToParams 
- 
Constructor Details
- 
ExternalOrderProvider
public ExternalOrderProvider(org.springframework.web.reactive.function.client.WebClient webClient, com.fasterxml.jackson.databind.ObjectMapper objectMapper, com.broadleafcommerce.common.extension.TypeFactory typeFactory, ExternalOrderProperties properties)  
 - 
 - 
Method Details
- 
readByOrderLink
public <O extends com.broadleafcommerce.order.client.domain.Order> O readByOrderLink(@NonNull @NonNull String orderLink, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Description copied from interface:OrderProviderRetrieve theOrderusing the provided API URL.- Specified by:
 readByOrderLinkin interfaceOrderProvider- Parameters:
 orderLink- the API URL to read the OrdercontextInfo- context information around sandbox and multitenant state.- Returns:
 - the 
Orderfor the provided API URL 
 - 
readAllByOrderFulfillmentLink
public <F extends com.broadleafcommerce.order.client.domain.OrderFulfillment> org.springframework.data.domain.Page<F> readAllByOrderFulfillmentLink(@NonNull @NonNull String orderFulfillmentLink, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Description copied from interface:OrderProviderRetrieve all of theOrderFulfillmentsusing the provided API URL.- Specified by:
 readAllByOrderFulfillmentLinkin interfaceOrderProvider- Parameters:
 orderFulfillmentLink- the API URL to read the Order fulfillmentspage- the requested page of results from the databasecontextInfo- context information around sandbox and multitenant state.- Returns:
 - the fulfillments for the provided API URL
 
 - 
getServiceClient
 - 
getProperties
 
 -