OSID Logo
OSID Specifications
inventory package
Version 3.1.0
Interfaceosid.inventory.WarehouseNotificationSession
Implementsosid.OsidSession
Used Byosid.inventory.InventoryManager
osid.inventory.InventoryProxyManager
Description

This session defines methods to receive notifications on adds/changes to Warehouses. This session is intended for consumers needing to synchronize their state with this service without the use of polling. Notifications are cancelled when this sess

MethodcanRegisterForWarehouseNotifications
Description

Tests if this user can register for Warehouse notifications. A return of true does not guarantee successful authorization. A return of false indicates that it is known all methods in this session will result in a PERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer notification operations.

Returnboolean false if notification methods are not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethodreliableWarehouseNotifications
Description

Reliable notifications are desired. In reliable mode, notifications are to be acknowledged using acknowledgeWarehouseNotification().

Compliancemandatory This method is must be implemented.
MethodunreliableWarehouseNotifications
Description

Unreliable notifications are desired. In unreliable mode, notifications do not need to be acknowledged.

Compliancemandatory This method is must be implemented.
MethodacknowledgeWarehouseNotification
Description

Acknowledge a warehouse notification.

Parametersosid.id.IdnotificationId the Id of the notification
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForNewWarehouses
Description

Register for notifications of new warehouses. WarehouseReceiver.newWarehouses() is invoked when a new Warehouse is created.

ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForChangedWarehouses
Description

Registers for notification of updated warehouses. WarehouseReceiver.changedWarehouses() is invoked when a warehouse is changed.

ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForChangedWarehouse
Description

Registers for notification of an updated warehouse. WarehouseReceiver.changedWarehouses() is invoked when the specified warehouse is changed. S

Parametersosid.id.IdwarehouseId the Id of the Warehouse to monitor
ErrorsNULL_ARGUMENT warehouseId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForDeletedWarehouses
Description

Registers for notification of deleted warehouses. WarehouseReceiver.deletedWarehouses() is invoked when a warehouse is deleted.

ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForDeletedWarehouse
Description

Registers for notification of a deleted warehouse. WarehouseReceiver.deletedWarehouses() is invoked when the specified warehouse is deleted.

Parametersosid.id.IdwarehouseId the Id of the Warehouse to monitor
ErrorsNULL_ARGUMENT warehouseId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForChangedWarehouseHierarchy
Description

Registers for notification of an updated warehouse hierarchy structure. WarehouseReceiver.changedChildOfWarehouses() is invoked when a node experiences a change in its children.

ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForChangedWarehouseHierarchyForAncestors
Description

Registers for notification of an updated warehouse hierarchy structure. WarehouseReceiver.changedChildOfWarehouses() is invoked when a node experiences a change in its children.

Parametersosid.id.IdwarehouseId the Id of the Warehouse node to monitor
ErrorsNULL_ARGUMENT warehouseId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForChangedWarehouseHierarchyForDescendants
Description

Registers for notification of an updated warehouse hierarchy structure. WarehouseReceiver.changedChildOfWarehouses() is invoked when a node experiences a change in its children.

Parametersosid.id.IdwarehouseId the Id of the Warehouse node to monitor
ErrorsNULL_ARGUMENT warehouseId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.