OSID Logo
OSID Specifications
inquiry rules package
Version 3.1.0
Interfaceosid.inquiry.rules.AuditConstrainerQuery
Implementsosid.OsidConstrainerQuery
Used Byosid.inquiry.rules.AuditConstrainerEnablerQuery
osid.inquiry.rules.AuditConstrainerQuerySession
osid.inquiry.rules.AuditConstrainerSearchSession
osid.inquiry.rules.AuditConstrainerSmartInquestSession
Description

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

MethodmatchRuledAuditId
Description

Matches constrainers 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.
MethodgetAuditConstrainerQueryRecord
Description

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

Parametersosid.type.TypeauditConstrainerRecordType an audit constrainer record type
Returnosid.inquiry.rules.records.AuditConstrainerQueryRecord the audit constrainer query record
ErrorsNULL_ARGUMENT auditConstrainerRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(auditConstrainerRecordType) is false
Compliancemandatory This method must be implemented.