| Interface | osid.ontology.OntologyQuerySession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description |
This session provides methods for searching among Ontologies may have a query record indicated by their
respective record types. The query record is accessed via the
| ||
| Method | canSearchOntologies | ||
| 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 | getOntologyQuery | ||
| Description |
Gets an ontology query. | ||
| Return | osid.ontology.OntologyQuery | an ontology query | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getOntologiesByQuery | ||
| Description |
Gets a list of | ||
| Parameters | osid.ontology.OntologyQuery | ontologyQuery | the ontology query |
| Return | osid.ontology.OntologyList | the returned OntologyList | |
| Errors | NULL_ARGUMENT | ontologyQuery is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | ontologyQuery is not of this service | ||
| Compliance | mandatory | This method must be implemented. | |