public interface CampusReceiver extends OsidReceiver
The campus receiver is the consumer supplied interface for receiving
notifications pertaining to new, updated or deleted Campus
objects.
| Modifier and Type | Method and Description |
|---|---|
void |
changedCampuses(IdList campusIds)
The callback for notification of updated campuses.
|
void |
deletedAncestorCampus(Id campusId,
Id ancestorId)
The callback for notifications of deleted ancestors of a campus.
|
void |
deletedCampuses(IdList campusIds)
the callback for notification of deleted campuses.
|
void |
deletedDescendantCampus(Id campusId,
Id descendantId)
The callback for notifications of deleted descendants of a campus.
|
void |
newAncestorCampus(Id campusId,
Id ancestorId)
The callback for notifications of new ancestors of a campus.
|
void |
newCampuses(IdList campusIds)
The callback for notifications of new campuses.
|
void |
newDescendantCampus(Id campusId,
Id descendantId)
The callback for notifications of new descendant of a campus.
|
void |
restructuredCampusHierarchy()
The callback for notifications of changes to a campus hierarchy where
the hierarchy needs to refreshed.
|
down, upvoid newCampuses(IdList campusIds)
campusIds - the Ids of the new Campuses
mandatory - This method must be implemented. void newAncestorCampus(Id campusId, Id ancestorId)
campusId - the Id of the registered Campus
ancestorId - the Id of the new ancestor campusmandatory - This method must be implemented. void newDescendantCampus(Id campusId, Id descendantId)
campusId - the Id of the registered Campus
descendantId - the Id of the new descendant campusmandatory - This method must be implemented. void changedCampuses(IdList campusIds)
campusIds - the Ids of the updated
Campuses mandatory - This method must be implemented. void deletedCampuses(IdList campusIds)
campusIds - the Ids of the registered
Campuses mandatory - This method must be implemented. void deletedAncestorCampus(Id campusId, Id ancestorId)
campusId - the Id of the registered Campus
ancestorId - the Id of the removed ancestor campusmandatory - This method must be implemented. void deletedDescendantCampus(Id campusId, Id descendantId)
campusId - the Id of the registered Campus
descendantId - the Id of the deleted descendant campusmandatory - This method must be implemented. void restructuredCampusHierarchy()
mandatory - This method must be implemented.