public interface AssessmentSearchOrder extends OsidObjectSearchOrder
An interface for specifying the ordering of search results.
Modifier and Type | Method and Description |
---|---|
AssessmentSearchOrderRecord |
getAssessmentSearchOrderRecord(Type assessmentRecordType)
Gets the assessment search order record corresponding to the given
assessment record
Type. |
GradeSearchOrder |
getLevelSearchOrder()
Gets a grade search order.
|
AssessmentSearchOrder |
getRubricSearchOrder()
Gets an assessment search order.
|
void |
orderByLevel(SearchOrderStyle style)
Specifies a preference for ordering the result set by the level of
difficulty.
|
void |
orderByRubric(SearchOrderStyle style)
Specifies a preference for ordering the result set by the rubric
assessment.
|
boolean |
supportsLevelSearchOrder()
Tests if a grade search order is available.
|
boolean |
supportsRubricSearchOrder()
Tests if an assessment search order is available.
|
orderByCreateTime, orderByCumulativeRating, orderByDescription, orderByDisplayName, orderByGenusType, orderByLastModifiedTime, orderByState, orderByStatistic
orderById
getRecordTypes, hasRecordType
void orderByLevel(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. boolean supportsLevelSearchOrder()
true
if a grade search order is available,
false
otherwisemandatory
- This method must be implemented. GradeSearchOrder getLevelSearchOrder()
UnimplementedException
-
supportsLevelSearchOrder()
is false
optional
- This method must be implemented if
supportsLevelSearchOrder()
is true.
void orderByRubric(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. boolean supportsRubricSearchOrder()
true
if an assessment search order is
available, false
otherwisemandatory
- This method must be implemented. AssessmentSearchOrder getRubricSearchOrder()
UnimplementedException
-
supportsRubricSearchOrder()
is false
optional
- This method must be implemented if
supportsRubricSearchOrder()
is true.
AssessmentSearchOrderRecord getAssessmentSearchOrderRecord(Type assessmentRecordType) throws OperationFailedException
Type.
Multiple retrievals return the
same underlying object.assessmentRecordType
- an assessment record typeNullArgumentException
- assessmentRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(assessmentRecordType)
is false
mandatory
- This method must be implemented.