OSID Logo
OSID Specifications
inquiry package
Version 3.1.0
Interfaceosid.inquiry.AuditQuery
Implementsosid.OsidGovernatorQuery
Used Byosid.inquiry.AuditQuerySession
osid.inquiry.AuditSearchSession
osid.inquiry.AuditSmartInquestSession
osid.inquiry.InquestQuery
osid.inquiry.InquiryQuery
osid.inquiry.rules.AuditConstrainerQuery
osid.inquiry.rules.AuditEnablerQuery
osid.inquiry.rules.AuditProcessorQuery
osid.rules.check.CheckQuery
Description

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

MethodmatchInquiryId
Description

Sets the inquiry Id for this query.

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

Clears the inquiry Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsInquiryQuery
Description

Tests if an InquiryQuery is available.

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

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

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

Matches audits with any inquiry.

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

Clears the inquiry query terms.

Compliancemandatory This method must be implemented.
MethodmatchInquestId
Description

Sets the inquest Id for this query to match audits 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.
MethodgetAuditQueryRecord
Description

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

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