Interface ItemReceiver

All Superinterfaces:
OsidReceiver

public interface ItemReceiver extends OsidReceiver

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

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changedItems(Id notificationId, IdList itemIds)
    The callback for notification of updated items.
    void
    deletedItems(Id notificationId, IdList itemIds)
    the callback for notification of deleted items.
    void
    newItems(Id notificationId, IdList itemIds)
    The callback for notifications of new items.

    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

    • newItems

      void newItems(Id notificationId, IdList itemIds)
      The callback for notifications of new items.
      Parameters:
      notificationId - the notification Id
      itemIds - the Id of the new Items
      Compliance:
      mandatory - This method must be implemented.
    • changedItems

      void changedItems(Id notificationId, IdList itemIds)
      The callback for notification of updated items.
      Parameters:
      notificationId - the notification Id
      itemIds - the Id of the updated Items
      Compliance:
      mandatory - This method must be implemented.
    • deletedItems

      void deletedItems(Id notificationId, IdList itemIds)
      the callback for notification of deleted items.
      Parameters:
      notificationId - the notification Id
      itemIds - the Id of the deleted Items
      Compliance:
      mandatory - This method must be implemented.