| Interface | osid.inventory.InventoryNotificationSession | ||
|---|---|---|---|
| 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 | 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 | canRegisterForInventoryNotifications | ||
| 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 inventories 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 | registerForNewInventories | ||
| Description |
Register for notifications of new inventories. | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForNewInventoriesForStock | ||
| Description |
Register for notifications of new inventories for the
given stock. | ||
| Parameters | osid.id.Id | stockId | the Id of the Stock to monitor |
| Errors | NULL_ARGUMENT | stock is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedInventories | ||
| Description |
Registers for notification of updated inventories.
| ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedInventoriesForStock | ||
| Description |
Registers for notification of updated inventories for
the given stock. | ||
| Parameters | osid.id.Id | stockId | the Id of the Stock to monitor |
| Errors | NULL_ARGUMENT | stock is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedInventory | ||
| Description |
Registers for notification of an updated inventory.
| ||
| Parameters | osid.id.Id | inventoryId | the Id of the Inventory to monitor |
| Errors | NULL_ARGUMENT | inventoryId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedInventories | ||
| Description |
Registers for notification of deleted inventories.
| ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedInventoriesForStock | ||
| Description |
Registers for notification of deleted inventories for
the given stock. | ||
| Parameters | osid.id.Id | stockId | the Id of the Stock to monitor |
| Errors | NULL_ARGUMENT | stock is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedInventory | ||
| Description |
Registers for notification of a deleted inventory.
| ||
| Parameters | osid.id.Id | inventoryId | the Id of the Inventory to monitor |
| Errors | NULL_ARGUMENT | inventoryId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |