OSID Logo
OSID Specifications
inquiry rules package
Version 3.1.0
Interfaceosid.inquiry.rules.InquiryEnablerQuery
Implementsosid.OsidEnablerQuery
Used Byosid.inquiry.rules.InquiryEnablerQuerySession
osid.inquiry.rules.InquiryEnablerSearchSession
osid.inquiry.rules.InquiryEnablerSmartInquestSession
Description

This is the query for searching inquiry enablers. Each method match specifies an AND term while multiple invocations of the same method produce a nested OR.

MethodmatchRuledInquiryId
Description

Matches enablers mapped to the inquiry.

Parametersosid.id.IdinquiryId the inquiry Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT InquiryId is null
Compliancemandatory This method must be implemented.
MethodclearRuledInquiryIdTerms
Description

Clears the inquiry Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsRuledInquiryQuery
Description

Tests if an InquirytQuery is available.

Returnboolean true if an inquiry query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetRuledInquiryQuery
Description

Gets the query for an inquiry. Multiple retrievals produce a nested OR term.

Returnosid.inquiry.InquiryQuery the inquiry query
ErrorsUNIMPLEMENTED supportsRuledInquiryQuery() is false
Complianceoptional This method must be implemented if supportsRuledInquiryQuery() is true.
MethodmatchAnyRuledInquiry
Description

Matches enablers mapped to any inquiry.

Parametersbooleanmatch true for enablers mapped to any inquiry, false to match enablers mapped to no inquiries
Compliancemandatory This method must be implemented.
MethodclearRuledInquiryTerms
Description

Clears the inquiry query terms.

Compliancemandatory This method must be implemented.
MethodmatchInquestId
Description

Matches enablers mapped to the inquest.

Parametersosid.id.IdinquestId the inquest Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT inquestId is null
Compliancemandatory This method must be implemented.
MethodclearInquestIdTerms
Description

Clears the inquest Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsInquestQuery
Description

Tests if an InquestQuery is available.

Returnboolean true if an inquest query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetInquestQuery
Description

Gets the query for an inquest. Multiple retrievals produce a nested OR term.

Returnosid.inquiry.InquestQuery the inquest query
ErrorsUNIMPLEMENTED supportsInquestQuery() is false
Complianceoptional This method must be implemented if supportsInquestQuery() is true.
MethodclearInquestTerms
Description

Clears the inquest query terms.

Compliancemandatory This method must be implemented.
MethodgetInquiryEnablerQueryRecord
Description

Gets the inquiry enabler query record corresponding to the given InquiryEnabler record Type. Multiple record retrievals produce a nested OR term.

Parametersosid.type.TypeinquiryEnablerRecordType an inquiry enabler record type
Returnosid.inquiry.rules.records.InquiryEnablerQueryRecord the inquiry enabler query record
ErrorsNULL_ARGUMENT inquiryEnablerRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(inquiryEnablerRecordType) is false
Compliancemandatory This method must be implemented.