| Interface | osid.recipe.CookbookNotificationSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | 
                 This session defines methods to receive notifications on 
                adds/changes to   Notifications are triggered with changes to the   | ||
| Method | canRegisterForCookbookNotifications | ||
| 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 | registerForNewCookbooks | ||
| Description | 
                     Register for notifications of new cook books.   | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForNewCookbookAncestors | ||
| Description | 
                     Registers for notification of an updated hierarchy 
                    structure that introduces a new ancestor of the specified 
                    cookbook.   | ||
| Parameters | osid.id.Id | cookbookId | the  Id  of the  Cookbook  node to monitor  | 
| Errors | NULL_ARGUMENT |  cookbookId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForNewCookbookDescendants | ||
| Description | 
                     Registers for notification of an updated hierarchy 
                    structure that introduces a new descendant of the 
                    specified cookbook.   | ||
| Parameters | osid.id.Id | cookbookId | the  Id  of the  Cookbook  node to monitor  | 
| Errors | NULL_ARGUMENT |  cookbookId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedCookbooks | ||
| Description | 
                     Registers for notification of updated cook books. 
                      | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedCookbook | ||
| Description | 
                     Registers for notification of an updated cookbook. 
                      | ||
| Parameters | osid.id.Id | cookbookId | the  Id  of the  Cookbook  to monitor  | 
| Errors | NULL_ARGUMENT |  cookbookId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedCookbooks | ||
| Description | 
                     Registers for notification of deleted cook books. 
                      | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedCookbook | ||
| Description | 
                     Registers for notification of a deleted cookbook. 
                      | ||
| Parameters | osid.id.Id | cookbookId | the  Id  of the  Cookbook  to monitor  | 
| Errors | NULL_ARGUMENT |  cookbookId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedCookbookAncestors | ||
| Description | 
                     Registers for notification of an updated hierarchy 
                    structure that removes an ancestor of the specified cook 
                    book   | ||
| Parameters | osid.id.Id | cookbookId | the  Id  of the  Cookbook  to monitor  | 
| Errors | NULL_ARGUMENT |  cookbookId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedCookbookDescendants | ||
| Description | 
                     Registers for notification of an updated hierarchy 
                    structure that removes a descendant of the specified 
                    cookbook.   | ||
| Parameters | osid.id.Id | cookbookId | the  Id  of the  Cookbook  to monitor  | 
| Errors | NULL_ARGUMENT |  cookbookId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |