Interface GradeEntrySearchOrder
- 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 search order for a gradebook column.getGradeEntrySearchOrderRecord(Type gradeEntryRecordType) Gets the grade entry search order record corresponding to the given grade entry recordType.Multiple retrievals return the same underlying object.Gets the search order for a grader.Gets the search order for a grade.Gets the search order for a grading agent.Gets the search order for a resource.voidorderByDerived(SearchOrderStyle style) Specified a preference for ordering results by the derived entries.voidorderByGrade(SearchOrderStyle style) Specified a preference for ordering results by the grade or score.voidSpecified a preference for ordering results by the gradebook column.voidorderByGrader(SearchOrderStyle style) Specified a preference for ordering results by the grader.voidSpecified a preference for ordering results by the grading agent.voidSpecified a preference for ordering results by the ignore for calculations flag.voidSpecified a preference for ordering results by the key resource.voidSpecified a preference for ordering results by the time graded.booleanTests if aGradebookColumnSearchOrderis available.booleanTests if aResourceSearchOrderis available for grader resources.booleanTests if aGradeSearchOrderis available.booleanTests if anAgentSearchOrderis available fo grading agents.booleanTests if aResourceSearchOrderis 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
-
orderByGradebookColumn
Specified a preference for ordering results by the gradebook column.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsGradebookColumnSearchOrder
boolean supportsGradebookColumnSearchOrder()Tests if aGradebookColumnSearchOrderis available.- Returns:
trueif a gradebook column search order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getGradebookColumnSearchOrder
GradebookColumnSearchOrder getGradebookColumnSearchOrder()Gets the search order for a gradebook column.- Returns:
- the gradebook column search order
- Throws:
UnimplementedException-supportsGradebookColumnSearchOrder()isfalse- Compliance:
optional- This method must be implemented if {@code supportsGradebookColumnSearchOrder()} is {@code true} .
-
orderByKeyResource
Specified a preference for ordering results by the key resource.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsKeyResourceSearchOrder
boolean supportsKeyResourceSearchOrder()Tests if aResourceSearchOrderis available.- Returns:
trueif a key resource search order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getKeyResourceSearchOrder
ResourceSearchOrder getKeyResourceSearchOrder()Gets the search order for a resource.- Returns:
- the key resource search order
- Throws:
UnimplementedException-supportsKeyResourceSearchOrder()isfalse- Compliance:
optional- This method must be implemented if {@code supportsKeyResourceSearchOrder()} is {@code true} .
-
orderByDerived
Specified a preference for ordering results by the derived entries.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByIgnoredForCalculations
Specified a preference for ordering results by the ignore for calculations flag.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByGrade
Specified a preference for ordering results by the grade or score.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsGradeSearchOrder
boolean supportsGradeSearchOrder()Tests if aGradeSearchOrderis available.- Returns:
trueif a grade search order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getGradeSearchOrder
GradeSearchOrder getGradeSearchOrder()Gets the search order for a grade.- Returns:
- the grade search order
- Throws:
UnimplementedException-supportsGradeSearchOrder()isfalse- Compliance:
optional- This method must be implemented if {@code supportsGradeSearchOrder()} is {@code true} .
-
orderByTimeGraded
Specified a preference for ordering results by the time graded.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByGrader
Specified a preference for ordering results by the grader.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsGraderSearchOrder
boolean supportsGraderSearchOrder()Tests if aResourceSearchOrderis available for grader resources.- Returns:
trueif a resource search order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getGraderSearchOrder
ResourceSearchOrder getGraderSearchOrder()Gets the search order for a grader.- Returns:
- the resource search order
- Throws:
UnimplementedException-supportsGraderSearchOrder()isfalse- Compliance:
optional- This method must be implemented if {@code supportsGraderSearchOrder()} is {@code true} .
-
orderByGradingAgent
Specified a preference for ordering results by the grading agent.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsGradingAgentSearchOrder
boolean supportsGradingAgentSearchOrder()Tests if anAgentSearchOrderis available fo grading agents.- Returns:
trueif an agent search order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getGradingAgentSearchOrder
AgentSearchOrder getGradingAgentSearchOrder()Gets the search order for a grading agent.- Returns:
- the agent search order
- Throws:
UnimplementedException-supportsGradingAgentSearchOrder()isfalse- Compliance:
optional- This method must be implemented if {@code supportsGradingAgentSearchOrder()} is {@code true} .
-
getGradeEntrySearchOrderRecord
GradeEntrySearchOrderRecord getGradeEntrySearchOrderRecord(Type gradeEntryRecordType) throws OperationFailedException Gets the grade entry search order record corresponding to the given grade entry recordType.Multiple retrievals return the same underlying object.- Parameters:
gradeEntryRecordType- a grade entry record type- Returns:
- the grade entry search order record
- Throws:
NullArgumentException-gradeEntryRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(gradeEntryRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-