public interface HierarchyStructureReceiver extends OsidReceiver
The hierarchy receiver is the consumer supplied interface for receiving notifications pertaining to new, updated or deleted hierarchy nodes.
Modifier and Type | Method and Description |
---|---|
void |
deletedAncestor(Id nodeId,
Id ancestorId)
The callback for notification of a change to the node's ancestry.
|
void |
deletedDescendant(Id nodeId,
Id ancestorId)
The callback for notification of a change to the node's descendants.
|
void |
deletedNode(Id nodeId)
the callback for notification of deleted hierarchy nodes.
|
void |
newAncestor(Id nodeId,
Id ancestorId)
The callback for notification of a change to the node's ancestry.
|
void |
newDescendant(Id nodeId,
Id ancestorId)
The callback for notification of a change to the node's descendants.
|
void |
newNode(Id nodeId)
The callback for notifications of new hierarchy nodes.
|
down, up
void newNode(Id nodeId)
nodeId
- the Id
of the new nodemandatory
- This method must be implemented. void newAncestor(Id nodeId, Id ancestorId)
nodeId
- the Id
of the registered nodeancestorId
- the Id
of the new ancestormandatory
- This method must be implemented. void deletedAncestor(Id nodeId, Id ancestorId)
nodeId
- the Id
of the registered nodeancestorId
- the Id
of the deleted ancestormandatory
- This method must be implemented. void newDescendant(Id nodeId, Id ancestorId)
nodeId
- the Id
of the registered nodeancestorId
- the Id
of the new descednantmandatory
- This method must be implemented. void deletedDescendant(Id nodeId, Id ancestorId)
nodeId
- the Id
of the registered nodeancestorId
- the Id
of the deleted descednantmandatory
- This method must be implemented. void deletedNode(Id nodeId)
nodeId
- the Id
of the deleted nodemandatory
- This method must be implemented.