Class DefaultOrderFulfillmentHydrationService
- java.lang.Object
 - 
- com.broadleafcommerce.order.service.hydration.DefaultOrderFulfillmentHydrationService
 
 
- 
- All Implemented Interfaces:
 OrderFulfillmentHydrationService
public class DefaultOrderFulfillmentHydrationService extends Object implements OrderFulfillmentHydrationService
 
- 
- 
Constructor Summary
Constructors Constructor Description DefaultOrderFulfillmentHydrationService() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.data.domain.Page<OrderFulfillmentView>hydrate(org.springframework.data.domain.Page<OrderFulfillmentView> orderFulfillmentViews, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)Hook point to hydrate entities fetched from the internal search endpoint. 
 - 
 
- 
- 
Method Detail
- 
hydrate
public org.springframework.data.domain.Page<OrderFulfillmentView> hydrate(org.springframework.data.domain.Page<OrderFulfillmentView> orderFulfillmentViews, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
Description copied from interface:OrderFulfillmentHydrationServiceHook point to hydrate entities fetched from the internal search endpoint. SeeOrderFulfillmentViewEndpoint.readAllOrderFulfillmentViews(HttpServletRequest, ContextInfo, String, boolean, Pageable, Node)By default, the internal search does not require hydration since the displayed fields exist on the
OrderFulfillmentView. However, this method can be overridden to hydrate and display fields from sub-entities.- Specified by:
 hydratein interfaceOrderFulfillmentHydrationService- Parameters:
 orderFulfillmentViews- the page of order fulfillment views to hydratecontext- context information around sandbox and multitenant state- Returns:
 - The page of hydrated order fulfillment views
 
 
 - 
 
 -