OSID Logo
OSID Specifications
inquiry rules package
Version 3.1.0
Interfaceosid.inquiry.rules.AuditConstrainerEnablerQuery
Implementsosid.OsidEnablerQuery
Used Byosid.inquiry.rules.AuditConstrainerEnablerQuerySession
osid.inquiry.rules.AuditConstrainerEnablerSearchSession
osid.inquiry.rules.AuditConstrainerEnablerSmartInquestSession
Description

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

MethodmatchRuledAuditConstrainerId
Description

Matches enablers mapped to the audit constrainer.

Parametersosid.id.IdauditConstrainerId the audit constrainer Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT auditConstrainerId is null
Compliancemandatory This method must be implemented.
MethodclearRuledAuditConstrainerIdTerms
Description

Clears the audit constrainer Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsRuledAuditConstrainerQuery
Description

Tests if an AuditConstrainerQuery is available.

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

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

Returnosid.inquiry.rules.AuditConstrainerQuery the audit constrainer query
ErrorsUNIMPLEMENTED supportsRuledAuditConstraienrQuery() is false
Complianceoptional This method must be implemented if supportsRuledAuditConstrainerQuery() is true.
MethodmatchAnyRuledAuditConstrainer
Description

Matches enablers mapped to any audit constrainer.

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

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

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

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