Interface StockReceiver

All Superinterfaces:
OsidReceiver

public interface StockReceiver extends OsidReceiver

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

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changedChildOfStocks(Id notificationId, IdList stockIds)
    The callback for notifications of changes to children of stock hierarchy nodes.
    void
    changedStocks(Id notificationId, IdList stockIds)
    The callback for notification of updated stocks.
    void
    deletedStocks(Id notificationId, IdList stockIds)
    The callback for notification of deleted stocks.
    void
    newStocks(Id notificationId, IdList stockIds)
    The callback for notifications of new stocks.

    Methods inherited from interface OsidReceiver

    down, up
    Modifier and Type
    Method
    Description
    void
    The callback for notifications that the notification bus is not operating.
    void
    up()
    The callback for notifications that the notification bus is operational.
  • Method Details

    • newStocks

      void newStocks(Id notificationId, IdList stockIds)
      The callback for notifications of new stocks.
      Parameters:
      notificationId - the notification Id
      stockIds - the Ids of the new Stocks
      Compliance:
      mandatory - This method must be implemented.
    • changedStocks

      void changedStocks(Id notificationId, IdList stockIds)
      The callback for notification of updated stocks.
      Parameters:
      notificationId - the notification Id
      stockIds - the Ids of the updated Stocks
      Compliance:
      mandatory - This method must be implemented.
    • deletedStocks

      void deletedStocks(Id notificationId, IdList stockIds)
      The callback for notification of deleted stocks.
      Parameters:
      notificationId - the notification Id
      stockIds - the Ids of the deleted Stocks
      Compliance:
      mandatory - This method must be implemented.
    • changedChildOfStocks

      void changedChildOfStocks(Id notificationId, IdList stockIds)
      The callback for notifications of changes to children of stock hierarchy nodes.
      Parameters:
      notificationId - the notification Id
      stockIds - the Ids of the Stocks whose children have changed
      Compliance:
      mandatory - This method must be implemented.