Interface TermSearchOrder
- All Superinterfaces:
Extensible, OsidBrowsableSearchOrder, OsidExtensibleSearchOrder, OsidFederateableSearchOrder, OsidIdentifiableSearchOrder, OsidObjectSearchOrder, OsidSearchOrder, Suppliable
An interface for specifying the ordering of search results.
-
Method Summary
Modifier and TypeMethodDescriptiongetTermSearchOrderRecord(Type termRecordType) Gets the term search order record corresponding to the given course recordType.voidorderByAddDate(SearchOrderStyle style) Specifies a preference for ordering the result set by the add date.voidSpecifies a preference for ordering the result set by the duration of the classes period.voidSpecified a preference for ordering results by classes end.voidSpecified a preference for ordering results by classes start.voidorderByCloseDate(SearchOrderStyle style) Specifies a preference for ordering the result set by the close date.voidSpecifies a preference for ordering the result set by course title.voidorderByDropDate(SearchOrderStyle style) Specifies a preference for ordering the result set by the drop date.voidSpecifies a preference for ordering the result set by the duration of the final exam period.voidSpecified a preference for ordering results by final exam end.voidSpecified a preference for ordering results by final exam start.voidorderByOpenDate(SearchOrderStyle style) Specified a preference for ordering results by the open date.voidSpecifies a preference for ordering the result set by the duration of the registration period.voidSpecified a preference for ordering results by registration end.voidSpecified a preference for ordering results by registration start.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.
-
Method Details
-
orderByDisplayLabel
Specifies a preference for ordering the result set by course title.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByOpenDate
Specified a preference for ordering results by the open date.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByRegistrationStart
Specified a preference for ordering results by registration start.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByRegistrationEnd
Specified a preference for ordering results by registration end.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByRegistrationDuration
Specifies a preference for ordering the result set by the duration of the registration period.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByClassesStart
Specified a preference for ordering results by classes start.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByClassesEnd
Specified a preference for ordering results by classes end.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByClassesDuration
Specifies a preference for ordering the result set by the duration of the classes period.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByAddDate
Specifies a preference for ordering the result set by the add date.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByDropDate
Specifies a preference for ordering the result set by the drop date.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByFinalExamStart
Specified a preference for ordering results by final exam start.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByFinalExamEnd
Specified a preference for ordering results by final exam end.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByFinalExamDuration
Specifies a preference for ordering the result set by the duration of the final exam period.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByCloseDate
Specifies a preference for ordering the result set by the close date.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
getTermSearchOrderRecord
Gets the term search order record corresponding to the given course recordType. Multiple retrievals return the same underlying object.- Parameters:
termRecordType- a term record type- Returns:
- the term search order record
- Throws:
NullArgumentException-termRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(termRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-