| Interface | osid.repository.AssetSearchSession | ||
|---|---|---|---|
| Implements | osid.repository.AssetQuerySession | ||
| Description |
This session provides methods for searching among This session defines views that offer differing behaviors for searching.
Assets may have a query record indicated by their
respective record types. The query record is accessed via the
| ||
| Method | getAssetSearch | ||
| Description |
Gets an asset search. | ||
| Return | osid.repository.AssetSearch | the asset search | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssetSearchOrder | ||
| Description |
Gets an asset search order. The | ||
| Return | osid.repository.AssetSearchOrder | the asset search order | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssetsBySearch | ||
| Description |
Gets the search results matching the given search query using the given search. | ||
| Parameters | osid.repository.AssetQuery | assetQuery | the asset query |
osid.repository.AssetSearch | assetSearch | the asset search | |
| Return | osid.repository.AssetSearchResults | the asset search results | |
| Errors | NULL_ARGUMENT | assetQuery or assetSearch is null
| |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | assetQuery or assetSearch is not of this
service | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssetQueryFromInspector | ||
| Description |
Gets an asset query from an inspector. The inspector is
available from a | ||
| Parameters | osid.repository.AssetQueryInspector | assetQueryInspector | an asset query inspector |
| Return | osid.repository.AssetQuery | the asset query | |
| Errors | NULL_ARGUMENT | assetQueryInspector is null | |
| UNSUPPORTED | assetQueryInspector is not of this service | ||
| Compliance | mandatory | This method must be implemented. | |