public interface BookReceiver extends OsidReceiver
The book receiver is the consumer supplied interface for receiving
notifications pertaining to new, updated or deleted Book
objects.
Modifier and Type | Method and Description |
---|---|
void |
changedBook(Id bookId)
The callback for notification of updated books.
|
void |
deletedAncestorBook(Id bookId,
Id ancestorId)
The callback for notifications of deleted ancestors of a book.
|
void |
deletedBook(Id bookId)
the callback for notification of deleted books.
|
void |
deletedDescendantBook(Id bookId,
Id descendantId)
The callback for notifications of deleted descendants of a book.
|
void |
newAncestorBook(Id bookId,
Id ancestorId)
The callback for notifications of new ancestors of a book.
|
void |
newBook(Id bookId)
The callback for notifications of new books.
|
void |
newDescendantBook(Id bookId,
Id descendantId)
The callback for notifications of new descendant of a book.
|
down, up
void newBook(Id bookId)
bookId
- the Id
of the new Book
mandatory
- This method must be implemented. void newAncestorBook(Id bookId, Id ancestorId)
bookId
- the Id
of the registered Book
ancestorId
- the Id of the new ancestor bookmandatory
- This method must be implemented. void newDescendantBook(Id bookId, Id descendantId)
bookId
- the Id
of the registered Book
descendantId
- the Id of the new descendant bookmandatory
- This method must be implemented. void changedBook(Id bookId)
bookId
- the Id
of the updated Book
mandatory
- This method must be implemented. void deletedBook(Id bookId)
bookId
- the Id
of the registered Book
mandatory
- This method must be implemented. void deletedAncestorBook(Id bookId, Id ancestorId)
bookId
- the Id
of the registered Book
ancestorId
- the Id of the removed ancestor bookmandatory
- This method must be implemented. void deletedDescendantBook(Id bookId, Id descendantId)
bookId
- the Id
of the registered Book
descendantId
- the Id of the deleted descendant bookmandatory
- This method must be implemented.