Interface ProgramOfferingReceiver

All Superinterfaces:
OsidReceiver

public interface ProgramOfferingReceiver extends OsidReceiver

The program offering receiver is the consumer supplied interface for receiving notifications pertaining to new, updated or deleted program offerings.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changedProgramOfferings(Id notificationId, IdList programOfferingIds)
    The callback for notification of updated program offerings.
    void
    deletedProgramOfferings(Id notificationId, IdList programOfferingIds)
    The callback for notification of deleted program offerings.
    void
    newProgramOfferings(Id notificationId, IdList programOfferingIds)
    The callback for notifications of new program offerings.

    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

    • newProgramOfferings

      void newProgramOfferings(Id notificationId, IdList programOfferingIds)
      The callback for notifications of new program offerings.
      Parameters:
      notificationId - the notification Id
      programOfferingIds - the Ids of the new ProgramOfferings
      Compliance:
      mandatory - This method must be implemented.
    • changedProgramOfferings

      void changedProgramOfferings(Id notificationId, IdList programOfferingIds)
      The callback for notification of updated program offerings.
      Parameters:
      notificationId - the notification Id
      programOfferingIds - the Ids of the updated ProgramOfferings
      Compliance:
      mandatory - This method must be implemented.
    • deletedProgramOfferings

      void deletedProgramOfferings(Id notificationId, IdList programOfferingIds)
      The callback for notification of deleted program offerings.
      Parameters:
      notificationId - the notification Id
      programOfferingIds - the Ids of the deleted ProgramOfferings
      Compliance:
      mandatory - This method must be implemented.