| Interface | osid.inventory.ModelNotificationSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Used By | osid.inventory.InventoryManager | ||
osid.inventory.InventoryProxyManager | |||
| 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 | getWarehouseId | ||
| Description |
Gets the | ||
| Return | osid.id.Id | the Warehouse Id associated with this session | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getWarehouse | ||
| Description |
Gets the | ||
| Return | osid.inventory.Warehouse | the warehouse | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canRegisterForModelNotifications | ||
| 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 | useFederatedWarehouseView | ||
| Description |
Federates the view for methods in this session. A federated view will include models in catalogs which are children of this catalog in the warehouse hierarchy. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useIsolatedWarehouseView | ||
| Description |
Isolates the view for methods in this session. An isolated view restricts notifications to this warehouse only. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | reliableModelNotifications | ||
| Description |
Reliable notifications are desired. In reliable mode,
notifications are to be acknowledged using
| ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | unreliableModelNotifications | ||
| Description |
Unreliable notifications are desired. In unreliable mode, notifications do not need to be acknowledged. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | acknowledgeModelNotification | ||
| Description |
Acknowledge a model 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 | registerForNewModels | ||
| Description |
Register for notifications of new models.
| ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedModels | ||
| Description |
Registers for notification of updated models.
| ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedModel | ||
| Description |
Registers for notification of an updated model.
| ||
| Parameters | osid.id.Id | modelId | the Id of the Model to monitor |
| Errors | NULL_ARGUMENT | modelId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedModels | ||
| Description |
Registers for notification of deleted models.
| ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedModel | ||
| Description |
Registers for notification of a deleted model.
| ||
| Parameters | osid.id.Id | modelId | the Id of the Model to monitor |
| Errors | NULL_ARGUMENT | modelId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |