OSID Logo
OSID Specifications
inventory package
Version 3.0.0
Release Candidate Preview
Interfaceosid.inventory.Warehouse
Implementsosid.OsidCatalog
Description

A Warehouse represents a collection of inventories.

MethodgetWarehouseRecord
Description

Gets the warehouse record corresponding to the given Warehouse record Type. This method is used to retrieve an object implementing the requested record. The warehouseRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(warehouseRecordType) is true .

Parametersosid.type.TypewarehouseRecordTypethe type of warehouse record to retrieve
Returnosid.inventory.records.WarehouseRecordthe warehouse record
ErrorsNULL_ARGUMENT warehouseRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(warehouseRecordType) is false
CompliancemandatoryThis method must be implemented.