OSID Logo
OSID Specifications
inventory batch package
Version 3.0.0
Release Candidate Preview
Interfaceosid.inventory.batch.InventoryBatchManager
Implementsosid.OsidManager
osid.inventory.batch.InventoryBatchProfile
Description

The inventory batch manager provides access to inventory batch sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:

  • ItemBatchAdminSession: a session to create, modify and delete items in bulk
  • StockBatchSession: a session to create, modify and delete stocks in bulk
  • ModelBatchAdminSession: a session to create, modify and delete models in bulk
  • InventoryBatchAdminSession: a session to create, modify and delete inventories in bulk
MethodgetItemBatchAdminSession
Description

Gets the OsidSession associated with the bulk item administration service.

Returnosid.inventory.batch.ItemBatchAdminSessionan ItemBatchAdminSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsItemBatchAdmin() is false
ComplianceoptionalThis method must be implemented if supportsItemBatchAdmin() is true.
MethodgetItemBatchAdminSessionForInventory
Description

Gets the OsidSession associated with the bulk item administration service for the given inventory.

Parametersosid.id.IdinventoryIdthe Id of the Inventory
Returnosid.inventory.batch.ItemBatchAdminSessionan ItemBatchAdminSession
ErrorsNOT_FOUNDno Inventory found by the given Id
NULL_ARGUMENT inventoryId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsItemBatchAdmin() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsItemBatchAdmin() and supportsVisibleFederation() are true
MethodgetStockBatchAdminSession
Description

Gets the OsidSession associated with the bulk stock administration service.

Returnosid.inventory.batch.StockBatchAdminSessiona StockBatchAdminSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsStockBatchAdmin() is false
ComplianceoptionalThis method must be implemented if supportsStockBatchAdmin() is true.
MethodgetStockBatchAdminSessionForInventory
Description

Gets the OsidSession associated with the bulk stock administration service for the given inventory.

Parametersosid.id.IdinventoryIdthe Id of the Inventory
Returnosid.inventory.batch.StockBatchAdminSessiona StockBatchAdminSession
ErrorsNOT_FOUNDno Inventory found by the given Id
NULL_ARGUMENT inventoryId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsStockBatchAdmin() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsStockBatchAdmin() and supportsVisibleFederation() are true
MethodgetModelBatchAdminSession
Description

Gets the OsidSession associated with the bulk model administration service.

Returnosid.inventory.batch.ModelBatchAdminSessionan ModelBatchAdminSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsModelBatchAdmin() is false
ComplianceoptionalThis method must be implemented if supportsModelBatchAdmin() is true.
MethodgetModelBatchAdminSessionForInventory
Description

Gets the OsidSession associated with the bulk model administration service for the given inventory.

Parametersosid.id.IdinventoryIdthe Id of the Inventory
Returnosid.inventory.batch.ModelBatchAdminSessionan ModelBatchAdminSession
ErrorsNOT_FOUNDno Inventory found by the given Id
NULL_ARGUMENT inventoryId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsModelBatchAdmin() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsModelBatchAdmin() and supportsVisibleFederation() are true
MethodgetInventoryBatchAdminSession
Description

Gets the OsidSession associated with the bulk inventory administration service.

Returnosid.inventory.batch.InventoryBatchAdminSessionan InventoryBatchAdminSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsInventoryBatchAdmin() is false
ComplianceoptionalThis method must be implemented if supportsInventoryBatchAdmin() is true.