|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.jp.protection.priv.products.ProductsStorageAdapter
public class ProductsStorageAdapter
Provides default convenience implementation of the ProductsStorageListener interface
| Constructor Summary | |
|---|---|
ProductsStorageAdapter()
|
|
| Method Summary | |
|---|---|
void |
beforeProductsStorageSave(ProductsStorage aProductsStorage)
Invoked before products storage will be saved. |
void |
productAdded(ProductsStorage aProductsStorage,
Product aProduct)
Invoked after a product has been added to the product storage |
void |
productDeleted(ProductsStorage aProductsStorage,
Product aProduct)
Invoked after a product has been deleted from the product storage |
void |
productsStorageLoaded(ProductsStorage aProductsStorage)
Invoked after products storage has been loaded |
void |
productsStorageSaved(ProductsStorage aProductsStorage)
Invoked after products storage has been saved |
void |
productUpdated(ProductsStorage aProductsStorage,
Product aProduct)
Invoked after a product has been updated |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProductsStorageAdapter()
| Method Detail |
|---|
public void productsStorageLoaded(ProductsStorage aProductsStorage)
ProductsStorageListener
productsStorageLoaded in interface ProductsStorageListeneraProductsStorage - products storagepublic void beforeProductsStorageSave(ProductsStorage aProductsStorage)
ProductsStorageListener
beforeProductsStorageSave in interface ProductsStorageListeneraProductsStorage - products storagepublic void productsStorageSaved(ProductsStorage aProductsStorage)
ProductsStorageListener
productsStorageSaved in interface ProductsStorageListeneraProductsStorage - products storage
public void productAdded(ProductsStorage aProductsStorage,
Product aProduct)
ProductsStorageListener
productAdded in interface ProductsStorageListeneraProductsStorage - products storageaProduct - Product a product has been added to the product storage
public void productDeleted(ProductsStorage aProductsStorage,
Product aProduct)
ProductsStorageListener
productDeleted in interface ProductsStorageListeneraProductsStorage - products storageaProduct - Product a product has been deleted from the product storage
public void productUpdated(ProductsStorage aProductsStorage,
Product aProduct)
ProductsStorageListener
productUpdated in interface ProductsStorageListeneraProductsStorage - products storageaProduct - Product a product has been updated
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||