public interface CookbookReceiver extends OsidReceiver
The cook book receiver is the consumer supplied interface for receiving
notifications pertaining to new, updated or deleted Cookbook
objects.
Modifier and Type | Method and Description |
---|---|
void |
changedCookbooks(IdList cookbookIds)
The callback for notification of updated cook books.
|
void |
deletedAncestorCookbook(Id cookbookId,
Id ancestorId)
The callback for notifications of deleted ancestors of a cookbook.
|
void |
deletedCookbooks(IdList cookbookIds)
the callback for notification of deleted cook books.
|
void |
deletedDescendantCookbook(Id cookbookId,
Id descendantId)
The callback for notifications of deleted descendants of a cookbook.
|
void |
newAncestorCookbook(Id cookbookId,
Id ancestorId)
The callback for notifications of new ancestors of a cookbook.
|
void |
newCookbooks(IdList cookbookIds)
The callback for notifications of new cook books.
|
void |
newDescendantCookbook(Id cookbookId,
Id descendantId)
The callback for notifications of new descendant of a cookbook.
|
void |
restructuredCookbookHierarchy()
The callback for notifications of changes to a cookbook hierarchy
where the hierarchy needs to refreshed.
|
down, up
void newCookbooks(IdList cookbookIds)
cookbookIds
- the Ids
of the new Cookbooks
mandatory
- This method must be implemented. void newAncestorCookbook(Id cookbookId, Id ancestorId)
cookbookId
- the Id
of the registered
Cookbook
ancestorId
- the Id of the new ancestor cookbookmandatory
- This method must be implemented. void newDescendantCookbook(Id cookbookId, Id descendantId)
cookbookId
- the Id
of the registered
Cookbook
descendantId
- the Id of the new descendant cookbookmandatory
- This method must be implemented. void changedCookbooks(IdList cookbookIds)
cookbookIds
- the Ids
of the updated
Cookbooks
mandatory
- This method must be implemented. void deletedCookbooks(IdList cookbookIds)
cookbookIds
- the Ids
of the registered
Cookbooks
mandatory
- This method must be implemented. void deletedAncestorCookbook(Id cookbookId, Id ancestorId)
cookbookId
- the Id
of the registered
Cookbook
ancestorId
- the Id of the removed ancestor cookbookmandatory
- This method must be implemented. void deletedDescendantCookbook(Id cookbookId, Id descendantId)
cookbookId
- the Id
of the registered
Cookbook
descendantId
- the Id of the deleted descendant cookbookmandatory
- This method must be implemented. void restructuredCookbookHierarchy()
mandatory
- This method must be implemented.