Class DefaultSourcingService
- java.lang.Object
-
- de.hybris.platform.warehousing.sourcing.impl.DefaultSourcingService
-
- All Implemented Interfaces:
SourcingService
public class DefaultSourcingService extends java.lang.Object implements SourcingService
Service to evaluate the best way to source an order using some defined sourcing strategies. Its result will determine the number of consignments to create.
-
-
Constructor Summary
Constructors Constructor Description DefaultSourcingService()
-
Method Summary
-
-
-
Method Detail
-
sourceOrder
public SourcingResults sourceOrder(AbstractOrderModel order)
Description copied from interface:SourcingService
Evaluate the best way to source an order using some defined sourcing strategies.- Specified by:
sourceOrder
in interfaceSourcingService
- Parameters:
order
- - the order to be sourced; never null- Returns:
- the sourcing results indicating if the order can be completely sourced or not and from which locations.
-
getSourcingContextFactory
protected SourcingContextFactory getSourcingContextFactory()
-
setSourcingContextFactory
public void setSourcingContextFactory(SourcingContextFactory sourcingContextFactory)
-
getSourcingFilterProcessor
protected SourcingFilterProcessor getSourcingFilterProcessor()
-
setSourcingFilterProcessor
public void setSourcingFilterProcessor(SourcingFilterProcessor sourcingFilterProcessor)
-
getOrderEntryGroupingService
protected OrderEntryGroupingService getOrderEntryGroupingService()
-
setOrderEntryGroupingService
public void setOrderEntryGroupingService(OrderEntryGroupingService orderEntryGroupingService)
-
getOrderEntryMatchers
protected java.util.Collection<OrderEntryMatcher> getOrderEntryMatchers()
-
setOrderEntryMatchers
public void setOrderEntryMatchers(java.util.Collection<OrderEntryMatcher> orderEntryMatchers)
-
getSourcingStrategyService
protected SourcingStrategyService getSourcingStrategyService()
-
setSourcingStrategyService
public void setSourcingStrategyService(SourcingStrategyService sourcingStrategyService)
-
getSourcingStrategyMappers
protected java.util.Collection<SourcingStrategyMapper> getSourcingStrategyMappers()
-
setSourcingStrategyMappers
public void setSourcingStrategyMappers(java.util.Collection<SourcingStrategyMapper> sourcingStrategyMappers)
-
getSourcingResultFactory
protected SourcingResultFactory getSourcingResultFactory()
-
setSourcingResultFactory
public void setSourcingResultFactory(SourcingResultFactory sourcingResultFactory)
-
-