Interface TodoReceiver

All Superinterfaces:
OsidReceiver

public interface TodoReceiver extends OsidReceiver

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

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changedChildOfTodos(Id notificationId, IdList todoIds)
    The callback for notifications of changes to children of todo hierarchy nodes.
    void
    changedTodos(Id notificationId, IdList todoIds)
    The callback for notifications of updated todos.
    void
    deletedTodos(Id notificationId, IdList todoIds)
    the callback for notification of deleted todos.
    void
    newTodos(Id notificationId, IdList todoIds)
    The callback for notifications of new todos.

    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

    • newTodos

      void newTodos(Id notificationId, IdList todoIds)
      The callback for notifications of new todos.
      Parameters:
      notificationId - the notification Id
      todoIds - the Ids of the new todos
      Compliance:
      mandatory - This method must be implemented.
    • changedTodos

      void changedTodos(Id notificationId, IdList todoIds)
      The callback for notifications of updated todos.
      Parameters:
      notificationId - the notification Id
      todoIds - the Ids of the updated todos
      Compliance:
      mandatory - This method must be implemented.
    • deletedTodos

      void deletedTodos(Id notificationId, IdList todoIds)
      the callback for notification of deleted todos.
      Parameters:
      notificationId - the notification Id
      todoIds - the Ids of the deleted todos
      Compliance:
      mandatory - This method must be implemented.
    • changedChildOfTodos

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