Interface AssessmentSearchOrder
- All Superinterfaces:
Extensible, OsidBrowsableSearchOrder, OsidExtensibleSearchOrder, OsidIdentifiableSearchOrder, OsidObjectSearchOrder, OsidSearchOrder, Suppliable
An interface for specifying the ordering of search results.
-
Method Summary
Modifier and TypeMethodDescriptiongetAssessmentSearchOrderRecord(Type assessmentRecordType) Gets the assessment search order record corresponding to the given assessment recordType.Multiple retrievals return the same underlying object.Gets a grade search order.Gets an assessment search order.voidorderByLevel(SearchOrderStyle style) Specifies a preference for ordering the result set by the level of difficulty.voidorderByRubric(SearchOrderStyle style) Specifies a preference for ordering the result set by the rubric assessment.booleanTests if a grade search order is available.booleanTests if an assessment search order is available.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeModifier and TypeMethodDescriptionGets the record types available in this object.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.Methods inherited from interface OsidIdentifiableSearchOrder
orderByIdModifier and TypeMethodDescriptionvoidorderById(SearchOrderStyle style) Specifies a preference for ordering the result set by theId.Methods inherited from interface OsidObjectSearchOrder
orderByCreateTime, orderByCumulativeRating, orderByDescription, orderByDisplayName, orderByGenusType, orderByLastModifiedTime, orderByState, orderByStatisticModifier and TypeMethodDescriptionvoidOrders by the timestamp of the first journal entry.voidorderByCumulativeRating(Id bookId, SearchOrderStyle style) Orders by the cumulative rating in a givenBook.voidSpecifies a preference for ordering the result set by the description.voidSpecifies a preference for ordering the result set by the display name.voidorderByGenusType(SearchOrderStyle style) Specifies a preference for ordering the result set by the genus type.voidOrders by the timestamp of the last journal entry.voidorderByState(Id processId, SearchOrderStyle style) Orders by the state in a givenProcess.voidorderByStatistic(Id meterId, SearchOrderStyle style) Orders by a statistic for a givenMeter.
-
Method Details
-
orderByLevel
Specifies a preference for ordering the result set by the level of difficulty.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsLevelSearchOrder
boolean supportsLevelSearchOrder()Tests if a grade search order is available.- Returns:
trueif a grade search order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getLevelSearchOrder
GradeSearchOrder getLevelSearchOrder()Gets a grade search order.- Returns:
- a grade search order
- Throws:
UnimplementedException-supportsLevelSearchOrder()isfalse- Compliance:
optional- This method must be implemented if {@code supportsLevelSearchOrder()} is {@code true} .
-
orderByRubric
Specifies a preference for ordering the result set by the rubric assessment.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsRubricSearchOrder
boolean supportsRubricSearchOrder()Tests if an assessment search order is available.- Returns:
trueif an assessment search order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getRubricSearchOrder
AssessmentSearchOrder getRubricSearchOrder()Gets an assessment search order.- Returns:
- a rubric assessment search order
- Throws:
UnimplementedException-supportsRubricSearchOrder()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRubricSearchOrder()} is {@code true} .
-
getAssessmentSearchOrderRecord
AssessmentSearchOrderRecord getAssessmentSearchOrderRecord(Type assessmentRecordType) throws OperationFailedException Gets the assessment search order record corresponding to the given assessment recordType.Multiple retrievals return the same underlying object.- Parameters:
assessmentRecordType- an assessment record type- Returns:
- the assessment search order record
- Throws:
NullArgumentException-assessmentRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(assessmentRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-