Interface InventorySearch

All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable

public interface InventorySearch extends OsidSearch

The search interface for governing inventory searches.

  • Method Details

    • searchAmongInventories

      void searchAmongInventories(IdList inventoryIds)
      Execute this search among the given list of inventories.
      Parameters:
      inventoryIds - list of inventories
      Throws:
      NullArgumentException - inventoryIds is null
      Compliance:
      mandatory - This method must be implemented.
    • orderInventoryResults

      void orderInventoryResults(InventorySearchOrder inventorySearchOrder)
      Specify an ordering to the search results.
      Parameters:
      inventorySearchOrder - inventory search order
      Throws:
      NullArgumentException - inventorySearchOrder is null
      UnsupportedException - inventorySearchOrder is not of this service
      Compliance:
      mandatory - This method must be implemented.
    • getInventorySearchRecord

      InventorySearchRecord getInventorySearchRecord(Type inventorySearchRecordType) throws OperationFailedException
      Gets the inventory search record corresponding to the given inventory search record Type . This method is used to retrieve an object implementing the requested record.
      Parameters:
      inventorySearchRecordType - an inventory search record type
      Returns:
      the inventory search record
      Throws:
      NullArgumentException - inventorySearchRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordType(inventorySearchRecordType) is false
      Compliance:
      mandatory - This method must be implemented.