OSID Logo
OSID Specifications
configuration rules package
Version 3.1.0
Interfaceosid.configuration.rules.ValueEnablerQuery
Implementsosid.OsidEnablerQuery
Used Byosid.configuration.rules.ValueEnablerQuerySession
osid.configuration.rules.ValueEnablerSearchSession
osid.configuration.rules.ValueEnablerSmartConfigurationSession
Description

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

MethodmatchRuledValueId
Description

Matches enablers mapped to the value.

Parametersosid.id.IdvalueId the value Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT valueId is null
Compliancemandatory This method must be implemented.
MethodclearRuledValueIdTerms
Description

Clears the value Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsRuledValueQuery
Description

Tests if a ValueQuery is available.

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

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

Returnosid.configuration.ValueQuery the value query
ErrorsUNIMPLEMENTED supportsRuleValueQuery() is false
Complianceoptional This method must be implemented if supportsRuledValueQuery() is true.
MethodmatchAnyRuledValue
Description

Matches enablers mapped to any value.

Parametersbooleanmatch true for enablers mapped to any value, false to match enablers mapped to no value
Compliancemandatory This method must be implemented.
MethodclearRuledValueTerms
Description

Clears the value query terms.

Compliancemandatory This method must be implemented.
MethodmatchConfigurationId
Description

Matches enablers mapped to the configuration.

Parametersosid.id.IdconfigurationId the configuration Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT configurationId is null
Compliancemandatory This method must be implemented.
MethodclearConfigurationIdTerms
Description

Clears the configuration Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsConfigurationQuery
Description

Tests if a ConfigurationQuery is available.

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

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

Returnosid.configuration.ConfigurationQuery the configuration query
ErrorsUNIMPLEMENTED supportsConfigurationQuery() is false
Complianceoptional This method must be implemented if supportsConfigurationQuery() is true.
MethodclearConfigurationTerms
Description

Clears the configuration query terms.

Compliancemandatory This method must be implemented.
MethodgetValueEnablerQueryRecord
Description

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

Parametersosid.type.TypevalueEnablerRecordType a value enabler record type
Returnosid.configuration.rules.records.ValueEnablerQueryRecord the value enabler query record
ErrorsNULL_ARGUMENT valueEnablerRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(valueEnablerRecordType) is false
Compliancemandatory This method must be implemented.