Interface CourseEntrySearchOrder
- All Superinterfaces:
Extensible, OsidBrowsableSearchOrder, OsidExtensibleSearchOrder, OsidIdentifiableSearchOrder, OsidObjectSearchOrder, OsidRelationshipSearchOrder, OsidSearchOrder, OsidTemporalSearchOrder, Suppliable
An interface for specifying the ordering of search results.
-
Method Summary
Modifier and TypeMethodDescriptiongetCourseEntrySearchOrderRecord(Type courseEntryRecordType) Gets the course entry search order record corresponding to the given course entry entry recordType.Gets the course order.Gets the grade system search order.Gets the grade system search order.Gets the grade system order.Gets the resource order.Gets the term order.voidorderByComplete(SearchOrderStyle style) Specifies a preference for ordering the result set by completed courses.voidorderByCourse(SearchOrderStyle style) Specifies a preference for ordering the result set by the course.voidSpecifies a preference for ordering results by course begin date.voidSpecifies a preference for ordering results by course end date.voidSpecifies a preference for ordering the result set by the grade system for credits.voidSpecifies a preference for ordering the result set by the earned credits.voidorderByGrade(SearchOrderStyle style) Specifies a preference for ordering the result set by the grade.voidSpecifies a preference for ordering results by the is registration known flag.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.voidorderByTerm(SearchOrderStyle style) Specifies a preference for ordering the result set by the term.booleanTests if a course order is available.booleanTests if a grade system order is available.booleanTests if a grade search order is available.booleanTests if a grade system order is available.booleanTests if a resource order is available.booleanTests if a term 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} .
-
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} .
-
orderByTerm
Specifies a preference for ordering the result set by the term.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsTermSearchOrder
boolean supportsTermSearchOrder()Tests if a term order is available.- Returns:
trueif a term order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getTermSearchOrder
TermSearchOrder getTermSearchOrder()Gets the term order.- Returns:
- the term search order
- Throws:
UnimplementedException-supportsTermSearchOrder()isfalse- Compliance:
optional- This method must be implemented if {@code supportsTermSearchOrder()} is {@code true} .
-
orderByIsRegistrationKnown
Specifies a preference for ordering results by the is registration known flag.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByCourseBeginDate
Specifies a preference for ordering results by course begin date.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByCourseEndDate
Specifies a preference for ordering results by course end date.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByComplete
Specifies a preference for ordering the result set by completed courses.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByCreditScale
Specifies a preference for ordering the result set by the grade system for credits.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsCreditScaleSearchOrder
boolean supportsCreditScaleSearchOrder()Tests if a grade system order is available.- Returns:
trueif a grade system order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getCreditScaleSearchOrder
GradeSystemSearchOrder getCreditScaleSearchOrder()Gets the grade system search order.- Returns:
- the credit scale search order
- Throws:
UnimplementedException-supportsCreditScaleSearchOrder()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCreditScaleSearchOrder()} is {@code true} .
-
orderByCreditsEarned
Specifies a preference for ordering the result set by the earned credits.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByGrade
Specifies a preference for ordering the result set by the grade.- 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.
-
getCourseEntrySearchOrderRecord
CourseEntrySearchOrderRecord getCourseEntrySearchOrderRecord(Type courseEntryRecordType) throws OperationFailedException Gets the course entry search order record corresponding to the given course entry entry recordType. Multiple retrievals return the same underlying object.- Parameters:
courseEntryRecordType- a course entry record type- Returns:
- the course entry search order record
- Throws:
NullArgumentException-courseEntryRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(courseEntryRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-