org.salespointframework.core.data.interfaces
Interface ListenableCatalog<T extends CatalogItem>

All Superinterfaces:
Catalog<T>, CatalogItem, java.lang.Comparable<java.lang.Object>, DataBasketEntryDestination, DataBasketEntrySource, DatasourceChangeListener, ExternalModificationListener, Nameable, SpAggregate, SpItem
All Known Implementing Classes:
AbstractCurrency, CatalogFilter, CatalogImpl, CurrencyFilter, CurrencyImpl, EUROCurrencyImpl

public interface ListenableCatalog<T extends CatalogItem>
extends Catalog<T>

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

Since:
v2.0
Version:
2.0 18/08/1999
Author:
Steffen Zschaler

Field Summary
 
Fields inherited from interface org.salespointframework.core.data.interfaces.CatalogItem
VALUE_PROPERTY
 
Fields inherited from interface org.salespointframework.core.data.interfaces.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 org.salespointframework.core.data.interfaces.Catalog
add, contains, get, iterator, keySet, remove, remove, size
 
Methods inherited from interface org.salespointframework.core.data.interfaces.CatalogItem
addValueListener, firePropertyChanged, getCatalog, getImage, getValue, removeValueListener, setImage
 
Methods inherited from interface org.salespointframework.core.data.interfaces.Nameable
addNameListener, addPropertyChangeListener, attach, detachNC, getName, removeNameListener, removePropertyChangeListener, setName
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface org.salespointframework.core.data.interfaces.SpItem
getName
 
Methods inherited from interface org.salespointframework.core.data.events.DatasourceChangeListener
DatasourceChanged
 
Methods inherited from interface org.salespointframework.core.data.events.ExternalModificationListener
externalModificationOccurred
 

Method Detail

addCatalogChangeListener

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.

removeCatalogChangeListener

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

Parameters:
ccl - the listener to be removed.