| Interface | osid.recipe.ProcedureNotificationSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | 
                 This session defines methods to receive notifications on 
                adds/changes to   | ||
| 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 | canRegisterForProcedureNotifications | ||
| 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 procedures 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 retrievals to this cook book only.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | registerForNewProcedures | ||
| Description | 
                     Register for notifications of new procedures.   | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedProcedures | ||
| Description | 
                     Registers for notification of updated procedures. 
                      | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedProcedure | ||
| Description | 
                     Registers for notification of an updated procedure. 
                      | ||
| Parameters | osid.id.Id | procedureId | the  Id  of the  Procedure  to monitor  | 
| Errors | NULL_ARGUMENT |  procedureId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedProcedures | ||
| Description | 
                     Registers for notification of deleted procedures. 
                      | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedProcedure | ||
| Description | 
                     Registers for notification of a deleted procedure. 
                      | ||
| Parameters | osid.id.Id | procedureId | the  Id  of the  Procedure  to monitor  | 
| Errors | NULL_ARGUMENT |  procedureId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |