org.salespointframework.core.data.interfaces
Interface ListenableStock<T extends StockItem,CT extends CatalogItem>
- All Superinterfaces:
- java.lang.Cloneable, java.lang.Comparable<java.lang.Object>, DataBasketEntryDestination, DataBasketEntrySource, DatasourceChangeListener, ExternalModificationListener, Nameable, SpItem, Stock<T,CT>, StockItem
- All Known Implementing Classes:
- AbstractStockFilter, CountingStockFilter, CountingStockImpl, MoneyBagFilter, MoneyBagImpl, StockImpl, StoringStockFilter, StoringStockImpl
public interface ListenableStock<T extends StockItem,CT extends CatalogItem>
- extends Stock<T,CT>
A Stock that will fire events to inform about changes to its contents.
- Since:
- v2.0
- Version:
- 2.0 18/08/1999
- Author:
- Steffen Zschaler
Methods inherited from interface org.salespointframework.core.data.interfaces.Stock |
add, addStock, contains, contains, containsStock, countItems, fillStockWithValue, get, getCatalog, iterator, keySet, remove, remove, size, sumStock |
Methods inherited from interface java.lang.Comparable |
compareTo |
Methods inherited from interface org.salespointframework.core.data.interfaces.SpItem |
getName |
addStockChangeListener
void addStockChangeListener(StockChangeListener scl)
- Add a listener that will be informed about changes to the Stock's contents.
- Parameters:
scl
- the listener
removeStockChangeListener
void removeStockChangeListener(StockChangeListener scl)
- Remove a listener that was being informed about changes to the Stock's contents.
- Parameters:
scl
- the listener