|
SalesPoint v3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StockChangeListener<T extends StockItem,CT extends CatalogItem>
Listener listening for StockChangeEvents.
Method Summary | |
---|---|
void |
addedStockItems(StockChangeEvent<T,CT> e)
Called whenever StockItems were added to the Stock. |
void |
canEditStockItems(StockChangeEvent<T,CT> e)
Called to ask whether certain StockItems may be edited. |
void |
canRemoveStockItems(StockChangeEvent<T,CT> e)
Called to ask whether certain StockItems may be removed. |
void |
commitAddStockItems(StockChangeEvent<T,CT> e)
Called whenever the adding of StockItems was commited. |
void |
commitEditStockItems(StockChangeEvent<T,CT> e)
Called whenever the editing of StockItems was commited. |
void |
commitRemoveStockItems(StockChangeEvent<T,CT> e)
Called whenever the removal of StockItems was commited. |
void |
editingStockItems(StockChangeEvent<T,CT> e)
Called whenever the Stock began editing StockItems. |
void |
noEditStockItems(StockChangeEvent<T,CT> e)
Called for each listener that already agreed with an editing that was then rejected by another listener. |
void |
noRemoveStockItems(StockChangeEvent<T,CT> e)
Called for each listener that already agreed with a removal that was then rejected by another listener. |
void |
removedStockItems(StockChangeEvent<T,CT> e)
Called whenever StockItems were removed from the Stock. |
void |
rollbackAddStockItems(StockChangeEvent<T,CT> e)
Called whenever the adding of StockItems was rolled back. |
void |
rollbackEditStockItems(StockChangeEvent<T,CT> e)
Called whenever the editing of StockItems was rolled back. |
void |
rollbackRemoveStockItems(StockChangeEvent<T,CT> e)
Called whenever the removal of StockItems was rolled back. |
Method Detail |
---|
void addedStockItems(StockChangeEvent<T,CT> e)
e
- an event object describing the event.void commitAddStockItems(StockChangeEvent<T,CT> e)
e
- an event object describing the event.void rollbackAddStockItems(StockChangeEvent<T,CT> e)
e
- an event object describing the event.void canRemoveStockItems(StockChangeEvent<T,CT> e) throws VetoException
noRemoveStockItems
event.
e
- an event object describing the event.
VetoException
- if the listener wants to veto the removal.void noRemoveStockItems(StockChangeEvent<T,CT> e)
e
- an event object describing the event.void removedStockItems(StockChangeEvent<T,CT> e)
e
- an event object describing the event.void commitRemoveStockItems(StockChangeEvent<T,CT> e)
e
- an event object describing the event.void rollbackRemoveStockItems(StockChangeEvent<T,CT> e)
e
- an event object describing the event.void canEditStockItems(StockChangeEvent<T,CT> e) throws VetoException
noEditStockItems
event.
e
- an event object describing the event.
VetoException
- if the listener wants to veto the editing.void noEditStockItems(StockChangeEvent<T,CT> e)
e
- an event object describing the event.void editingStockItems(StockChangeEvent<T,CT> e)
removedStockItems
and a addedStockItems
event, but this is implementation
specific.
e
- an event object describing the event.void commitEditStockItems(StockChangeEvent<T,CT> e)
e
- an event object describing the event.void rollbackEditStockItems(StockChangeEvent<T,CT> e)
e
- an event object describing the event.
|
SalesPoint v3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |