OSID Logo
OSID Specifications
hold rules package
Version 3.0.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.IdissueIdthe issue Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTissueId is null
CompliancemandatoryThis method must be implemented.
MethodclearRuledIssueIdTerms
Description

Clears the issue Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsRuledIssueQuery
Description

Tests if an IssueQuery is available.

Returnbooleantrue if an issue query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetRuledIssueQuery
Description

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

Returnosid.hold.IssueQuerythe issue query
ErrorsUNIMPLEMENTEDsupportsRuledIssueQuery() is false
ComplianceoptionalThis method must be implemented if supportsRuledIssueQuery() is true .
MethodmatchAnyRuledIssue
Description

Matches enablers mapped to any issue.

Parametersbooleanmatchtrue for processors mapped to any issue, false to match processors mapped to no issue
CompliancemandatoryThis method must be implemented.
MethodclearRuledIssueTerms
Description

Clears the issue query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchOublietteId
Description

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

Parametersosid.id.IdoublietteIdthe oubliette Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENToublietteId is null
CompliancemandatoryThis method must be implemented.
MethodclearOublietteIdTerms
Description

Clears the oubliette Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsOublietteQuery
Description

Tests if an OublietteQuery is available.

Returnbooleantrue if an oubliette query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetOublietteQuery
Description

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

Returnosid.hold.OublietteQuerythe oubliette query
ErrorsUNIMPLEMENTEDsupportsOublietteQuery() is false
ComplianceoptionalThis method must be implemented if supportsOublietteQuery() is true .
MethodclearOublietteTerms
Description

Clears the oubliette query terms.

CompliancemandatoryThis 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.TypeissueProcessorRecordTypean issue processor record type
Returnosid.hold.rules.records.IssueProcessorQueryRecordthe issue processor query record
ErrorsNULL_ARGUMENTissueProcessorRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(issueProcessorRecordType) is false
CompliancemandatoryThis method must be implemented.