Interface ItemSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing item searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetItemSearchRecord(Type itemSearchRecordType) Gets the item search record corresponding to the given item search recordType.voidorderItemResults(ItemSearchOrder itemSearchOrder) Specify an ordering to the search results.voidsearchAmongItems(IdList itemIds) Execute this search among the given list of items.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeMethods inherited from interface OsidSearch
limitResultSet
-
Method Details
-
searchAmongItems
Execute this search among the given list of items.- Parameters:
itemIds- list of items- Throws:
NullArgumentException-itemIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderItemResults
Specify an ordering to the search results.- Parameters:
itemSearchOrder- item search order- Throws:
NullArgumentException-itemSearchOrderisnullUnsupportedException-itemSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getItemSearchRecord
Gets the item search record corresponding to the given item search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
itemSearchRecordType- an item search record type- Returns:
- the item search record
- Throws:
NullArgumentException-itemSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(itemSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-