Interface CourseReceiver

All Superinterfaces:
OsidReceiver

public interface CourseReceiver extends OsidReceiver

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

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changedCourses(Id notificationId, IdList courseIds)
    The callback for notification of updated courses.
    void
    deletedCourses(Id notificationId, IdList courseIds)
    the callback for notification of deleted courses.
    void
    newCourses(Id notificationId, IdList courseIds)
    The callback for notifications of new courses.

    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

    • newCourses

      void newCourses(Id notificationId, IdList courseIds)
      The callback for notifications of new courses.
      Parameters:
      notificationId - the notification Id
      courseIds - the Ids of the new Courses
      Compliance:
      mandatory - This method must be implemented.
    • changedCourses

      void changedCourses(Id notificationId, IdList courseIds)
      The callback for notification of updated courses.
      Parameters:
      notificationId - the notification Id
      courseIds - the Ids of the updated Courses
      Compliance:
      mandatory - This method must be implemented.
    • deletedCourses

      void deletedCourses(Id notificationId, IdList courseIds)
      the callback for notification of deleted courses.
      Parameters:
      notificationId - the notification Id
      courseIds - the Ids of the deleted Courses
      Compliance:
      mandatory - This method must be implemented.