| Interface | osid.repository.RepositoryQuerySession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description |
This session provides methods for searching among Repositories may have a query record indicated by their
respective record types. The query record is accessed via the
| ||
| Method | canSearchRepositories | ||
| Description |
Tests if this user can perform | ||
| Return | boolean | false if search methods are not authorized, true
otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getRepositoryQuery | ||
| Description |
Gets a repository query. | ||
| Return | osid.repository.RepositoryQuery | the repository query | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getRepositoriesByQuery | ||
| Description |
Gets a list of | ||
| Parameters | osid.repository.RepositoryQuery | repositoryQuery | the repository query |
| Return | osid.repository.RepositoryList | the returned RepositoryList | |
| Errors | NULL_ARGUMENT | repositoryQuery is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | repositoryQuery is not of this service | ||
| Compliance | mandatory | This method must be implemented. | |