Interface | osid.inventory.ModelSearchSession | ||
---|---|---|---|
Implements | osid.inventory.ModelQuerySession | ||
Description |
This session provides methods for searching among This session defines views that offer differing behaviors for searching.
Models may have a query record indicated by their
respective record types. The queryrecord is accessed via the
| ||
Method | getModelSearch | ||
Description |
Gets a model search. | ||
Return | osid.inventory.ModelSearch | the model search | |
Compliance | mandatory | This method must be implemented. | |
Method | getModelSearchOrder | ||
Description |
Gets a model search order. The | ||
Return | osid.inventory.ModelSearchOrder | the model search order | |
Compliance | mandatory | This method must be implemented. | |
Method | getModelsBySearch | ||
Description |
Gets the search results matching the given search query using the given search. | ||
Parameters | osid.inventory.ModelQuery | modelQuery | the model query |
osid.inventory.ModelSearch | modelSearch | the model search | |
Return | osid.inventory.ModelSearchResults | the model search results | |
Errors | NULL_ARGUMENT | modelQuery or modelSearch is null
| |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
UNSUPPORTED | modelQuery or modelSearch is not of this
service | ||
Compliance | mandatory | This method must be implemented. | |
Method | getModelQueryFromInspector | ||
Description |
Gets a model query from an inspector. The inspector is
available from a | ||
Parameters | osid.assessment.ItemQueryInspector | modelQueryInspector | a model query inspector |
Return | osid.inventory.ModelQuery | the model query | |
Errors | NULL_ARGUMENT | modelQueryInspector is null | |
UNSUPPORTED | modelQueryInspector is not of this service | ||
Compliance | mandatory | This method must be implemented. |