OSID Logo
OSID Specifications
rules package
Version 3.0.0
Release Candidate Preview
Interfaceosid.rules.EngineSearchResults
Implementsosid.OsidSearchResults
Description

This interface provides a means to capture results of a search.

MethodgetEngines
Description

Gets the engine list resulting from a search.

Returnosid.rules.EngineListthe engine list
ErrorsILLEGAL_STATElist already retrieved
CompliancemandatoryThis method must be implemented.
MethodgetEngineQueryInspector
Description

Gets the inspector for the query to examine the terms used in the search.

Returnosid.rules.EngineQueryInspectorthe engine query inspector
CompliancemandatoryThis method must be implemented.
MethodgetEngineSearchResultsRecord
Description

Gets the engine search results record corresponding to the given engine search record Type. This method is used to retrieve an object implementing the requested record.

Parametersosid.type.TypeengineSearchRecordTypean engine search record type
Returnosid.rules.records.EngineSearchResultsRecordthe engine search results record
ErrorsNULL_ARGUMENT EngineSearchRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(engineSearchRecordType) is false
CompliancemandatoryThis method must be implemented.