SalesPoint Framework v3.0

Hook: Define Catalog Filter


Requirement

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

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

Method of Adaptation
Enable Feature
Level of Support
Parameter Pattern  
HotSpot
Filters
Participants
CatalogFilter, NewFilter , Catalog, originalCatalog , filteredCatalog

Changes

  1. subclass NewFilter of CatalogFilter.
  2. NewFilter.match implements CatalogFilter.match returning true for every CatalogItem that shall be part of the filtered Catalog.
  3. instance originalCatalog of Catalog.
  4. instance filteredCatalog of NewFilter with parameter originalCatalog.

SalesPoint Framework v3.0