Interface ModelReceiver

All Superinterfaces:
OsidReceiver

public interface ModelReceiver extends OsidReceiver

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

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changedModels(Id notificationId, IdList modelIds)
    The callback for notification of updated models.
    void
    deletedModels(Id notificationId, IdList modelIds)
    The callback for notification of deleted models.
    void
    newModels(Id notificationId, IdList modelIds)
    The callback for notifications of new models.

    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

    • newModels

      void newModels(Id notificationId, IdList modelIds)
      The callback for notifications of new models.
      Parameters:
      notificationId - the notification Id
      modelIds - the Ids of the new Models
      Compliance:
      mandatory - This method must be implemented.
    • changedModels

      void changedModels(Id notificationId, IdList modelIds)
      The callback for notification of updated models.
      Parameters:
      notificationId - the notification Id
      modelIds - the Ids of the updated Models
      Compliance:
      mandatory - This method must be implemented.
    • deletedModels

      void deletedModels(Id notificationId, IdList modelIds)
      The callback for notification of deleted models.
      Parameters:
      notificationId - the notification Id
      modelIds - the Ids of the deleted Models
      Compliance:
      mandatory - This method must be implemented.