Interface OntologySearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The interface for governing ontology searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetOntologySearchRecord(Type ontologySearchRecordType) Gets the ontology search record corresponding to the given ontology search recordType.voidorderOntologyResults(OntologySearchOrder ontologySearchOrder) Specify an ordering to the search results.voidsearchAmongOntologies(IdList ontologyIds) Execute this search among the given list of ontologies.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeModifier and TypeMethodDescriptionGets the record types available in this object.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.Methods inherited from interface OsidSearch
limitResultSetModifier and TypeMethodDescriptionvoidlimitResultSet(long start, long end) By default, searches return all matching results.
-
Method Details
-
searchAmongOntologies
Execute this search among the given list of ontologies.- Parameters:
ontologyIds- list of ontologies- Throws:
NullArgumentException-ontologyIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderOntologyResults
Specify an ordering to the search results.- Parameters:
ontologySearchOrder- ontology search order- Throws:
NullArgumentException-ontologySearchOrderisnullUnsupportedException-ontologySearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getOntologySearchRecord
OntologySearchRecord getOntologySearchRecord(Type ontologySearchRecordType) throws OperationFailedException Gets the ontology search record corresponding to the given ontology search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
ontologySearchRecordType- an ontology search record type- Returns:
- the ontology search record
- Throws:
NullArgumentException-ontologySearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(ontologySearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-