OSID Logo
OSID Specifications
inquiry package
Version 3.1.0
Interfaceosid.inquiry.InquiryQuery
Implementsosid.OsidRuleQuery
osid.OsidSubjugateableQuery
Used Byosid.inquiry.AuditQuery
osid.inquiry.InquestQuery
osid.inquiry.InquiryQuerySession
osid.inquiry.InquirySearchSession
osid.inquiry.InquirySmartInquestSession
osid.inquiry.ResponseQuery
osid.inquiry.rules.InquiryEnablerQuery
Description

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

MethodmatchAuditorId
Description

Sets a auditor Id for this query.

Parametersosid.id.IdauditorId a auditor Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT auditorId is null
Compliancemandatory This method must be implemented.
MethodclearAuditorIdTerms
Description

Clears the auditor Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsAuditorQuery
Description

Tests if a ResourceQuery is available.

Returnboolean true if a auditor query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetAuditorQuery
Description

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

Returnosid.resource.ResourceQuery the auditor query
ErrorsUNIMPLEMENTED supportsAuditorQuery() is false
Complianceoptional This method must be implemented if supportsAuditorQuery() is true.
MethodmatchAnyAuditor
Description

Matches objects with any auditor.

Parametersbooleanmatch true to match objects with any auditor, false to match objects with no auditor
Compliancemandatory This method must be implemented.
MethodclearAuditorTerms
Description

Clears the auditor query terms.

Compliancemandatory This method must be implemented.
MethodmatchAuditId
Description

Sets the audit Id for this query.

Parametersosid.id.IdauditId the audit Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT auditId is null
Compliancemandatory This method must be implemented.
MethodclearAuditIdTerms
Description

Clears the audit Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsAuditQuery
Description

Tests if an AuditQuery is available.

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

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

Returnosid.inquiry.AuditQuery the audit query
ErrorsUNIMPLEMENTED supportsAuditQuery() is false
Complianceoptional This method must be implemented if supportAuditQuery() is true.
MethodclearAuditTerms
Description

Clears the audit query terms.

Compliancemandatory This method must be implemented.
MethodmatchQuestion
Description

Sets the question for this query.

Parametersstringquestion the question
osid.type.TypestringMatchType a string match type
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT question or stringMatchType is null
UNSUPPORTED supportsStringMatchType(stringMatchType) is false
Compliancemandatory This method must be implemented.
MethodmatchAnyQuestion
Description

Matches inquiries with any question.

Parametersbooleanmatch true to match inquiries with a question, false to match inquiries with no question
Compliancemandatory This method must be implemented.
MethodclearQuestionTerms
Description

Clears the question query terms.

Compliancemandatory This method must be implemented.
MethodmatchRequired
Description

Matches inquiries that are required.

Parametersbooleanmatch true for a positive match, false for a negative match
Compliancemandatory This method must be implemented.
MethodmatchAnyRequired
Description

Matches inquiries with any required flag set.

Parametersbooleanmatch true to match inquiries with a required flag set, false to match inquiries with no required flag set
Compliancemandatory This method must be implemented.
MethodclearRequiredTerms
Description

Clears the required query terms.

Compliancemandatory This method must be implemented.
MethodmatchAffirmationRequired
Description

Matches inquiries that require a positive response.

Parametersbooleanmatch true for a positive match, false for a negative match
Compliancemandatory This method must be implemented.
MethodmatchAnyAffirmationRequired
Description

Matches inquiries with any affirmation required flag set.

Parametersbooleanmatch true to match inquiries with an affirmation required flag set, false to match inquiries with no affirmation required flag set
Compliancemandatory This method must be implemented.
MethodclearAffirmationRequiredTerms
Description

Clears the affirmation required query terms.

Compliancemandatory This method must be implemented.
MethodmatchNeedsOneResponse
Description

Matches inquiries that require a single response.

Parametersbooleanmatch true for a positive match, false for a negative match
Compliancemandatory This method must be implemented.
MethodmatchAnyNeedsOneResponse
Description

Matches inquiries with any needs one response set.

Parametersbooleanmatch true to match inquiries with a need one response flag set, false to match inquiries with no needs one response flag set
Compliancemandatory This method must be implemented.
MethodclearNeedsOneResponseTerms
Description

Clears the needs one response query terms.

Compliancemandatory This method must be implemented.
MethodmatchInquestId
Description

Sets the inquest Id for this query to match inquiries assigned to inquests.

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.
MethodgetInquiryQueryRecord
Description

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

Parametersosid.type.TypeinquiryRecordType an inquiry record type
Returnosid.inquiry.records.InquiryQueryRecord the inquiry query record
ErrorsNULL_ARGUMENT inquiryRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(inquiryRecordType) is false
Compliancemandatory This method must be implemented.