OSID Logo
OSID Specifications
lexicon package
Version 3.1.0
Interfaceosid.lexicon.IdiomSearchOrder
Implementsosid.OsidObjectSearchOrder
osid.OsidSubjugateableSearchOrder
Used Byosid.lexicon.IdiomSearchSession
osid.lexicon.IdiomSmartPressSession
Description

An interface for specifying the ordering of search results.

MethodorderByText
Description

Orders the results by text.

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

Tests if a text search order is available.

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

Gets the text search order.

Returnosid.lexicon.TextSearchOrder the text search order
ErrorsILLEGAL_STATE supportsTextSearchOrder() is false
Compliancemandatory This method must be implemented.
MethodorderByLanguageType
Description

Orders the results by language type.

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

Orders the results by script type.

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

Orders the results by format type.

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

Orders the results by string.

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

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

Parametersosid.type.TypeidiomRecordType an idiom record type
Returnosid.lexicon.records.IdiomSearchOrderRecord the idiom search order record
ErrorsNULL_ARGUMENT idiomRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(idiomRecordType) is false
Compliancemandatory This method must be implemented.