|
||||||||||
| 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>
org.salespointframework.core.data.CountingStockChangeEvent<T,CT>
class CountingStockChangeEvent<T extends StockItemImpl,CT extends CatalogItemImpl>
StockChangeEvent that desribes changes in a CountingStock's contents.
| Field Summary | |
|---|---|
private int |
m_nCount
The number of affected items. |
private java.lang.String |
m_sKey
The affected key. |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
CountingStockChangeEvent(CountingStockImpl<T,CT> csiSource,
DataBasket dbBasket,
java.lang.String sKey,
int nCount)
Create a new CountingStockChangeEvent. |
|
| Method Summary | |
|---|---|
int |
countAffectedItems()
Get the number of affected items. |
java.util.Iterator<T> |
getAffectedItems()
Get the affected items. |
java.lang.String |
getAffectedKey()
Get the affected key. |
| Methods inherited from class org.salespointframework.core.data.events.StockChangeEvent |
|---|
getBasket |
| 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 int m_nCount
private java.lang.String m_sKey
| Constructor Detail |
|---|
public CountingStockChangeEvent(CountingStockImpl<T,CT> csiSource,
DataBasket dbBasket,
java.lang.String sKey,
int nCount)
csiSource - the Stock that triggers the event.dbBasket - the DataBasket that was used to perform the operation.sKey - the affected key.nCount - the number of affected items.| Method Detail |
|---|
public java.lang.String getAffectedKey()
getAffectedKey in class StockChangeEvent<T extends StockItemImpl,CT extends CatalogItemImpl>public int countAffectedItems()
countAffectedItems in class StockChangeEvent<T extends StockItemImpl,CT extends CatalogItemImpl>public java.util.Iterator<T> getAffectedItems()
getAffectedItems in class StockChangeEvent<T extends StockItemImpl,CT extends CatalogItemImpl>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||