OSID Logo
OSID Specifications
inquiry rules package
Version 3.1.0
Interfaceosid.inquiry.rules.AuditProcessorQuery
Implementsosid.OsidProcessorQuery
Used Byosid.inquiry.rules.AuditProcessorEnablerQuery
osid.inquiry.rules.AuditProcessorQuerySession
osid.inquiry.rules.AuditProcessorSearchSession
osid.inquiry.rules.AuditProcessorSmartInquestSession
Description

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

MethodmatchRuledAuditId
Description

Matches processors mapped to the audit.

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

Clears the audit Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsRuledAuditQuery
Description

Tests if an AuditQuery is available.

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

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

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

Matches enablers mapped to any audit.

Parametersbooleanmatch true for enablers mapped to any audit, false to match enablers mapped to no audits
Compliancemandatory This method must be implemented.
MethodclearRuledAuditTerms
Description

Clears the audit 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.
MethodgetAuditProcessorQueryRecord
Description

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

Parametersosid.type.TypeauditProcessorRecordType an audit processor record type
Returnosid.inquiry.rules.records.AuditProcessorQueryRecord the audit processor query record
ErrorsNULL_ARGUMENT auditProcessorRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(auditProcessorRecordType) is false
Compliancemandatory This method must be implemented.