OSID Logo
OSID Specifications
hold rules package
Version 3.1.0
Interfaceosid.hold.rules.IssueProcessorQuery
Implementsosid.OsidProcessorQuery
Used Byosid.hold.rules.IssueProcessorEnablerQuery
osid.hold.rules.IssueProcessorQuerySession
osid.hold.rules.IssueProcessorSearchSession
osid.hold.rules.IssueProcessorSmartOublietteSession
Description

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

MethodmatchRuledIssueId
Description

Matches processors mapped to the issue.

Parametersosid.id.IdissueId the issue Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT issueId is null
Compliancemandatory This method must be implemented.
MethodclearRuledIssueIdTerms
Description

Clears the issue Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsRuledIssueQuery
Description

Tests if an IssueQuery is available.

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

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

Returnosid.hold.IssueQuery the issue query
ErrorsUNIMPLEMENTED supportsRuledIssueQuery() is false
Complianceoptional This method must be implemented if supportsRuledIssueQuery() is true.
MethodmatchAnyRuledIssue
Description

Matches enablers mapped to any issue.

Parametersbooleanmatch true for processors mapped to any issue, false to match processors mapped to no issue
Compliancemandatory This method must be implemented.
MethodclearRuledIssueTerms
Description

Clears the issue query terms.

Compliancemandatory This method must be implemented.
MethodmatchOublietteId
Description

Sets the oubliette Id for this query to match issue processors assigned to oubliettes.

Parametersosid.id.IdoublietteId the oubliette Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT oublietteId is null
Compliancemandatory This method must be implemented.
MethodclearOublietteIdTerms
Description

Clears the oubliette Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsOublietteQuery
Description

Tests if an OublietteQuery is available.

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

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

Returnosid.hold.OublietteQuery the oubliette query
ErrorsUNIMPLEMENTED supportsOublietteQuery() is false
Complianceoptional This method must be implemented if supportsOublietteQuery() is true.
MethodclearOublietteTerms
Description

Clears the oubliette query terms.

Compliancemandatory This method must be implemented.
MethodgetIssueProcessorQueryRecord
Description

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

Parametersosid.type.TypeissueProcessorRecordType an issue processor record type
Returnosid.hold.rules.records.IssueProcessorQueryRecord the issue processor query record
ErrorsNULL_ARGUMENT issueProcessorRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(issueProcessorRecordType) is false
Compliancemandatory This method must be implemented.