Interface ActivityUnitReceiver

All Superinterfaces:
OsidReceiver

public interface ActivityUnitReceiver extends OsidReceiver

The activity unit receiver is the consumer supplied interface for receiving notifications pertaining to new, updated or deleted ActivityUnit objects.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changedActivityUnits(Id notificationId, IdList activityUnitIds)
    The callback for notification of updated activity units.
    void
    deletedActivityUnits(Id notificationId, IdList activityUnitIds)
    the callback for notification of deleted activity units.
    void
    newActivityUnits(Id notificationId, IdList activityUnitIds)
    The callback for notifications of new activity units.

    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

    • newActivityUnits

      void newActivityUnits(Id notificationId, IdList activityUnitIds)
      The callback for notifications of new activity units.
      Parameters:
      notificationId - the notification Id
      activityUnitIds - the Ids of the new ActivityUnits
      Compliance:
      mandatory - This method must be implemented.
    • changedActivityUnits

      void changedActivityUnits(Id notificationId, IdList activityUnitIds)
      The callback for notification of updated activity units.
      Parameters:
      notificationId - the notification Id
      activityUnitIds - the Ids of the updated ActivityUnits
      Compliance:
      mandatory - This method must be implemented.
    • deletedActivityUnits

      void deletedActivityUnits(Id notificationId, IdList activityUnitIds)
      the callback for notification of deleted activity units.
      Parameters:
      notificationId - the notification Id
      activityUnitIds - the Ids of the deleted ActivityUnits
      Compliance:
      mandatory - This method must be implemented.