Interface TextReceiver

All Superinterfaces:
OsidReceiver

public interface TextReceiver extends OsidReceiver

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

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changedText(Id notificationId, IdList textIds)
    The callback for notification of updated texts.
    void
    deletedText(Id notificationId, IdList textIds)
    The callback for notification of deleted texts.
    void
    newText(Id notificationId, IdList textIds)
    The callback for notifications of new texts.

    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

    • newText

      void newText(Id notificationId, IdList textIds)
      The callback for notifications of new texts.
      Parameters:
      notificationId - the notification Id
      textIds - the Ids of the new Texts
      Compliance:
      mandatory - This method must be implemented.
    • changedText

      void changedText(Id notificationId, IdList textIds)
      The callback for notification of updated texts.
      Parameters:
      notificationId - the notification Id
      textIds - the Ids of the updated Texts
      Compliance:
      mandatory - This method must be implemented.
    • deletedText

      void deletedText(Id notificationId, IdList textIds)
      The callback for notification of deleted texts.
      Parameters:
      notificationId - the notification Id
      textIds - the Ids of the deleted Texts
      Compliance:
      mandatory - This method must be implemented.