OSID Logo
OSID Specifications
assessment package
Version 3.0.0
Release Candidate Preview
Interfaceosid.assessment.AssessmentSearchOrder
Implementsosid.OsidObjectSearchOrder
Description

An interface for specifying the ordering of search results.

MethodorderByLevel
Description

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

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis 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
CompliancemandatoryThis method must be implemented.
MethodgetLevelSearchOrder
Description

Gets a grade search order.

Returnosid.grading.GradeSearchOrdera grade search order
ErrorsUNIMPLEMENTED supportsLevelSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsLevelSearchOrder() is true.
MethodorderByRubric
Description

Specifies a preference for ordering the result set by the rubric assessment.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodsupportsRubricSearchOrder
Description

Tests if an assessment search order is available.

Returnboolean true if an assessment search order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetRubricSearchOrder
Description

Gets an assessment search order.

Returnosid.assessment.AssessmentSearchOrdera rubric assessment search order
ErrorsUNIMPLEMENTED supportsRubricSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsRubricSearchOrder() is true.
MethodgetAssessmentSearchOrderRecord
Description

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

Parametersosid.type.TypeassessmentRecordTypean assessment record type
Returnosid.assessment.records.AssessmentSearchOrderRecordthe assessment search order record
ErrorsNULL_ARGUMENT assessmentRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(assessmentRecordType) is false
CompliancemandatoryThis method must be implemented.