OSID Logo
OSID Specifications
search package
Version 3.0.0
Release Candidate Preview
Interfaceosid.search.Query
Implementsosid.OsidQuery
Description

This is the query interface.

MethodgetQueryRecord
Description

Gets the query record corresponding to the given Query record Type. Multiple record retrievals produce a nested boolean OR term.

Parametersosid.type.TypequeryRecordTypea query record type
Returnosid.search.records.QueryRecordthe query record
ErrorsNULL_ARGUMENT queryRecordType is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
UNSUPPORTED hasRecordType(queryRecordType) is false
CompliancemandatoryThis method must be implemented.