Class DefaultSourcingService
java.lang.Object
de.hybris.platform.warehousing.sourcing.impl.DefaultSourcingService
- All Implemented Interfaces:
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 -
Method Summary
Modifier and TypeMethodDescriptionprotected OrderEntryGroupingServiceprotected Collection<OrderEntryMatcher>protected SourcingContextFactoryprotected SourcingFilterProcessorprotected SourcingResultFactoryprotected Collection<SourcingStrategyMapper>protected SourcingStrategyServicevoidsetOrderEntryGroupingService(OrderEntryGroupingService orderEntryGroupingService) voidsetOrderEntryMatchers(Collection<OrderEntryMatcher> orderEntryMatchers) voidsetSourcingContextFactory(SourcingContextFactory sourcingContextFactory) voidsetSourcingFilterProcessor(SourcingFilterProcessor sourcingFilterProcessor) voidsetSourcingResultFactory(SourcingResultFactory sourcingResultFactory) voidsetSourcingStrategyMappers(Collection<SourcingStrategyMapper> sourcingStrategyMappers) voidsetSourcingStrategyService(SourcingStrategyService sourcingStrategyService) sourceOrder(AbstractOrderModel order) Evaluate the best way to source an order using some defined sourcing strategies.
-
Constructor Details
-
DefaultSourcingService
public DefaultSourcingService()
-
-
Method Details
-
sourceOrder
Description copied from interface:SourcingServiceEvaluate the best way to source an order using some defined sourcing strategies.- Specified by:
sourceOrderin 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
-
setSourcingContextFactory
-
getSourcingFilterProcessor
-
setSourcingFilterProcessor
-
getOrderEntryGroupingService
-
setOrderEntryGroupingService
-
getOrderEntryMatchers
-
setOrderEntryMatchers
-
getSourcingStrategyService
-
setSourcingStrategyService
-
getSourcingStrategyMappers
-
setSourcingStrategyMappers
-
getSourcingResultFactory
-
setSourcingResultFactory
-