SalesPoint Framework v3.0

Hook: Define Currency Filter


Requirement

Only selected items of a Currency shall be visible to a part of an application.

Filters are most often used in connection with displaying the contents of Currencies. If you want to display only selected CurrencyItems, use a filtered Currency.

Method of Adaptation
Enable Feature
Level of Support
Parameter Pattern  
HotSpot
Filters
Participants
CurrencyFilter, NewFilter , Currency, originalCurrency , filteredCurrency

Changes

  1. subclass NewFilter of CurrencyFilter.
  2. NewFilter.match implements CurrencyFilter.match returning true for every CurrencyItem that shall be part of the filtered Currency.
  3. instance originalCurrency of Currency.
  4. instance filteredCurrency of NewFilter with parameter originalCurrency.

SalesPoint Framework v3.0