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

    Modifier and Type
    Method
    Description
    filter(Collection<MODEL> collection, CRITERIA criteria)
    Filters price/discount/tax models using given criteria.
  • Method Details

    • filter

      Collection<MODEL> filter(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.