| Interface | osid.recipe.RecipeNotificationSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description |
This session defines methods to receive notifications on
adds/changes to The two views defined in this session correspond to the
views in the | ||
| Method | getCookbookId | ||
| Description |
Gets the | ||
| Return | osid.id.Id | the Cookbook Id associated with this session | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getCookbook | ||
| Description |
Gets the | ||
| Return | osid.recipe.Cookbook | the cookbook | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canRegisterForRecipeNotifications | ||
| Description |
Tests if this user can register for | ||
| Return | boolean | false if notification methods are not authorized,
true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | useFederatedCookbookView | ||
| Description |
Federates the view for methods in this session. A federated view will include recipes in cook books which are children of this cook book in the cook book hierarchy. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useIsolatedCookbookView | ||
| Description |
Isolates the view for methods in this session. An isolated view restricts notifications to this cook book only. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | registerForNewRecipes | ||
| Description |
Register for notifications of new recipes. | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedRecipes | ||
| Description |
Registers for notification of updated recipes. | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedRecipe | ||
| Description |
Registers for notification of an updated recipe. | ||
| Parameters | osid.id.Id | recipeId | the Id of the Recipe to monitor |
| Errors | NOT_FOUND | a recipe was not found in this cook book identified by the given Id
| |
| NULL_ARGUMENT | recipeId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedRecipes | ||
| Description |
Registers for notification of deleted recipes. | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedRecipe | ||
| Description |
Registers for notification of a deleted recipe. | ||
| Parameters | osid.id.Id | recipeId | the Id of the Recipe to monitor |
| Errors | NOT_FOUND | a recipe was not found identified by the given Id | |
| NULL_ARGUMENT | recipeId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |