Interface | osid.inventory.ItemSearchSession | ||
---|---|---|---|
Implements | osid.inventory.ItemQuerySession | ||
Description |
This session provides methods for searching among This session defines views that offer differing behaviors for searching.
Items may have a query record indicated by their
respective record types. The query record is accessed via the
| ||
Method | getItemSearch | ||
Description |
Gets an item search. | ||
Return | osid.inventory.ItemSearch | the item search | |
Compliance | mandatory | This method must be implemented. | |
Method | getItemSearchOrder | ||
Description |
Gets an inventory search order. The | ||
Return | osid.inventory.ItemSearchOrder | the item search order | |
Compliance | mandatory | This method must be implemented. | |
Method | getItemsBySearch | ||
Description |
Gets the search results matching the given search query using the given search. | ||
Parameters | osid.inventory.ItemQuery | itemQuery | the item query |
osid.inventory.ItemSearch | itemSearch | the item search | |
Return | osid.inventory.ItemSearchResults | the item search results | |
Errors | NULL_ARGUMENT | itemQuery or itemSearch is null
| |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
UNSUPPORTED | itemQuery or itemSearch is not of this
service | ||
Compliance | mandatory | This method must be implemented. | |
Method | getItemQueryFromInspector | ||
Description |
Gets an item query from an inspector. The inspector is
available from an | ||
Parameters | osid.assessment.ItemQueryInspector | itemQueryInspector | an item query inspector |
Return | osid.inventory.ItemQuery | the item query | |
Errors | NULL_ARGUMENT | itemQueryInspector is null | |
UNSUPPORTED | itemQueryInspector is not of this service | ||
Compliance | mandatory | This method must be implemented. |