public interface TermReceiver extends OsidReceiver
The term receiver is the consumer supplied interface for receiving
notifications pertaining to new, updated or deleted Term
objects.
| Modifier and Type | Method and Description |
|---|---|
void |
changedTerm(Id termId)
The callback for notification of updated terms.
|
void |
deletedAncestorTerm(Id termId,
Id ancestorId)
The callback for notifications of deleted term ancestors.
|
void |
deletedDescendantTerm(Id termId,
Id descendantId)
The callback for notifications of deleted term descendants.
|
void |
deletedTerm(Id termId)
The callback for notification of deleted terms.
|
void |
newAncestorTerm(Id termId,
Id ancestorId)
The callback for notifications of new term ancestors.
|
void |
newDescendantTerm(Id termId,
Id descendantId)
The callback for notifications of new term descendants.
|
void |
newTerm(Id termId)
The callback for notifications of new terms.
|
down, upvoid newTerm(Id termId)
termId - the Id of the new Term mandatory - This method must be implemented. void newAncestorTerm(Id termId, Id ancestorId)
termId - the Id of the Term ancestorId - the Id of the new Term
ancestormandatory - This method must be implemented. void newDescendantTerm(Id termId, Id descendantId)
termId - the Id of the Term descendantId - the Id of the new Term
descendantmandatory - This method must be implemented. void changedTerm(Id termId)
termId - the Id of the updated Term
mandatory - This method must be implemented. void deletedTerm(Id termId)
termId - the Id of the deleted Term
mandatory - This method must be implemented. void deletedAncestorTerm(Id termId, Id ancestorId)
termId - the Id of the Term ancestorId - the Id of the removed Term
ancestormandatory - This method must be implemented.