OSID Logo
OSID Specifications
learning package
Version 3.1.0
Interfaceosid.learning.ProficiencySearchOrder
Implementsosid.OsidRelationshipSearchOrder
Used Byosid.learning.ProficiencySearchSession
osid.learning.ProficiencySmartObjectiveBankSession
Description

An interface for specifying the ordering of search results.

MethodorderByResource
Description

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

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

Tests if a resource search order is available.

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

Gets a resource search order.

Returnosid.resource.ResourceSearchOrder a resource search order
ErrorsUNIMPLEMENTED supportsResourceSearchOrder() is false
Complianceoptional This method must be implemented if supportsResourceSearchOrder() is true.
MethodorderByObjective
Description

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

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

Tests if an objective search order is available.

Returnboolean true if an objective search order is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetObjectiveSearchOrder
Description

Gets an objective search order.

Returnosid.learning.ObjectiveSearchOrder an objective search order
ErrorsUNIMPLEMENTED supportsObjectiveSearchOrder() is false
Complianceoptional This method must be implemented if supportsObjectiveSearchOrder() is true.
MethodorderByCompletion
Description

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

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

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

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

Gets a grade search order.

Returnosid.grading.GradeSearchOrder a grade search order
ErrorsUNIMPLEMENTED supportsLevelSearchOrder() is false
Complianceoptional This method must be implemented if supportsLevelSearchOrder() is true.
MethodgetProficiencySearchOrderRecord
Description

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

Parametersosid.type.TypeproficiencyRecordType a proficiency record type
Returnosid.learning.records.ProficiencySearchOrderRecord the proficiency search order record
ErrorsNULL_ARGUMENT proficiencyRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(proficiencyRecordType) is false
Compliancemandatory This method must be implemented.