public interface ProgramOfferingSearchOrder extends OsidRelationshipSearchOrder
An interface for specifying the ordering of search results.
| Modifier and Type | Method and Description |
|---|---|
ProgramOfferingSearchOrderRecord |
getProgramOfferingSearchOrderRecord(Type programOfferingRecordType)
Gets the program offering search order record corresponding to the
given program offering record
Type. |
ProgramSearchOrder |
getProgramSearchOrder()
Gets the course order.
|
TermSearchOrder |
getTermSearchOrder()
Gets the term order.
|
void |
orderByCompletionRequirementsInfo(SearchOrderStyle style)
Specifies a preference for ordering the result set by program
completion requirements.
|
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 program offering
number.
|
void |
orderByProgram(SearchOrderStyle style)
Specifies a preference for ordering the result set by program.
|
void |
orderByRequiresRegistration(SearchOrderStyle style)
Specifies a preference for ordering the result set by program
offerings requiring registration.
|
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 program offering
title.
|
void |
orderByURL(SearchOrderStyle style)
Specifies a preference for ordering the result set by url.
|
boolean |
supportsProgramSearchOrder()
Tests if a course order is available.
|
boolean |
supportsTermSearchOrder()
Tests if a term order is available.
|
getEndReasonSearchOrder, orderByEndReason, supportsEndReasonSearchOrderorderByCreateTime, orderByCumulativeRating, orderByDescription, orderByDisplayName, orderByGenusType, orderByLastModifiedTime, orderByState, orderByStatisticorderByIdgetRecordTypes, hasRecordTypeorderByEffective, orderByEndDate, orderByStartDatevoid orderByProgram(SearchOrderStyle style)
style - a search order styleNullArgumentException - style is
null mandatory - This method must be implemented. boolean supportsProgramSearchOrder()
true if a course order is available,
false otherwisemandatory - This method must be implemented. ProgramSearchOrder getProgramSearchOrder()
UnimplementedException -
supportsProgramSearchOrder() is false optional - This method must be implemented if
supportsProgramSearchOrder() 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 orderByCompletionRequirementsInfo(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. ProgramOfferingSearchOrderRecord getProgramOfferingSearchOrderRecord(Type programOfferingRecordType) throws OperationFailedException
Type. Multiple retrievals
return the same underlying object.programOfferingRecordType - a program offering record typeNullArgumentException -
programOfferingRecordType is null OperationFailedException - unable to complete requestUnsupportedException -
hasRecordType(programOfferingRecordType) is
false mandatory - This method must be implemented.