OSID Logo
OSID Specifications
control package
Version 3.0.0
Release Candidate Preview
Interfaceosid.control.SettingSearchOrder
Implementsosid.OsidObjectSearchOrder
osid.OsidSubjugateableSearchOrder
Description

An interface for specifying the ordering of search results.

MethodorderByController
Description

Orders the results by controller.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodsupportsControllerSearchOrder
Description

Tests if a controller search order is available.

Returnboolean true if a controller search order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetControllerSearchOrder
Description

Gets the controller search order.

Returnosid.control.ControllerSearchOrderthe controller search order
ErrorsILLEGAL_STATE supportsControllerSearchOrder() is false
CompliancemandatoryThis method must be implemented.
MethodorderByOn
Description

Orders the results by on status.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodorderByOff
Description

Orders the results by off status,

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodorderByVariablePercentage
Description

Orders the results by variable percentage.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodorderByVariableAmount
Description

Orders the results by variable amount.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodorderByDiscreetState
Description

Orders the results by variable discreet state.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodsupportsDiscreetStateSearchOrder
Description

Tests if a state search order is available.

Returnboolean true if a state search order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetDiscreetStateSearchOrder
Description

Gets the state search order.

Returnosid.process.StateSearchOrderthe state search order
ErrorsILLEGAL_STATE supportsDiscreetStateSearchOrder() is false
CompliancemandatoryThis method must be implemented.
MethodorderByRampRate
Description

Orders the results by ramp rate.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodgetSettingSearchOrderRecord
Description

Gets the setting search order record corresponding to the given setting record Type. Multiple retrievals return the same underlying object.

Parametersosid.type.TypesettingRecordTypea setting record type
Returnosid.control.records.SettingSearchOrderRecordthe setting order record interface
ErrorsNULL_ARGUMENT settingRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(settingRecordType) is false
CompliancemandatoryThis method must be implemented.