public interface SubjectReceiver extends OsidReceiver
The subject receiver is the consumer supplied interface for receiving
notifications pertaining to new, updated or deleted Subjects.
Modifier and Type | Method and Description |
---|---|
void |
changedSubject(Id subjectId)
The callback for notification of updated subjects.
|
void |
deletedAncestorSubject(Id subjectId,
Id ancestorId)
The callback for notifications of deleted subject ancestors.
|
void |
deletedDescendantSubject(Id subjectId,
Id descendantId)
The callback for notifications of deleted subject descendants.
|
void |
deletedSubject(Id subjectId)
The callback for notification of deleted subjects.
|
void |
newAncestorSubject(Id subjectId,
Id ancestorId)
The callback for notifications of new subject ancestors.
|
void |
newDescendantSubject(Id subjectId,
Id descendantId)
The callback for notifications of new subject descendants.
|
void |
newSubject(Id subjectId)
The callback for notifications of new subjects.
|
down, up
void newSubject(Id subjectId)
subjectId
- the Id
of the new Subject
mandatory
- This method must be implemented. void newAncestorSubject(Id subjectId, Id ancestorId)
subjectId
- the Id of the Subject
ancestorId
- the Id
of the new ancestormandatory
- This method must be implemented. void newDescendantSubject(Id subjectId, Id descendantId)
subjectId
- the Id of the Subject
descendantId
- the Id of the new Subject
descendantmandatory
- This method must be implemented. void changedSubject(Id subjectId)
subjectId
- the Id
of the updated Subject
mandatory
- This method must be implemented. void deletedSubject(Id subjectId)
subjectId
- the Id
of the deleted Subject
mandatory
- This method must be implemented. void deletedAncestorSubject(Id subjectId, Id ancestorId)
subjectId
- the Id of the Subject
ancestorId
- the Id of the removed ancestormandatory
- This method must be implemented.