OSID Logo
OSID Specifications
inventory package
Version 3.0.0
Release Candidate Preview
Interfaceosid.inventory.StockReceiver
Implementsosid.OsidReceiver
Description

The stock receiver is the consumer supplied interface for receiving notifications pertaining to new, updated or deleted stock objects.

MethodnewStocks
Description

The callback for notifications of new stocks.

Parametersosid.id.IdListstockIdsthe Ids of the new Stocks
CompliancemandatoryThis method must be implemented.
MethodnewAncestorStock
Description

The callback for notifications of new stock ancestors.

Parametersosid.id.IdstockIdthe Id of the Stock
osid.id.IdancestorIdthe Id of the new Stock ancestor
CompliancemandatoryThis method must be implemented.
MethodnewDescendantStock
Description

The callback for notifications of new stock descendants.

Parametersosid.id.IdstockIdthe Id of the Stock
osid.id.IddescendantIdthe Id of the new Stock descendant
CompliancemandatoryThis method must be implemented.
MethodchangedStocks
Description

The callback for notification of updated stocks.

Parametersosid.id.IdListstockIdsthe Ids of the updated Stocks
CompliancemandatoryThis method must be implemented.
MethoddeletedStocks
Description

The callback for notification of deleted stocks.

Parametersosid.id.IdListstockIdsthe Ids of the deleted Stocks
CompliancemandatoryThis method must be implemented.
MethoddeletedAncestorStock
Description

The callback for notifications of deleted stock ancestors.

Parametersosid.id.IdstockIdthe Id of the Stock
osid.id.IdancestorIdthe Id of the removed Stock ancestor
CompliancemandatoryThis method must be implemented.
MethoddeletedDescendantStock
Description

The callback for notifications of deleted stock descendants.

Parametersosid.id.IdstockIdthe Id of the Stock
osid.id.IddescendantIdthe Id of the removed Stock descendant
CompliancemandatoryThis method must be implemented.
MethodrestructuredStockHierarchy
Description

The callback for notifications of changes to a stock hierarchy where the hierarchy needs to refreshed.

CompliancemandatoryThis method must be implemented.