Interface AwardEntrySearchOrder
- All Superinterfaces:
Extensible, OsidBrowsableSearchOrder, OsidExtensibleSearchOrder, OsidIdentifiableSearchOrder, OsidObjectSearchOrder, OsidRelationshipSearchOrder, OsidSearchOrder, OsidTemporalSearchOrder, Suppliable
An interface for specifying the ordering of search results.
-
Method Summary
Modifier and TypeMethodDescriptionGets the assessment order.getAwardEntrySearchOrderRecord(Type awardEntryRecordType) Gets the award search order record corresponding to the given award entry recordType.Gets the award order.Gets the course order.Gets the program order.Gets the resource order.voidSpecifies a preference for ordering the result set by the assessment.voidorderByAward(SearchOrderStyle style) Specifies a preference for ordering the result set by the award.voidorderByCourse(SearchOrderStyle style) Specifies a preference for ordering the result set by the course.voidSpecifies a preference for ordering the result set by the award date.voidorderByProgram(SearchOrderStyle style) Specifies a preference for ordering the result set by the program.voidorderByStudent(SearchOrderStyle style) Specifies a preference for ordering the result set by the resource.booleanTests if an assessment order is available.booleanTests if an award order is available.booleanTests if a course order is available.booleanTests if a program 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} .
-
orderByAward
Specifies a preference for ordering the result set by the award.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsAwardSearchOrder
boolean supportsAwardSearchOrder()Tests if an award order is available.- Returns:
trueif an award order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getAwardSearchOrder
AwardSearchOrder getAwardSearchOrder()Gets the award order.- Returns:
- the award search order
- Throws:
UnimplementedException-supportsAwardSearchOrder()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAwardSearchOrder()} is {@code true} .
-
orderByDateAwarded
Specifies a preference for ordering the result set by the award 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} .
-
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} .
-
getAwardEntrySearchOrderRecord
AwardEntrySearchOrderRecord getAwardEntrySearchOrderRecord(Type awardEntryRecordType) throws OperationFailedException Gets the award search order record corresponding to the given award entry recordType. Multiple retrievals return the same underlying object.- Parameters:
awardEntryRecordType- an award entry record type- Returns:
- the award entry search order record
- Throws:
NullArgumentException-awardEntryRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(awardEntryRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-