Collection filtering components are components that reduce the objects in a collection based on a unique set of conditions. ATG Commerce includes three collection filtering components:

These components receive a collection from another resource (scenario or servlet bean) and return the resultant collection to the calling resource. To involve a collection filtering component in a scenario, define a FilterSlotContents action element to use a collection filtering component. See the ATG Personalization Programming Guide for information on this scenario action. Specific instructions for using servlet beans to access collection filtering components are included for each component in the following sections.

Keep in mind that although a collection can hold any kind of object, the collection filtering components described here are defined to work with RepositoryItems of type Product. Any non-Product items in the collection are ignored by the component and included in the result set.

loading table of contents...