SalesPoint Framework v3.1

data
Interface ListenableCatalog

All Superinterfaces:
Catalog, CatalogItem, Comparable, DataBasketEntryDestination, DataBasketEntrySource, Nameable, Serializable
All Known Implementing Classes:
CatalogFilter, CatalogImpl

public interface ListenableCatalog
extends Catalog

A Catalog that fires events to inform about changes to its contents.

Since:
v2.0
Author:
Steffen Zschaler

Field Summary
 
Fields inherited from interface data.CatalogItem
VALUE_PROPERTY
 
Fields inherited from interface data.Nameable
NAME_PROPERTY
 
Method Summary
 void addCatalogChangeListener(CatalogChangeListener ccl)
          Add a listener that will be informed about changes to the Catalog's contents.
 void removeCatalogChangeListener(CatalogChangeListener ccl)
          Remove a listener that was informed about changes to the Catalog's contents.
 
Methods inherited from interface data.Catalog
add, contains, get, iterator, keySet, remove, remove, size
 
Methods inherited from interface data.CatalogItem
addValueListener, getCatalog, getValue, removeValueListener
 
Methods inherited from interface data.Nameable
addNameListener, addPropertyChangeListener, attach, detachNC, getName, removeNameListener, removePropertyChangeListener, setName
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

addCatalogChangeListener

public void addCatalogChangeListener(CatalogChangeListener ccl)
Add a listener that will be informed about changes to the Catalog's contents.

Parameters:
ccl - the listener to be added.
Override:
Always

removeCatalogChangeListener

public void removeCatalogChangeListener(CatalogChangeListener ccl)
Remove a listener that was informed about changes to the Catalog's contents.

Parameters:
ccl - the listener to be removed.
Override:
Always

SalesPoint Framework v3.1