OSID Logo
OSID Specifications
hold rules package
Version 3.0.0
Interfaceosid.hold.rules.IssueConstrainerEnablerQuery
Implementsosid.OsidEnablerQuery
Used Byosid.hold.rules.IssueConstrainerEnablerQuerySession
osid.hold.rules.IssueConstrainerEnablerSearchSession
osid.hold.rules.IssueConstrainerEnablerSmartOublietteSession
Description

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

MethodmatchRuledIssueConstrainerId
Description

Matches constrainer enablers mapped to the issue constrainer.

Parametersosid.id.IdissueConstrainerIdthe issue constrainer Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTissueConstrainerId is null
CompliancemandatoryThis method must be implemented.
MethodclearRuledIssueConstrainerIdTerms
Description

Clears the issue constrainer Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsRuledIssueConstrainerQuery
Description

Tests if an IssueConstrainerQuery is available.

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

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

Returnosid.hold.rules.IssueConstrainerQuerythe issue constrainer query
ErrorsUNIMPLEMENTEDsupportsRuledIssueConstrainerQuery() is false
ComplianceoptionalThis method must be implemented if supportsRuledIssueConstrainerQuery() is true .
MethodmatchAnyRuledIssue
Description

Matches enablers mapped to any issue constrainer.

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

Clears the issue constrainer query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchOublietteId
Description

Sets the oubliette Id for this query to match issues 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.
MethodgetIssueConstrainerEnablerQueryRecord
Description

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

Parametersosid.type.TypeissueConstrainerEnablerRecordTypean issue constrainer enabler record type
Returnosid.hold.rules.records.IssueConstrainerEnablerQueryRecordthe issue constrainer enabler query record
ErrorsNULL_ARGUMENTissueConstrainerEnablerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(issueConstrainerEnablerRecordType) is false
CompliancemandatoryThis method must be implemented.