Interface | osid.inventory.WarehouseNotificationSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session defines methods to receive notifications on
adds/changes to | ||
Method | canRegisterForWarehouseNotifications | ||
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 | registerForNewWarehouses | ||
Description |
Register for notifications of new warehouses. | ||
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForNewWarehouseAncestors | ||
Description |
Registers for notification if an ancestor is added to
the specified warehouse in the warehouse hierarchy. | ||
Parameters | osid.id.Id | warehouseId | the Id of the warehouse to monitor |
Errors | NULL_ARGUMENT | warehouseId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForNewWarehouseDescendants | ||
Description |
Registers for notification if a descendant is added to
the specified warehouse in the warehouse hierarchy. | ||
Parameters | osid.id.Id | warehouseId | the Id of the warehouse to monitor |
Errors | NULL_ARGUMENT | warehouseId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForChangedWarehouses | ||
Description |
Registers for notification of updated warehouses.
| ||
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForChangedWarehouse | ||
Description |
Registers for notification of an updated warehouse.
| ||
Parameters | osid.id.Id | warehouseId | the Id of the Warehouse to monitor |
Errors | NULL_ARGUMENT | warehouseId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForDeletedWarehouses | ||
Description |
Registers for notification of deleted warehouses.
| ||
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForDeletedWarehouse | ||
Description |
Registers for notification of a deleted warehouse.
| ||
Parameters | osid.id.Id | warehouseId | the Id of the Warehouse to monitor |
Errors | NULL_ARGUMENT | warehouseId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForDeletedWarehouseAncestors | ||
Description |
Registers for notification if an ancestor is removed
from the specified warehouse in the warehouse hierarchy.
| ||
Parameters | osid.id.Id | warehouseId | the Id of the warehouse to monitor |
Errors | NULL_ARGUMENT | warehouseId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForDeletedWarehouseDescendants | ||
Description |
Registers for notification if a descendant is removed
from fthe specified warehouse in the warehouse hierarchy.
| ||
Parameters | osid.id.Id | warehouseId | the Id of the warehouse to monitor |
Errors | NULL_ARGUMENT | warehouseId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |