Interface BookReceiver

All Superinterfaces:
OsidReceiver

public interface BookReceiver extends OsidReceiver

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

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changedBooks(Id notificationId, IdList bookIds)
    The callback for notification of updated books.
    void
    changedChildOfBooks(Id notificationId, IdList bookIds)
    The callback for notifications of changes to children of book hierarchy nodes.
    void
    deletedBooks(Id notificationId, IdList bookIds)
    the callback for notification of deleted books.
    void
    newBooks(Id notificationId, IdList bookIds)
    The callback for notifications of new books.

    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

    • newBooks

      void newBooks(Id notificationId, IdList bookIds)
      The callback for notifications of new books.
      Parameters:
      notificationId - the notification Id
      bookIds - the Ids of the new Books
      Compliance:
      mandatory - This method must be implemented.
    • changedBooks

      void changedBooks(Id notificationId, IdList bookIds)
      The callback for notification of updated books.
      Parameters:
      notificationId - the notification Id
      bookIds - the Ids of the updated Books
      Compliance:
      mandatory - This method must be implemented.
    • deletedBooks

      void deletedBooks(Id notificationId, IdList bookIds)
      the callback for notification of deleted books.
      Parameters:
      notificationId - the notification Id
      bookIds - the Ids of the registered Books
      Compliance:
      mandatory - This method must be implemented.
    • changedChildOfBooks

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