Interface EngineSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing engine searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetEngineSearchRecord(Type engineSearchRecordType) Gets the engine search record corresponding to the given engine search recordType.voidorderEngineResults(EngineSearchOrder engineSearchOrder) Specify an ordering to the search results.voidsearchAmongEngines(IdList engineIds) Execute this search among the given list of engines.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
-
searchAmongEngines
Execute this search among the given list of engines.- Parameters:
engineIds- list of engines- Throws:
NullArgumentException-engineIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderEngineResults
Specify an ordering to the search results.- Parameters:
engineSearchOrder- engine search order- Throws:
NullArgumentException-engineSearchOrderisnullUnsupportedException-engineSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getEngineSearchRecord
EngineSearchRecord getEngineSearchRecord(Type engineSearchRecordType) throws OperationFailedException, PermissionDeniedException Gets the engine search record corresponding to the given engine search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
engineSearchRecordType- an engine search record type- Returns:
- the engine search record
- Throws:
NullArgumentException-engineSearchRecordTypeisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure occurredUnsupportedException-hasRecordType(engineSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-