OSID Logo
OSID Specifications
hold rules package
Version 3.1.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.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 enablers mapped to any issue, false to match enablers 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 enablers 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.
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.TypeissueEnablerRecordType an issue enabler record type
Returnosid.hold.rules.records.IssueEnablerQueryRecord the issue enabler query record
ErrorsNULL_ARGUMENT issueEnablerRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(issueEnablerRecordType) is false
Compliancemandatory This method must be implemented.