public interface StockReceiver extends OsidReceiver
The stock receiver is the consumer supplied interface for receiving notifications pertaining to new, updated or deleted stock objects.
Modifier and Type | Method and Description |
---|---|
void |
changedStock(Id stockId)
The callback for notification of updated stocks.
|
void |
deletedAncestorStock(Id stockId,
Id ancestorId)
The callback for notifications of deleted stock ancestors.
|
void |
deletedDescendantStock(Id stockId,
Id descendantId)
The callback for notifications of deleted stock descendants.
|
void |
deletedStock(Id stockId)
The callback for notification of deleted stocks.
|
void |
newAncestorStock(Id stockId,
Id ancestorId)
The callback for notifications of new stock ancestors.
|
void |
newDescendantStock(Id stockId,
Id descendantId)
The callback for notifications of new stock descendants.
|
void |
newStock(Id stockId)
The callback for notifications of new stocks.
|
down, up
void newStock(Id stockId)
stockId
- the Id
of the new Stock
mandatory
- This method must be implemented. void newAncestorStock(Id stockId, Id ancestorId)
stockId
- the Id
of the Stock
ancestorId
- the Id
of the new Stock
ancestormandatory
- This method must be implemented. void newDescendantStock(Id stockId, Id descendantId)
stockId
- the Id
of the Stock
descendantId
- the Id
of the new Stock
descendantmandatory
- This method must be implemented. void changedStock(Id stockId)
stockId
- the Id
of the updated Stock
mandatory
- This method must be implemented. void deletedStock(Id stockId)
stockId
- the Id
of the deleted Stock
mandatory
- This method must be implemented. void deletedAncestorStock(Id stockId, Id ancestorId)
stockId
- the Id
of the Stock
ancestorId
- the Id
of the removed Stock
ancestormandatory
- This method must be implemented.