public class DefaultSourcingContextFactory extends java.lang.Object implements SourcingContextFactory
SourcingContext.| Constructor and Description |
|---|
DefaultSourcingContextFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
java.util.Collection<SourcingContext> |
create(java.util.Collection<OrderEntryGroup> groups,
java.util.Collection<WarehouseModel> locations)
Create a new sourcing context.
|
protected SourcingLocation |
createSourcingLocation(SourcingContext context,
WarehouseModel location)
Create a new sourcing location and populate it.
|
protected java.util.Set<SourcingLocationPopulator> |
getSourcingLocationPopulators() |
void |
setSourcingLocationPopulators(java.util.Set<SourcingLocationPopulator> populators) |
public java.util.Collection<SourcingContext> create(java.util.Collection<OrderEntryGroup> groups, java.util.Collection<WarehouseModel> locations) throws java.lang.IllegalArgumentException
SourcingContextFactorycreate in interface SourcingContextFactorygroups - - the order entries grouped by one or more OrderEntryMatcher strategieslocations - - the sourcing locations to be populated; cannot be null or emptyjava.lang.IllegalArgumentExceptionprotected SourcingLocation createSourcingLocation(SourcingContext context, WarehouseModel location)
context - - the sourcing contextlocation - - the warehouse modelpublic void afterPropertiesSet()
throws java.lang.Exception
java.lang.Exceptionprotected java.util.Set<SourcingLocationPopulator> getSourcingLocationPopulators()
public void setSourcingLocationPopulators(java.util.Set<SourcingLocationPopulator> populators)
Copyright © 2018 SAP SE. All Rights Reserved.