Interface PDTRowFilter<CRITERIA extends PDTCriteria,MODEL extends PDTRowModel>
-
- Type Parameters:
CRITERIA
- the generic type for price/discount/tax criteria.MODEL
- the generic type for price/discount/tax row models.
- All Known Implementing Classes:
DefaultDiscountRowFilter
,DefaultPriceRowInfoFilter
,DefaultPriceRowValueFilter
,DefaultTaxRowFilter
public interface PDTRowFilter<CRITERIA extends PDTCriteria,MODEL extends PDTRowModel>
The Interface for filtering price/discount/tax rows models using criteria.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Collection<MODEL>
filter(java.util.Collection<MODEL> collection, CRITERIA criteria)
Filters price/discount/tax models using given criteria.
-
-
-
Method Detail
-
filter
java.util.Collection<MODEL> filter(java.util.Collection<MODEL> collection, CRITERIA criteria)
Filters price/discount/tax models using given criteria.- Parameters:
collection
- the price/discount/tax collection to filter.criteria
- the price/discount/tax criteria.- Returns:
- the filtered price/discount/tax models collection.
-
-