| Interface | osid.ontology.OntologySearchSession | ||
|---|---|---|---|
| Implements | osid.ontology.OntologyQuerySession | ||
| 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 | getOntologySearch | ||
| Description | Gets an ontology search. | ||
| Return | osid.ontology.OntologySearch | an ontology search | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getOntologySearchOrder | ||
| Description | Gets an ontology search order. The  | ||
| Return | osid.ontology.OntologySearchOrder | the ontology search order | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getOntologiesBySearch | ||
| Description | Gets the search results matching the given search query using the given search. | ||
| Parameters | osid.ontology.OntologyQuery | ontologyQuery | the ontology query | 
| osid.ontology.OntologySearch | ontologySearch | the ontology search | |
| Return | osid.ontology.OntologySearchResults | the ontology search results | |
| Errors | NULL_ARGUMENT |  ontologyQuery or ontologySearch is 
null  | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED |  ontologyQuery or ontologySearch is not of 
this service | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getOntologyQueryFromInspector | ||
| Description | Gets an ontology query from an inspector. The inspector 
                    is available from an  | ||
| Parameters | osid.ontology.OntologyQueryInspector | ontologyQueryInspector | an ontology query inspector | 
| Return | osid.ontology.OntologyQuery | the ontology query | |
| Errors | NULL_ARGUMENT |  ontologyQueryInspector is null  | |
| UNSUPPORTED |  ontologyQueryInspector is not of this service | ||
| Compliance | mandatory | This method must be implemented. | |