public class SourcingFilterProcessor extends Object
| Constructor and Description |
|---|
SourcingFilterProcessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
void |
filterLocations(AbstractOrderModel order,
Set<WarehouseModel> locations)
Start the filter chain execution and returns a set of locations to be used for sourcing.
|
protected Collection<SourcingLocationFilter> |
getFilters() |
void |
setFilters(Collection<SourcingLocationFilter> filters)
Set the list of filters to be processed (in FIFO order).
|
public void filterLocations(AbstractOrderModel order, Set<WarehouseModel> locations) throws IllegalArgumentException, IllegalStateException
order - - Order to be sourced (input value); cannot be nulllocations - - Set of sourcing locations (output value); cannot be nullIllegalArgumentException - when order and/or locations parameters are nullIllegalStateException - when no filter is setprotected Collection<SourcingLocationFilter> getFilters()
public void setFilters(Collection<SourcingLocationFilter> filters)
filters - - ordered list of filters to be processed; cannot be null or emptyCopyright © 2017 SAP SE. All Rights Reserved.