Interface LessonReceiver

All Superinterfaces:
OsidReceiver

public interface LessonReceiver extends OsidReceiver

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

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changedLessons(Id notificationId, IdList lessonIds)
    The callback for notification of updated lessons.
    void
    deletedLessons(Id notificationId, IdList lessonIds)
    the callback for notification of deleted lessons.
    void
    newLessons(Id notificationId, IdList lessonIds)
    The callback for notifications of new lessons.

    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

    • newLessons

      void newLessons(Id notificationId, IdList lessonIds)
      The callback for notifications of new lessons.
      Parameters:
      notificationId - the notification Id
      lessonIds - the Ids of the new Lessons
      Compliance:
      mandatory - This method must be implemented.
    • changedLessons

      void changedLessons(Id notificationId, IdList lessonIds)
      The callback for notification of updated lessons.
      Parameters:
      notificationId - the notification Id
      lessonIds - the Ids of the updated Lessons
      Compliance:
      mandatory - This method must be implemented.
    • deletedLessons

      void deletedLessons(Id notificationId, IdList lessonIds)
      the callback for notification of deleted lessons.
      Parameters:
      notificationId - the notification Id
      lessonIds - the Ids of the registered Lessons
      Compliance:
      mandatory - This method must be implemented.