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 Details

    • filterLocations

      void filterLocations(AbstractOrderModel order, Set<WarehouseModel> locations)
      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 null
      locations - - Set of sourcing locations (output value); cannot be null
    • setFilterResultOperator

      void setFilterResultOperator(SourcingFilterResultOperator operator)
      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