Interface CommentReceiver

All Superinterfaces:
OsidReceiver

public interface CommentReceiver extends OsidReceiver

The comment receiver is the consumer supplied interface for receiving notifications pertaining to new or deleted comments.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changedComments(Id notificationId, IdList commentIds)
    The callback for notifications of updated comments.
    void
    deletedComments(Id notificationId, IdList commentIds)
    the callback for notification of deleted comments.
    void
    newComments(Id notificationId, IdList commentIds)
    The callback for notifications of new comments.

    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

    • newComments

      void newComments(Id notificationId, IdList commentIds)
      The callback for notifications of new comments.
      Parameters:
      notificationId - the notification Id
      commentIds - the Ids of the new comments
      Compliance:
      mandatory - This method must be implemented.
    • changedComments

      void changedComments(Id notificationId, IdList commentIds)
      The callback for notifications of updated comments.
      Parameters:
      notificationId - the notification Id
      commentIds - the Ids of the updated comments
      Compliance:
      mandatory - This method must be implemented.
    • deletedComments

      void deletedComments(Id notificationId, IdList commentIds)
      the callback for notification of deleted comments.
      Parameters:
      notificationId - the notification Id
      commentIds - the Ids of the deleted comments
      Compliance:
      mandatory - This method must be implemented.