OSID Logo
OSID Specifications
control package
Version 3.1.0
Interfaceosid.control.InputSearchOrder
Implementsosid.OsidRuleSearchOrder
Used Byosid.control.InputSearchSession
osid.control.InputSmartSystemSession
Description

An interface for specifying the ordering of search results.

MethodorderByDevice
Description

Orders the results by device.

Parametersosid.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodsupportsDeviceSearchOrder
Description

Tests if a device search order is available.

Returnboolean true if a device search order is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetDeviceSearchOrder
Description

Gets the device search order.

Returnosid.control.DeviceSearchOrder the device search order
ErrorsILLEGAL_STATE supportsDeviceSearchOrder() is false
Compliancemandatory This method must be implemented.
MethodorderByController
Description

Orders the results by controller.

Parametersosid.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This 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
Compliancemandatory This method must be implemented.
MethodgetControllerSearchOrder
Description

Gets the controller search order.

Returnosid.control.ControllerSearchOrder the controller search order
ErrorsILLEGAL_STATE supportsControllerSearchOrder() is false
Compliancemandatory This method must be implemented.
MethodgetInputSearchOrderRecord
Description

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

Parametersosid.type.TypeinputRecordType an input record type
Returnosid.control.records.InputSearchOrderRecord the input search order record
ErrorsNULL_ARGUMENT inputRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(inputRecordType) is false
Compliancemandatory This method must be implemented.