OSID Logo
OSID Specifications
control package
Version 3.1.0
Interfaceosid.control.SettingQuery
Implementsosid.OsidObjectQuery
osid.OsidSubjugateableQuery
Used Byosid.control.ActionQuery
osid.control.SceneQuery
osid.control.SettingQuerySession
osid.control.SettingSearchSession
osid.control.SettingSmartSystemSession
osid.control.SystemQuery
osid.control.TriggerQuery
Description

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

MethodmatchControllerId
Description

Sets the controller Id for this query.

Parametersosid.id.IdcontrollerId the controller Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT controllerId is null
Compliancemandatory This method must be implemented.
MethodclearControllerIdTerms
Description

Clears the controller Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsControllerQuery
Description

Tests if a ControllerQuery is available.

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

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

Returnosid.control.ControllerQuery the controller query
ErrorsUNIMPLEMENTED supportsControllerQuery() is false
Complianceoptional This method must be implemented if supportsControllerQuery() is true.
MethodclearControllerTerms
Description

Clears the controller query terms.

Compliancemandatory This method must be implemented.
MethodmatchOn
Description

Matches on settings.

Parametersbooleanmatch true for a positive match, false for a negative match
Compliancemandatory This method must be implemented.
MethodclearOnTerms
Description

Clears the on query terms.

Compliancemandatory This method must be implemented.
MethodmatchOff
Description

Matches off settings.

Parametersbooleanmatch true for a positive match, false for a negative match
Compliancemandatory This method must be implemented.
MethodclearOffTerms
Description

Clears the off query terms.

Compliancemandatory This method must be implemented.
MethodmatchVariablePercentage
Description

Matches variable percentages between the given range inclusive.

Parametersdecimalstart start of range
decimalend end of range
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT start is greater than end
NULL_ARGUMENT start or end is null
Compliancemandatory This method must be implemented.
MethodmatchAnyVariablePercentage
Description

Matches any variable percentages.

Parametersbooleanmatch true to match settings with variable percentages, false to match settings with no variable percentages
Compliancemandatory This method must be implemented.
MethodclearVariablePercentageTerms
Description

Clears the variable percentages query terms.

Compliancemandatory This method must be implemented.
MethodmatchVariableAmount
Description

Matches variable amount between the given range inclusive.

Parametersdecimalstart start of range
decimalend end of range
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT start is greater than end
NULL_ARGUMENT start or end is null
Compliancemandatory This method must be implemented.
MethodmatchAnyVariableAmount
Description

Matches any variable amount.

Parametersbooleanmatch true to match settings with variable amounts, false to match settings with no variable amounts
Compliancemandatory This method must be implemented.
MethodclearVariableAmountTerms
Description

Clears the variable amount query terms.

Compliancemandatory This method must be implemented.
MethodmatchDiscreetStateId
Description

Sets the state Id for this query.

Parametersosid.id.IdstateId the state Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT stateId is null
Compliancemandatory This method must be implemented.
MethodclearDiscreetStateIdTerms
Description

Clears the state Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsDiscreetStateQuery
Description

Tests if a StateQuery is available.

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

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

Returnosid.process.StateQuery the state query
ErrorsUNIMPLEMENTED supportsDiscreetStateQuery() is false
Complianceoptional This method must be implemented if supportsDiscreetStateQuery() is true.
MethodmatchAnyDiscreetState
Description

Matches any discreet states.

Parametersbooleanmatch true to match settings with discreet states, false to match settings with no discreet states
Compliancemandatory This method must be implemented.
MethodclearDiscreetStateTerms
Description

Clears the state query terms.

Compliancemandatory This method must be implemented.
MethodmatchRampRate
Description

Matches ramp rates between the given range inclusive.

Parametersosid.calendaring.Durationstart start of range
osid.calendaring.Durationend end of range
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT start is greater than end
NULL_ARGUMENT start or end is null
Compliancemandatory This method must be implemented.
MethodmatchAnyRampRate
Description

Matches any ramp rate.

Parametersbooleanmatch true to match settings with ramp rates, false to match settings with no ramp rates
Compliancemandatory This method must be implemented.
MethodclearRampRateTerms
Description

Clears the ramp rate query terms.

Compliancemandatory This method must be implemented.
MethodmatchSystemId
Description

Sets the system Id for this query to match controllers assigned to systems.

Parametersosid.id.IdsystemId the system Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT systemId is null
Compliancemandatory This method must be implemented.
MethodclearSystemIdTerms
Description

Clears the system Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsSystemQuery
Description

Tests if a SystemQuery is available.

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

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

Returnosid.control.SystemQuery the system query
ErrorsUNIMPLEMENTED supportsSystemQuery() is false
Complianceoptional This method must be implemented if supportsSystemQuery() is true.
MethodclearSystemTerms
Description

Clears the system query terms.

Compliancemandatory This method must be implemented.
MethodgetSettingQueryRecord
Description

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

Parametersosid.type.TypesettingRecordType a setting record type
Returnosid.control.records.SettingQueryRecord the setting query record
ErrorsNULL_ARGUMENT settingRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(settingRecordType) is false
Compliancemandatory This method must be implemented.