public interface GraphReceiver extends OsidReceiver
The graph receiver is the consumer supplied interface for receiving
notifications pertaining to new, updated or deleted Graph
objects.
Modifier and Type | Method and Description |
---|---|
void |
changedGraph(Id graphId)
The callback for notification of updated graph.
|
void |
deletedAncestorGraph(Id graphId,
Id ancestorId)
The callback for notifications of deleted graph ancestors.
|
void |
deletedDescendantGraph(Id graphId,
Id descendantId)
The callback for notifications of deleted graph descendants.
|
void |
deletedGraph(Id graphId)
The callback for notification of deleted graphs.
|
void |
newAncestorGraph(Id graphId,
Id ancestorId)
The callback for notifications of new graph ancestors.
|
void |
newDescendantGraph(Id graphId,
Id descendantId)
The callback for notifications of new graph descendants.
|
void |
newGraph(Id graphId)
The callback for notifications of new graphs.
|
down, up
void newGraph(Id graphId)
graphId
- the Id
of the new Graph
mandatory
- This method must be implemented. void newAncestorGraph(Id graphId, Id ancestorId)
graphId
- the Id
of the Graph
ancestorId
- the Id
of the new Graph
ancestormandatory
- This method must be implemented. void newDescendantGraph(Id graphId, Id descendantId)
graphId
- the Id
of the Graph
descendantId
- the Id
of the new Graph
descendantmandatory
- This method must be implemented. void changedGraph(Id graphId)
graphId
- the Id
of the updated Graph
mandatory
- This method must be implemented. void deletedGraph(Id graphId)
graphId
- the Id
of the deleted Graph
mandatory
- This method must be implemented. void deletedAncestorGraph(Id graphId, Id ancestorId)
graphId
- the Id
of the Graph
ancestorId
- the Id
of the removed Graph
ancestormandatory
- This method must be implemented.