OSID Logo
OSID Specifications
hold rules package
Version 3.0.0
Interfaceosid.hold.rules.IssueConstrainerQuery
Implementsosid.OsidConstrainerQuery
Used Byosid.hold.rules.IssueConstrainerEnablerQuery
osid.hold.rules.IssueConstrainerQuerySession
osid.hold.rules.IssueConstrainerSearchSession
osid.hold.rules.IssueConstrainerSmartOublietteSession
Description

This is the query for searching issue constrainers. 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 constrainers mapped to any issue, false to match constrainers 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 constrainers 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.
MethodgetIssueConstrainerQueryRecord
Description

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

Parametersosid.type.TypeissueConstrainerRecordTypean issue constrainer record type
Returnosid.hold.rules.records.IssueConstrainerQueryRecordthe issue constrainer query record
ErrorsNULL_ARGUMENTissueConstrainerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(issueConstrainerRecordType) is false
CompliancemandatoryThis method must be implemented.