Class RestockLocationFilter
- java.lang.Object
-
- de.hybris.platform.warehousing.sourcing.filter.impl.AbstractBaseSourcingLocationFilter
-
- de.hybris.platform.warehousing.returns.filter.impl.RestockLocationFilter
-
- All Implemented Interfaces:
SourcingLocationFilter
public class RestockLocationFilter extends AbstractBaseSourcingLocationFilter
This filter returns a set of locations that takes into consideration the if the warehouse allows restock (if any)
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.warehousing.sourcing.filter.impl.AbstractBaseSourcingLocationFilter
filterResultOperator
-
-
Constructor Summary
Constructors Constructor Description RestockLocationFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<WarehouseModel>applyFilter(AbstractOrderModel order, java.util.Set<WarehouseModel> locations)Method used to apply the filter on the order and return a set of sourcing locations.-
Methods inherited from class de.hybris.platform.warehousing.sourcing.filter.impl.AbstractBaseSourcingLocationFilter
combineFilteredLocations, filterLocations, getFilterResultOperator, setFilterResultOperator
-
-
-
-
Method Detail
-
applyFilter
public java.util.Collection<WarehouseModel> applyFilter(AbstractOrderModel order, java.util.Set<WarehouseModel> locations)
Description copied from class:AbstractBaseSourcingLocationFilterMethod used to apply the filter on the order and return a set of sourcing locations.- Specified by:
applyFilterin classAbstractBaseSourcingLocationFilter- Parameters:
order- - Order to be sourced (input value); cannot be nulllocations- - Set of sourcing locations (output value); cannot be null
-
-