public interface InventorySearch extends OsidSearch
The search interface for governing inventory searches.
Modifier and Type | Method and Description |
---|---|
InventorySearchRecord |
getInventorySearchRecord(Type inventorySearchRecordType)
Gets the inventory search record corresponding to the given inventory
search record
Type. |
void |
orderInventoryResults(InventorySearchOrder inventorySearchOrder)
Specify an ordering to the search results.
|
void |
searchAmongInventories(IdList inventoryIds)
Execute this search among the given list of inventories.
|
limitResultSet
getRecordTypes, hasRecordType
void searchAmongInventories(IdList inventoryIds)
inventoryIds
- list of inventoriesNullArgumentException
- inventoryIds
is
null
mandatory
- This method must be implemented. void orderInventoryResults(InventorySearchOrder inventorySearchOrder)
inventorySearchOrder
- inventory search orderNullArgumentException
- inventorySearchOrder
is null
UnsupportedException
- inventorySearchOrder
is not of this servicemandatory
- This method must be implemented. InventorySearchRecord getInventorySearchRecord(Type inventorySearchRecordType) throws OperationFailedException
Type.
This method is used to retrieve an
object implementing the requested record.inventorySearchRecordType
- a inventory search record typeNullArgumentException
-
inventorySearchRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(inventorySearchRecordType)
is
false
mandatory
- This method must be implemented.