| Interface | osid.repository.CompositionSearchSession | ||
|---|---|---|---|
| Implements | osid.repository.CompositionQuerySession | ||
| Description |
This session provides methods for searching among This session defines views that offer differing behaviors when searching.
Compositions may have a query record indicated by their
respective record types. The query record is accessed via the
| ||
| Method | getCompositionSearch | ||
| Description |
Gets a composition search. | ||
| Return | osid.repository.CompositionSearch | the composition search | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getCompositionSearchOrder | ||
| Description |
Gets a composition search order. The | ||
| Return | osid.repository.CompositionSearchOrder | the composition search order | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getCompositionsBySearch | ||
| Description |
Gets the search results matching the given search query using the given search. | ||
| Parameters | osid.repository.CompositionQuery | compositionQuery | the composition query |
osid.repository.CompositionSearch | compositionSearch | the composition search | |
| Return | osid.repository.CompositionSearchResults | the composition search results | |
| Errors | NULL_ARGUMENT | compositionQuery or compositionSearch is
null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | compositionQuery or compositionSearch is not
of this service | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getCompositionQueryFromInspector | ||
| Description |
Gets a composition query from an inspector. The
inspector is available from a | ||
| Parameters | osid.repository.CompositionQueryInspector | compositionQueryInspector | a composition query inspector |
| Return | osid.repository.CompositionQuery | the composition query | |
| Errors | NULL_ARGUMENT | compositionQueryInspector is null | |
| UNSUPPORTED | compositionQueryInspector is not of this service | ||
| Compliance | mandatory | This method must be implemented. | |