Interface LessonSearchOrder
- 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 an actual ending actvity.Gets the search order for an actual starting actvity.Gets the search order for a docet.getLessonSearchOrderRecord(Type lessonRecordType) Gets the lesson search order record corresponding to the given lesson record Type.Gets the search order for a plan.voidSpecified a preference for ordering results by the actual ending activity.voidSpecified a preference for ordering results by the actual end time.voidSpecified a preference for ordering results by the actual starting activity.voidSpecified a preference for ordering results by the actual start time.voidSpecified a preference for ordering results by the actual time spent.voidorderByBegun(SearchOrderStyle style) Specified a preference for ordering results by the begun flag.voidorderByComplete(SearchOrderStyle style) Specified a preference for ordering results by the complete flag.voidorderByDocet(SearchOrderStyle style) Specified a preference for ordering results by the docet.voidorderByPlan(SearchOrderStyle style) Specified a preference for ordering results by the plan.voidSpecified a preference for ordering results by the planned start time.voidorderBySkipped(SearchOrderStyle style) Specified a preference for ordering results by the skipped flag.booleanTests if anActivitySearchOrderis available.booleanTests if anActivitySearchOrderis available.booleanTests if aDocetSearchOrderis available.booleanTests if aPlanSearchOrderis 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
-
orderByPlan
Specified a preference for ordering results by the plan.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsPlanSearchOrder
boolean supportsPlanSearchOrder()Tests if aPlanSearchOrderis available.- Returns:
trueif a plan search order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getPlanSearchOrder
PlanSearchOrder getPlanSearchOrder()Gets the search order for a plan.- Returns:
- the plan search order
- Throws:
UnimplementedException-supportsPlanSearchOrder()isfalse- Compliance:
optional- This method must be implemented if {@code supportsPlanSearchOrder()} is {@code true} .
-
orderByDocet
Specified a preference for ordering results by the docet.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsDocetSearchOrder
boolean supportsDocetSearchOrder()Tests if aDocetSearchOrderis available.- Returns:
trueif a docet search order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getDocetSearchOrder
DocetSearchOrder getDocetSearchOrder()Gets the search order for a docet.- Returns:
- the docet search order
- Throws:
UnimplementedException-supportsDocetSearchOrder()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDocetSearchOrder()} is {@code true} .
-
orderByPlannedStartTime
Specified a preference for ordering results by the planned start time.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByBegun
Specified a preference for ordering results by the begun flag.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByActualStartTime
Specified a preference for ordering results by the actual start time.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByActualStartingActivity
Specified a preference for ordering results by the actual starting activity.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsActualStartingActivitySearchOrder
boolean supportsActualStartingActivitySearchOrder()Tests if anActivitySearchOrderis available.- Returns:
trueif an activity search order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getActualStartingActivitySearchOrder
ActivitySearchOrder getActualStartingActivitySearchOrder()Gets the search order for an actual starting actvity.- Returns:
- the activity search order
- Throws:
UnimplementedException-supportsActualStartingActivitySearchOrder()isfalse- Compliance:
optional- This method must be implemented if {@code supportsActualStartingActivitySearchOrder()} is {@code true} .
-
orderByComplete
Specified a preference for ordering results by the complete flag.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderBySkipped
Specified a preference for ordering results by the skipped flag.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByActualEndTime
Specified a preference for ordering results by the actual end time.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByActualEndingActivity
Specified a preference for ordering results by the actual ending activity.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsActualEndingActivitySearchOrder
boolean supportsActualEndingActivitySearchOrder()Tests if anActivitySearchOrderis available.- Returns:
trueif an activity search order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getActualEndingActivitySearchOrder
ActivitySearchOrder getActualEndingActivitySearchOrder()Gets the search order for an actual ending actvity.- Returns:
- the activity search order
- Throws:
UnimplementedException-supportsActualEndingActivitySearchOrder()isfalse- Compliance:
optional- This method must be implemented if {@code supportsActualEndingActivitySearchOrder()} is {@code true} .
-
orderByActualTimeSpent
Specified a preference for ordering results by the actual time spent.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
getLessonSearchOrderRecord
LessonSearchOrderRecord getLessonSearchOrderRecord(Type lessonRecordType) throws OperationFailedException Gets the lesson search order record corresponding to the given lesson record Type. Multiple retrievals return the same underlying object.- Parameters:
lessonRecordType- a lesson record type- Returns:
- the lesson search order record
- Throws:
NullArgumentException-lessonRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(lessonRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-