public interface ItemSearch extends OsidSearch
The search interface for governing item searches.
| Modifier and Type | Method and Description |
|---|---|
ItemSearchRecord |
getItemSearchRecord(Type itemSearchRecordType)
Gets the item search record corresponding to the given item search
record
Type. |
void |
orderItemResults(ItemSearchOrder itemSearchOrder)
Specify an ordering to the search results.
|
void |
searchAmongItems(IdList itemIds)
Execute this search among the given list of items.
|
limitResultSetgetRecordTypes, hasRecordTypevoid searchAmongItems(IdList itemIds)
itemIds - list of itemsNullArgumentException - itemIds is
null mandatory - This method must be implemented. void orderItemResults(ItemSearchOrder itemSearchOrder)
itemSearchOrder - item search orderNullArgumentException - itemSearchOrder
is null UnsupportedException - itemSearchOrder
is not of this servicemandatory - This method must be implemented. ItemSearchRecord getItemSearchRecord(Type itemSearchRecordType) throws OperationFailedException
Type. This method is used to retrieve an object
implementing the requested record.itemSearchRecordType - a item search record typeNullArgumentException - itemSearchRecordType
is null OperationFailedException - unable to complete requestUnsupportedException -
hasRecordType(itemSearchRecordType) is false
mandatory - This method must be implemented.