|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
org.salespointframework.core.data.events.StockChangeEvent<T,CT>
public abstract class StockChangeEvent<T extends StockItem,CT extends CatalogItem>
Abstract super class of all events indicating changes in a Stock's contents.
The concrete implementations depend on the concrete implementations of the Stock interface.
Field Summary | |
---|---|
private DataBasket |
m_dbBasket
The DataBasket that was used to perform the operation. |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
StockChangeEvent(ListenableStock<T,CT> lstSource,
DataBasket dbBasket)
Create a new StockChangeEvent. |
Method Summary | |
---|---|
abstract int |
countAffectedItems()
Count the items affected by this event. |
abstract java.util.Iterator<T> |
getAffectedItems()
Get the items that are affected by the event. |
abstract java.lang.String |
getAffectedKey()
Get the name of the items that are affected by the event. |
DataBasket |
getBasket()
Get the DataBasket used for the operation. |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private DataBasket m_dbBasket
Constructor Detail |
---|
public StockChangeEvent(ListenableStock<T,CT> lstSource, DataBasket dbBasket)
lstSource
- the Stock that triggers the event.dbBasket
- the basket used for the operation.Method Detail |
---|
public abstract java.lang.String getAffectedKey()
public abstract int countAffectedItems()
public abstract java.util.Iterator<T> getAffectedItems()
public DataBasket getBasket()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |