public interface AcademyReceiver extends OsidReceiver
The academy receiver is the consumer supplied interface for receiving
notifications pertaining to new, updated or deleted Academy
objects.
Modifier and Type | Method and Description |
---|---|
void |
changedAcademy(Id academyId)
The callback for notification of updated academies.
|
void |
deletedAcademy(Id academyId)
the callback for notification of deleted academies.
|
void |
deletedAncestorAcademy(Id academyId,
Id ancestorId)
The callback for notifications of deleted ancestors of an academy.
|
void |
deletedDescendantAcademy(Id academyId,
Id descendantId)
The callback for notifications of deleted descendants of an academy.
|
void |
newAcademy(Id academyId)
The callback for notifications of new academies.
|
void |
newAncestorAcademy(Id academyId,
Id ancestorId)
The callback for notifications of new ancestors of an academy.
|
void |
newDescendantAcademy(Id academyId,
Id descendantId)
The callback for notifications of new descendant of an academy.
|
down, up
void newAcademy(Id academyId)
academyId
- the Id
of the new Academy
mandatory
- This method must be implemented. void newAncestorAcademy(Id academyId, Id ancestorId)
academyId
- the Id
of the registered
Academy
ancestorId
- the Id of the new ancestor academymandatory
- This method must be implemented. void newDescendantAcademy(Id academyId, Id descendantId)
academyId
- the Id
of the registered
Academy
descendantId
- the Id of the new descendant academymandatory
- This method must be implemented. void changedAcademy(Id academyId)
academyId
- the Id
of the updated Academy
mandatory
- This method must be implemented. void deletedAcademy(Id academyId)
academyId
- the Id
of the registered
Academy
mandatory
- This method must be implemented. void deletedAncestorAcademy(Id academyId, Id ancestorId)
academyId
- the Id
of the registered
Academy
ancestorId
- the Id of the removed ancestor academymandatory
- This method must be implemented. void deletedDescendantAcademy(Id academyId, Id descendantId)
academyId
- the Id
of the registered
Academy
descendantId
- the Id of the deleted descendant academymandatory
- This method must be implemented.