Interface PollsReceiver

All Superinterfaces:
OsidReceiver

public interface PollsReceiver extends OsidReceiver

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

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changedChildOfPolls(Id notificationId, IdList pollsIds)
    The callback for notifications of changes to children of polls hierarchy nodes.
    void
    changedPolls(Id notificationId, IdList pollsIds)
    The callback for notification of updated polls.
    void
    deletedPolls(Id notificationId, IdList pollsIds)
    The callback for notification of deleted polls.
    void
    newPolls(Id notificationId, IdList pollsIds)
    The callback for notifications of new polls.

    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

    • newPolls

      void newPolls(Id notificationId, IdList pollsIds)
      The callback for notifications of new polls.
      Parameters:
      notificationId - the notification Id
      pollsIds - the Ids of the new Polls
      Compliance:
      mandatory - This method must be implemented.
    • changedPolls

      void changedPolls(Id notificationId, IdList pollsIds)
      The callback for notification of updated polls.
      Parameters:
      notificationId - the notification Id
      pollsIds - the Ids of the updated Polls
      Compliance:
      mandatory - This method must be implemented.
    • deletedPolls

      void deletedPolls(Id notificationId, IdList pollsIds)
      The callback for notification of deleted polls.
      Parameters:
      notificationId - the notification Id
      pollsIds - the Ids of the deleted Polls
      Compliance:
      mandatory - This method must be implemented.
    • changedChildOfPolls

      void changedChildOfPolls(Id notificationId, IdList pollsIds)
      The callback for notifications of changes to children of polls hierarchy nodes.
      Parameters:
      notificationId - the notification Id
      pollsIds - the Ids of the Polls whose children have changed
      Compliance:
      mandatory - This method must be implemented.