|
SalesPoint v3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ListenableDataBasket
A DataBasket that will fire events to inform about changes to its contents.
Field Summary |
---|
Fields inherited from interface data.DataBasket |
---|
DEFAULTSUBBASKET_NAME, LOG_MODE_ALL, LOG_MODE_COMMITS_ONLY, LOG_MODE_NONE, LOG_MODE_ROLLBACKS_ONLY |
Method Summary | |
---|---|
void |
addDataBasketListener(DataBasketListener dbl)
Add a listener that will be informed about changes to the DataBasket's contents. |
void |
fireDataBasketChanged()
Fire an event to inform listeners about some unspecific change to the DataBasket's contents. |
void |
removeDataBasketListener(DataBasketListener dbl)
Remove a listener that was being informed about changes to the DataBasket's contents. |
Methods inherited from interface data.DataBasket |
---|
commit, commit, commitCurrentSubBasket, commitSubBasket, contains, exchange, get, getLogMode, iterator, put, rollback, rollback, rollbackCurrentSubBasket, rollbackSubBasket, setCurrentSubBasket, setLogContext, setLogMode, subBasketIterator, sumBasket, sumCurrentSubBasket, sumSubBasket |
Method Detail |
---|
void addDataBasketListener(DataBasketListener dbl)
dbl
- the listener.void removeDataBasketListener(DataBasketListener dbl)
dbl
- the listener.void fireDataBasketChanged()
This method is necessary as there may be changes that are made without calling methods in the DataBasket. In such cases a call to this method will be necessary to keep the listeners informed.
|
SalesPoint v3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |