OSID Logo
OSID Specifications
lexicon package
Version 3.0.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.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENTstyle is null
CompliancemandatoryThis method must be implemented.
MethodsupportsTextSearchOrder
Description

Tests if a text search order is available.

Returnbooleantrue if a text search order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetTextSearchOrder
Description

Gets the text search order.

Returnosid.lexicon.TextSearchOrderthe text search order
ErrorsILLEGAL_STATEsupportsTextSearchOrder() is false
CompliancemandatoryThis method must be implemented.
MethodorderByLanguageType
Description

Orders the results by language type.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENTstyle is null
CompliancemandatoryThis method must be implemented.
MethodorderByScriptType
Description

Orders the results by script type.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENTstyle is null
CompliancemandatoryThis method must be implemented.
MethodorderByFormatType
Description

Orders the results by format type.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENTstyle is null
CompliancemandatoryThis method must be implemented.
MethodorderByString
Description

Orders the results by string.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENTstyle is null
CompliancemandatoryThis 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.TypeidiomRecordTypean idiom record type
Returnosid.lexicon.records.IdiomSearchOrderRecordthe idiom search order record
ErrorsNULL_ARGUMENTidiomRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(idiomRecordType) is false
CompliancemandatoryThis method must be implemented.