Interface GraphReceiver

All Superinterfaces:
OsidReceiver

public interface GraphReceiver extends OsidReceiver

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

Like all OsidReceivers, notifications are delivered to GraphReceiver serially and a receiver method is not invoked again until any previous invocation has returned.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changedChildOfGraphs(Id notificationId, IdList graphIds)
    The callback for notifications of changes to children of graph hierarchy nodes.
    void
    changedGraphs(Id notificationId, IdList graphIds)
    The callback for notification of updated graph.
    void
    deletedGraphs(Id notificationId, IdList graphIds)
    The callback for notification of deleted graphs.
    void
    newGraphs(Id notificationId, IdList graphIds)
    The callback for notifications of new graphs.

    Methods inherited from interface OsidReceiver

    down, up
  • Method Details

    • newGraphs

      void newGraphs(Id notificationId, IdList graphIds)
      The callback for notifications of new graphs.
      Parameters:
      notificationId - the notification Id
      graphIds - the Ids of the new Graphs
      Compliance:
      mandatory - This method must be implemented.
    • changedGraphs

      void changedGraphs(Id notificationId, IdList graphIds)
      The callback for notification of updated graph.
      Parameters:
      notificationId - the notification Id
      graphIds - the Ids of the updated Graphs
      Compliance:
      mandatory - This method must be implemented.
    • deletedGraphs

      void deletedGraphs(Id notificationId, IdList graphIds)
      The callback for notification of deleted graphs.
      Parameters:
      notificationId - the notification Id
      graphIds - the Ids of the deleted Graphs
      Compliance:
      mandatory - This method must be implemented.
    • changedChildOfGraphs

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