Interface | osid.assessment.AssessmentSearchOrder | ||
---|---|---|---|
Implements | osid.OsidObjectSearchOrder | ||
Description |
An interface for specifying the ordering of search results. | ||
Method | orderByLevel | ||
Description |
Specifies a preference for ordering the result set by the level of difficulty. | ||
Parameters | osid.SearchOrderStyle | style | search order style |
Errors | NULL_ARGUMENT | style is null | |
Compliance | mandatory | This method must be implemented. | |
Method | supportsLevelSearchOrder | ||
Description |
Tests if a grade search order is available. | ||
Return | boolean | true if a grade search order is available, false
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | getLevelSearchOrder | ||
Description |
Gets a grade search order. | ||
Return | osid.grading.GradeSearchOrder | a grade search order | |
Errors | UNIMPLEMENTED | supportsLevelSearchOrder() is false | |
Compliance | optional | This method must be implemented if supportsLevelSearchOrder()
is true. | |
Method | orderByRubric | ||
Description |
Specifies a preference for ordering the result set by the rubric assessment. | ||
Parameters | osid.SearchOrderStyle | style | search order style |
Errors | NULL_ARGUMENT | style is null | |
Compliance | mandatory | This method must be implemented. | |
Method | supportsRubricSearchOrder | ||
Description |
Tests if an assessment search order is available. | ||
Return | boolean | true if an assessment search order is available,
false otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | getRubricSearchOrder | ||
Description |
Gets an assessment search order. | ||
Return | osid.assessment.AssessmentSearchOrder | a rubric assessment search order | |
Errors | UNIMPLEMENTED | supportsRubricSearchOrder() is false | |
Compliance | optional | This method must be implemented if supportsRubricSearchOrder()
is true. | |
Method | getAssessmentSearchOrderRecord | ||
Description |
Gets the assessment search order record corresponding
to the given assessment record | ||
Parameters | osid.type.Type | assessmentRecordType | an assessment record type |
Return | osid.assessment.records.AssessmentSearchOrderRecord | the assessment search order record | |
Errors | NULL_ARGUMENT | assessmentRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
UNSUPPORTED | hasRecordType(assessmentRecordType) is false | ||
Compliance | mandatory | This method must be implemented. |