| Interface | osid.recipe.ProcedureNotificationSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Used By | osid.recipe.RecipeManager | ||
osid.recipe.RecipeProxyManager | |||
| 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 cookbooks which are children of this cookbook in the cookbook 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 cookbook only. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | reliableProcedureNotifications | ||
| Description |
Reliable notifications are desired. In reliable mode,
notifications are to be acknowledged using
| ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | unreliableProcedureNotifications | ||
| Description |
Unreliable notifications are desired. In unreliable mode, notifications do not need to be acknowledged. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | acknowledgeProcedureNotification | ||
| Description |
Acknowledge a procedure notification. | ||
| Parameters | osid.id.Id | notificationId | the Id of the notification |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method 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. | |