Interface AssessmentEntrySearchOrder
- All Superinterfaces:
Extensible, OsidBrowsableSearchOrder, OsidExtensibleSearchOrder, OsidIdentifiableSearchOrder, OsidObjectSearchOrder, OsidRelationshipSearchOrder, OsidSearchOrder, OsidTemporalSearchOrder, Suppliable
An interface for specifying the ordering of search results.
-
Method Summary
Modifier and TypeMethodDescriptiongetAssessmentEntrySearchOrderRecord(Type assessmentEntryRecordType) Gets the assessment search order record corresponding to the given assessment entry recordType.Gets the assessment order.Gets the course order.Gets the grade system search order.Gets the program order.Gets the grade system order.Gets the resource order.voidSpecifies a preference for ordering the result set by the assessment.voidorderByCourse(SearchOrderStyle style) Specifies a preference for ordering the result set by the course.voidSpecifies a preference for ordering the result set by the completion date.voidorderByGrade(SearchOrderStyle style) Specifies a preference for ordering the result set by the grade system for GPAs.voidorderByProgram(SearchOrderStyle style) Specifies a preference for ordering the result set by the program.voidorderByScore(SearchOrderStyle style) Specifies a preference for ordering the result set by the score.voidSpecifies a preference for ordering the result set by the grade system for scores.voidorderByStudent(SearchOrderStyle style) Specifies a preference for ordering the result set by the resource.booleanTests if an assessment order is available.booleanTests if a course order is available.booleanTests if a grade search order is available.booleanTests if a program order is available.booleanTests if a grade system order is available.booleanTests if a resource 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.Methods inherited from interface OsidRelationshipSearchOrder
getEndReasonSearchOrder, orderByEndReason, supportsEndReasonSearchOrderModifier and TypeMethodDescriptionGets the search order for a state.voidorderByEndReason(SearchOrderStyle style) Specifies a preference for ordering the results by the end reason state.booleanTests if aStateSearchOrderis available.Methods inherited from interface OsidTemporalSearchOrder
orderByEffective, orderByEndDate, orderByStartDateModifier and TypeMethodDescriptionvoidorderByEffective(SearchOrderStyle style) Specifies a preference for ordering the result set by the effective status.voidorderByEndDate(SearchOrderStyle style) Specifies a preference for ordering the result set by the end date.voidorderByStartDate(SearchOrderStyle style) Specifies a preference for ordering the result set by the start date.
-
Method Details
-
orderByStudent
Specifies a preference for ordering the result set by the resource.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsStudentSearchOrder
boolean supportsStudentSearchOrder()Tests if a resource order is available.- Returns:
trueif a resource order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getStudentSearchOrder
ResourceSearchOrder getStudentSearchOrder()Gets the resource order.- Returns:
- the resource search order
- Throws:
UnimplementedException-supportsStudentSearchOrder()isfalse- Compliance:
optional- This method must be implemented if {@code supportsStudentSearchOrder()} is {@code true} .
-
orderByAssessment
Specifies a preference for ordering the result set by the assessment.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsAssessmentSearchOrder
boolean supportsAssessmentSearchOrder()Tests if an assessment order is available.- Returns:
trueif an assessment order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getAssessmentSearchOrder
AssessmentSearchOrder getAssessmentSearchOrder()Gets the assessment order.- Returns:
- the assessment search order
- Throws:
UnimplementedException-supportsAssessmentSearchOrder()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAssessmentSearchOrder()} is {@code true} .
-
orderByDateCompleted
Specifies a preference for ordering the result set by the completion date.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByProgram
Specifies a preference for ordering the result set by the program.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsProgramSearchOrder
boolean supportsProgramSearchOrder()Tests if a program order is available.- Returns:
trueif a program order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getProgramSearchOrder
ProgramSearchOrder getProgramSearchOrder()Gets the program order.- Returns:
- the program search order
- Throws:
UnimplementedException-supportsProgramSearchOrder()isfalse- Compliance:
optional- This method must be implemented if {@code supportsProgramSearchOrder()} is {@code true} .
-
orderByCourse
Specifies a preference for ordering the result set by the course.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsCourseSearchOrder
boolean supportsCourseSearchOrder()Tests if a course order is available.- Returns:
trueif a course order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getCourseSearchOrder
CourseSearchOrder getCourseSearchOrder()Gets the course order.- Returns:
- the course search order
- Throws:
UnimplementedException-supportsCourseSearchOrder()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCourseSearchOrder()} is {@code true} .
-
orderByGrade
Specifies a preference for ordering the result set by the grade system for GPAs.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsGradeSearchOrder
boolean supportsGradeSearchOrder()Tests if a grade search order is available.- Returns:
trueif a grade order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getGradeSearchOrder
GradeSearchOrder getGradeSearchOrder()Gets the grade system search order.- Returns:
- the grade search order
- Throws:
UnimplementedException-supportsGradeSearchOrder()isfalse- Compliance:
optional- This method must be implemented if {@code supportsGradeSearchOrder()} is {@code true} .
-
orderByScoreScale
Specifies a preference for ordering the result set by the grade system for scores.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsScoreScaleSearchOrder
boolean supportsScoreScaleSearchOrder()Tests if a grade system order is available.- Returns:
trueif a grade system order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getScoreScaleSearchOrder
GradeSystemSearchOrder getScoreScaleSearchOrder()Gets the grade system order.- Returns:
- the grade system search order
- Throws:
UnimplementedException-supportsScoreScaleSearchOrder()isfalse- Compliance:
optional- This method must be implemented if {@code supportsScoreScaleSearchOrder()} is {@code true} .
-
orderByScore
Specifies a preference for ordering the result set by the score.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
getAssessmentEntrySearchOrderRecord
AssessmentEntrySearchOrderRecord getAssessmentEntrySearchOrderRecord(Type assessmentEntryRecordType) throws OperationFailedException Gets the assessment search order record corresponding to the given assessment entry recordType. Multiple retrievals return the same underlying object.- Parameters:
assessmentEntryRecordType- an assessment entry record type- Returns:
- the assessment entry search order record
- Throws:
NullArgumentException-assessmentEntryRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(assessmentEntryRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-