public interface CourseOfferingSearchOrder extends OsidRelationshipSearchOrder
An interface for specifying the ordering of search results.
Modifier and Type | Method and Description |
---|---|
CourseOfferingSearchOrderRecord |
getCourseOfferingSearchOrderRecord(Type courseOfferingRecordType)
Gets the course offering search order record corresponding to the
given course offering record
Type. |
CourseSearchOrder |
getCourseSearchOrder()
Gets the course order.
|
EventSearchOrder |
getEventSearchOrder()
Gets the event order.
|
TermSearchOrder |
getTermSearchOrder()
Gets the term order.
|
void |
orderByCourse(SearchOrderStyle style)
Specifies a preference for ordering the result set by course.
|
void |
orderByEvent(SearchOrderStyle style)
Specifies a preference for ordering the result set by event.
|
void |
orderByMaximumSeats(SearchOrderStyle style)
Specifies a preference for ordering the result set by the maximum
seats.
|
void |
orderByMinimumSeats(SearchOrderStyle style)
Specifies a preference for ordering the result set by the minimum
seats.
|
void |
orderByNumber(SearchOrderStyle style)
Specifies a preference for ordering the result set by course offering
number.
|
void |
orderByRequiresRegistration(SearchOrderStyle style)
Specifies a preference for ordering the result set by course offerings
requiring registration.
|
void |
orderByScheduleInfo(SearchOrderStyle style)
Specifies a preference for ordering the result set by schedule info.
|
void |
orderByTerm(SearchOrderStyle style)
Specifies a preference for ordering the result set by term.
|
void |
orderByTitle(SearchOrderStyle style)
Specifies a preference for ordering the result set by course offering
title.
|
void |
orderByURL(SearchOrderStyle style)
Specifies a preference for ordering the result set by url.
|
boolean |
supportsCourseSearchOrder()
Tests if a course order is available.
|
boolean |
supportsEventSearchOrder()
Tests if an event search order is available.
|
boolean |
supportsTermSearchOrder()
Tests if a term order is available.
|
getEndReasonSearchOrder, orderByEndReason, supportsEndReasonSearchOrder
orderByCreateTime, orderByCumulativeRating, orderByDescription, orderByDisplayName, orderByGenusType, orderByLastModifiedTime, orderByState, orderByStatistic
orderById
getRecordTypes, hasRecordType
orderByEffective, orderByEndDate, orderByStartDate
void orderByCourse(SearchOrderStyle style)
style
- a search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. boolean supportsCourseSearchOrder()
true
if a course order is available,
false
otherwisemandatory
- This method must be implemented. CourseSearchOrder getCourseSearchOrder()
UnimplementedException
-
supportsCourseSearchOrder()
is false
optional
- This method must be implemented if
supportsCourseSearchOrder()
is true.
void orderByTerm(SearchOrderStyle style)
style
- a search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. boolean supportsTermSearchOrder()
true
if a term order is available, false
otherwisemandatory
- This method must be implemented. TermSearchOrder getTermSearchOrder()
UnimplementedException
-
supportsTermSearchOrder()
is false
optional
- This method must be implemented if
supportsTermSearchOrder()
is true.
void orderByTitle(SearchOrderStyle style)
style
- a search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. void orderByNumber(SearchOrderStyle style)
style
- a search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. void orderByRequiresRegistration(SearchOrderStyle style)
style
- a search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. void orderByMinimumSeats(SearchOrderStyle style)
style
- a search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. void orderByMaximumSeats(SearchOrderStyle style)
style
- a search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. void orderByURL(SearchOrderStyle style)
style
- a search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. void orderByScheduleInfo(SearchOrderStyle style)
style
- a search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. void orderByEvent(SearchOrderStyle style)
style
- a search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. boolean supportsEventSearchOrder()
true
if an event order is available,
false
otherwisemandatory
- This method must be implemented. EventSearchOrder getEventSearchOrder()
UnimplementedException
-
supportsEventSearchOrder()
is false
optional
- This method must be implemented if
supportsEventSearchOrder()
is true.
CourseOfferingSearchOrderRecord getCourseOfferingSearchOrderRecord(Type courseOfferingRecordType) throws OperationFailedException
Type.
Multiple retrievals
return the same underlying object.courseOfferingRecordType
- a course offering record typeNullArgumentException
- courseOfferingRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(courseOfferingRecordType)
is
false
mandatory
- This method must be implemented.