Interface PostReceiver

All Superinterfaces:
OsidReceiver

public interface PostReceiver extends OsidReceiver

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

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changedPosts(Id notificationId, IdList postIds)
    The callback for notification of updated posts.
    void
    deletedPosts(Id notificationId, IdList postIds)
    The callback for notification of deleted posts.
    void
    newPosts(Id notificationId, IdList postIds)
    The callback for notifications of new posts.

    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

    • newPosts

      void newPosts(Id notificationId, IdList postIds)
      The callback for notifications of new posts.
      Parameters:
      notificationId - the notification Id
      postIds - the Ids of the new Posts
      Compliance:
      mandatory - This method must be implemented.
    • changedPosts

      void changedPosts(Id notificationId, IdList postIds)
      The callback for notification of updated posts.
      Parameters:
      notificationId - the notification Id
      postIds - the Ids of the updated Posts
      Compliance:
      mandatory - This method must be implemented.
    • deletedPosts

      void deletedPosts(Id notificationId, IdList postIds)
      The callback for notification of deleted posts.
      Parameters:
      notificationId - the notification Id
      postIds - the Ids of the deleted Posts
      Compliance:
      mandatory - This method must be implemented.