OSID Logo
OSID Specifications
hold rules package
Version 3.0.0
Interfaceosid.hold.rules.IssueEnablerQuery
Implementsosid.OsidEnablerQuery
Used Byosid.hold.rules.IssueEnablerQuerySession
osid.hold.rules.IssueEnablerSearchSession
osid.hold.rules.IssueEnablerSmartOublietteSession
Description

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

MethodmatchRuledIssueId
Description

Matches enablers 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 enablers mapped to any issue, false to match enablers 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 enablers 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.
MethodgetIssueEnablerQueryRecord
Description

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

Parametersosid.type.TypeissueEnablerRecordTypean issue enabler record type
Returnosid.hold.rules.records.IssueEnablerQueryRecordthe issue enabler query record
ErrorsNULL_ARGUMENTissueEnablerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(issueEnablerRecordType) is false
CompliancemandatoryThis method must be implemented.