Interface SourcingLocationFilter
- All Known Implementing Classes:
AbstractBaseSourcingLocationFilter,AvailabilitySourcingLocationFilter,DeliveryCountrySourcingLocationFilter,PickupSourcingLocationFilter,RestockLocationFilter
public interface SourcingLocationFilter
Sourcing filter interface used to obtain a minimal working subset of locations to be used for sourcing of an order.
-
Method Summary
Modifier and TypeMethodDescriptionvoidfilterLocations(AbstractOrderModel order, Set<WarehouseModel> locations) Apply the filter on the order and returns a set of locations to be used for sourcing.voidUtility method used to decide whether the filtered result set should be a union (OR) or an intersection (AND).
-
Method Details
-
filterLocations
Apply the filter on the order and returns a set of locations to be used for sourcing.- Parameters:
order- - Order to be sourced (input value); cannot be nulllocations- - Set of sourcing locations (output value); cannot be null
-
setFilterResultOperator
Utility method used to decide whether the filtered result set should be a union (OR) or an intersection (AND).- Parameters:
operator- - AND or OR operator to apply on the result sets; cannot be null
-