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 |
changedAcademies(IdList academyIds)
The callback for notification of updated academies.
|
void |
deletedAcademies(IdList academyIds)
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 |
newAcademies(IdList academyIds)
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.
|
void |
restructuredAcademyHierarchy()
The callback for notifications of changes to an academy hierarchy
where the hierarchy needs to refreshed.
|
down, up
void newAcademies(IdList academyIds)
academyIds
- the Ids
of the new Academies
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 changedAcademies(IdList academyIds)
academyIds
- the Ids
of the updated
Academies
mandatory
- This method must be implemented. void deletedAcademies(IdList academyIds)
academyIds
- the Ids
of the registered
Academies
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. void restructuredAcademyHierarchy()
mandatory
- This method must be implemented.