Interface InventorySearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing inventory searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetInventorySearchRecord(Type inventorySearchRecordType) Gets the inventory search record corresponding to the given inventory search recordType.voidorderInventoryResults(InventorySearchOrder inventorySearchOrder) Specify an ordering to the search results.voidsearchAmongInventories(IdList inventoryIds) Execute this search among the given list of inventories.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeModifier and TypeMethodDescriptionGets the record types available in this object.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.Methods inherited from interface OsidSearch
limitResultSetModifier and TypeMethodDescriptionvoidlimitResultSet(long start, long end) By default, searches return all matching results.
-
Method Details
-
searchAmongInventories
Execute this search among the given list of inventories.- Parameters:
inventoryIds- list of inventories- Throws:
NullArgumentException-inventoryIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderInventoryResults
Specify an ordering to the search results.- Parameters:
inventorySearchOrder- inventory search order- Throws:
NullArgumentException-inventorySearchOrderisnullUnsupportedException-inventorySearchOrderis 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 recordType. 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-inventorySearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(inventorySearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-