public interface JournalReceiver extends OsidReceiver
The journal receiver is the consumer supplied interface for receiving
notifications pertaining to new, updated or deleted Journal
objects.
Modifier and Type | Method and Description |
---|---|
void |
changedJournal(Id journalId)
The callback for notification of updated journals.
|
void |
deletedAncestorJournal(Id journalId,
Id ancestorId)
The callback for notifications of deleted ancestors of a journal.
|
void |
deletedDescendantJournal(Id journalId,
Id descendantId)
The callback for notifications of deleted descendants of a journal.
|
void |
deletedJournal(Id journalId)
the callback for notification of deleted journals.
|
void |
newAncestorJournal(Id journalId,
Id ancestorId)
The callback for notifications of new ancestors of a journal.
|
void |
newDescendantJournal(Id journalId,
Id descendantId)
The callback for notifications of new descendant of a journal.
|
void |
newJournal(Id journalId)
The callback for notifications of new journals.
|
down, up
void newJournal(Id journalId)
journalId
- the Id
of the new Journal
mandatory
- This method must be implemented. void newAncestorJournal(Id journalId, Id ancestorId)
journalId
- the Id
of the registered
Journal
ancestorId
- the Id of the new ancestor journalmandatory
- This method must be implemented. void newDescendantJournal(Id journalId, Id descendantId)
journalId
- the Id
of the registered
Journal
descendantId
- the Id of the new descendant journalmandatory
- This method must be implemented. void changedJournal(Id journalId)
journalId
- the Id
of the updated Journal
mandatory
- This method must be implemented. void deletedJournal(Id journalId)
journalId
- the Id
of the registered
Journal
mandatory
- This method must be implemented. void deletedAncestorJournal(Id journalId, Id ancestorId)
journalId
- the Id
of the registered
Journal
ancestorId
- the Id of the removed ancestor journalmandatory
- This method must be implemented. void deletedDescendantJournal(Id journalId, Id descendantId)
journalId
- the Id
of the registered
Journal
descendantId
- the Id of the deleted descendant journalmandatory
- This method must be implemented.