SalesPoint Framework v3.0

data.events
Class CatalogChangeEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--data.events.CatalogChangeEvent

public class CatalogChangeEvent
extends EventObject

An event indicating a change in a Catalog's contents.

Since:
v2.0
Version:
2.0 19/08/1999
Author:
Steffen Zschaler
See Also:
ListenableCatalog, Serialized Form

Fields inherited from class java.util.EventObject
source
 
Constructor Summary
CatalogChangeEvent(ListenableCatalog lcSource, CatalogItem ciAffected, DataBasket db)
          Create a new CatalogChangeEvent.
 
Method Summary
 CatalogItem getAffectedItem()
          Get the item that is affected by the change.
 DataBasket getBasket()
          Get the DataBasket that was used to perform 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
 

Constructor Detail

CatalogChangeEvent

public CatalogChangeEvent(ListenableCatalog lcSource,
                          CatalogItem ciAffected,
                          DataBasket db)
Create a new CatalogChangeEvent.
Parameters:
lcSource - the Catalog that triggers the event.
ciAffected - the affected CatalogItem.
db - the DataBasket that was used to perform the operation.
Method Detail

getAffectedItem

public CatalogItem getAffectedItem()
Get the item that is affected by the change.
Override:
Never.

getBasket

public DataBasket getBasket()
Get the DataBasket that was used to perform the operation.
Override:
Never.

SalesPoint Framework v3.0