Interface WorkReceiver

All Superinterfaces:
OsidReceiver

public interface WorkReceiver extends OsidReceiver

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

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changedWorks(Id notificationId, IdList workIds)
    The callback for notification of updated works.
    void
    deletedWorks(Id notificationId, IdList workIds)
    The callback for notification of deleted works.
    void
    newWorks(Id notificationId, IdList workIds)
    The callback for notifications of new works.

    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

    • newWorks

      void newWorks(Id notificationId, IdList workIds)
      The callback for notifications of new works.
      Parameters:
      notificationId - the notification Id
      workIds - the Ids of the new Works
      Compliance:
      mandatory - This method must be implemented.
    • changedWorks

      void changedWorks(Id notificationId, IdList workIds)
      The callback for notification of updated works.
      Parameters:
      notificationId - the notification Id
      workIds - the Ids of the updated Works
      Compliance:
      mandatory - This method must be implemented.
    • deletedWorks

      void deletedWorks(Id notificationId, IdList workIds)
      The callback for notification of deleted works.
      Parameters:
      notificationId - the notification Id
      workIds - the Ids of the deleted Works
      Compliance:
      mandatory - This method must be implemented.