Interface Warehouse

All Superinterfaces:
Browsable, Extensible, Federateable, Identifiable, OsidCatalog, OsidObject, Sourceable

public interface Warehouse extends OsidCatalog

A Warehouse represents a collection of inventories.

  • Method Details

    • getWarehouseRecord

      WarehouseRecord getWarehouseRecord(Type warehouseRecordType) throws OperationFailedException
      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.
      Parameters:
      warehouseRecordType - the type of warehouse record to retrieve
      Returns:
      the warehouse record
      Throws:
      NullArgumentException - warehouseRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordType(warehouseRecordType) is false
      Compliance:
      mandatory - This method must be implemented.