public interface ProductReceiver extends OsidReceiver
The product receiver is the consumer supplied interface for receiving
notifications pertaining to new, updated or deleted Product
objects.
Modifier and Type | Method and Description |
---|---|
void |
changedProduct(Id productId)
The callback for notification of updated products.
|
void |
deletedProduct(Id productId)
the callback for notification of deleted products.
|
void |
newProduct(Id productId)
The callback for notifications of new products.
|
down, up
void newProduct(Id productId)
productId
- the Id
of the new Product
mandatory
- This method must be implemented. void changedProduct(Id productId)
productId
- the Id
of the updated Product
mandatory
- This method must be implemented. void deletedProduct(Id productId)
productId
- the Id
of the registered
Product
mandatory
- This method must be implemented.