OSID Logo
OSID Specifications
offering package
Version 3.1.0
Interfaceosid.offering.ResultSearchOrder
Implementsosid.OsidObjectSearchOrder
osid.OsidTemporalSearchOrder
osid.OsidSubjugateableSearchOrder
Used Byosid.offering.ResultSearchSession
osid.offering.ResultSmartCatalogueSession
Description

An interface for specifying the ordering of search results.

MethodorderByParticipant
Description

Specifies a preference for ordering the result set by the participant.

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

Tests if a participant search order is available.

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

Gets the participant search order.

Returnosid.offering.ParticipantSearchOrder the participant search order
ErrorsUNIMPLEMENTED supportsParticipantSearchOrder() is false
Complianceoptional This method must be implemented if supportsParticipantSearchOrder() is true.
MethodorderByGrade
Description

Specifies a preference for ordering the result set by the commitment.

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

Tests if a grade search order is available.

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

Gets the grade search order.

Returnosid.grading.GradeSearchOrder the grade search order
ErrorsUNIMPLEMENTED supportsGradeSearchOrder() is false
Complianceoptional This method must be implemented if supportsGradeSearchOrder() is true.
MethodorderByValue
Description

Specifies a preference for ordering the result set by the value.

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

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

Parametersosid.type.TyperesultRecordType a result record type
Returnosid.offering.records.ResultSearchOrderRecord the result search order record
ErrorsNULL_ARGUMENT resultRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(resultRecordType) is false
Compliancemandatory This method must be implemented.