Component: /atg/commerce/catalog/custom/CatalogChangesListener

This component registers itself at deployment. It is notified for each repository change made to a catalog folder, category or catalog item in the product catalog.

As each change is made, the CatalogChangesListener calls the appropriate PropertiesChangedEventHandler listed in the eventHandlers property. The event handlers then call the CatalogCompletionService.

The CatalogChangesListener includes the following configurable properties:

Property

Description

enabled

Determines whether or not this component is used.

eventHandlers

Lists the PropertiesChangedEventHandler components that are available for this component. By default, the list includes the following:

CatalogFolderPropertiesChangedHandler

CatalogPropertiesChangedHandler

CategoryPropertiesChangedHandler

If you want to listen for changes on additional item types, you can implement a new PropertiesChangedEventHandler component and add it to the eventHandlers map.