OSID Logo
OSID Specifications
assessment authoring package
Version 3.1.0
Interfaceosid.assessment.authoring.SequenceRuleEnablerQuery
Implementsosid.OsidEnablerQuery
Used Byosid.assessment.authoring.SequenceRuleEnablerQuerySession
osid.assessment.authoring.SequenceRuleEnablerSearchSession
osid.assessment.authoring.SequenceRuleEnablerSmartBankSession
Description

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

MethodmatchRuledSequenceRuleId
Description

Matches enablers mapped to the sequence rule.

Parametersosid.id.IdsequenceRuleId the sequence rule Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT sequenceRuleId is null
Compliancemandatory This method must be implemented.
MethodclearRuledSequenceRuleIdTerms
Description

Clears the sequence rule Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsRuledSequenceRuleQuery
Description

Tests if a SequenceRuleQuery is available.

Returnboolean true if a sequence rule query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetRuledSequenceRuleQuery
Description

Gets the query for a sequence rule. Multiple retrievals produce a nested OR term.

Returnosid.assessment.authoring.SequenceRuleQuery the sequence rule query
ErrorsUNIMPLEMENTED supportsRuledSequenceRuleQuery() is false
Complianceoptional This method must be implemented if supportsRuledSequenceRuleQuery() is true.
MethodmatchAnyRuledSequenceRule
Description

Matches enablers mapped to any sequence rule.

Parametersbooleanmatch true for enablers mapped to any sequence rule, false to match enablers mapped to no sequence rules
Compliancemandatory This method must be implemented.
MethodclearRuledSequenceRuleTerms
Description

Clears the sequence rule query terms.

Compliancemandatory This method must be implemented.
MethodmatchBankId
Description

Matches enablers mapped to the bank.

Parametersosid.id.IdbankId the bank Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT bankId is null
Compliancemandatory This method must be implemented.
MethodclearBankIdTerms
Description

Clears the bank Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsBankQuery
Description

Tests if an BankQuery is available.

Returnboolean true if a bank query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetBankQuery
Description

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

Returnosid.assessment.BankQuery the bank query
ErrorsUNIMPLEMENTED supportsBankQuery() is false
Complianceoptional This method must be implemented if supportsBankQuery() is true.
MethodclearBankTerms
Description

Clears the bank query terms.

Compliancemandatory This method must be implemented.
MethodgetSequenceRuleEnablerQueryRecord
Description

Gets the sequence rule enabler query record corresponding to the given SequenceRuleEnabler record Type. Multiple record retrievals produce a nested OR term.

Parametersosid.type.TypesequenceRuleEnablerRecordType a sequence rule enabler record type
Returnosid.assessment.authoring.records.SequenceRuleEnablerQueryRecord the sequence rule enabler query record
ErrorsNULL_ARGUMENT sequenceRuleEnablerRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(sequenceRuleEnablerRecordType) is false
Compliancemandatory This method must be implemented.