public interface OntologySearch extends OsidSearch
The interface for governing ontology searches.
Modifier and Type | Method and Description |
---|---|
OntologySearchRecord |
getOntologySearchRecord(Type ontologySearchRecordType)
Gets the ontology search record corresponding to the given ontology
search record
Type. |
void |
orderOntologyResults(OntologySearchOrder ontologySearchOrder)
Specify an ordering to the search results.
|
void |
searchAmongOntologies(IdList ontologyIds)
Execute this search among the given list of ontologies.
|
limitResultSet
getRecordTypes, hasRecordType
void searchAmongOntologies(IdList ontologyIds)
ontologyIds
- list of ontologiesNullArgumentException
- ontologyIds
is
null
mandatory
- This method must be implemented. void orderOntologyResults(OntologySearchOrder ontologySearchOrder)
ontologySearchOrder
- ontology search orderNullArgumentException
- ontologySearchOrder
is null
UnsupportedException
- ontologySearchOrder
is not of this servicemandatory
- This method must be implemented. OntologySearchRecord getOntologySearchRecord(Type ontologySearchRecordType) throws OperationFailedException
Type.
This method is used to retrieve an
object implementing the requested record.ontologySearchRecordType
- an ontology search record typeNullArgumentException
- ontologySearchRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(ontologySearchRecordType)
is
false
mandatory
- This method must be implemented.