OSID Logo
OSID Specifications
course package
Version 3.0.0
Release Candidate Preview
Interfaceosid.course.CourseOfferingSearchOrder
Implementsosid.OsidRelationshipSearchOrder
Description

An interface for specifying the ordering of search results.

MethodorderByCourse
Description

Specifies a preference for ordering the result set by course.

Parametersosid.SearchOrderStylestylea search order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodsupportsCourseSearchOrder
Description

Tests if a course order is available.

Returnboolean true if a course order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetCourseSearchOrder
Description

Gets the course order.

Returnosid.course.CourseSearchOrderthe course search order
ErrorsUNIMPLEMENTED supportsCourseSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsCourseSearchOrder() is true.
MethodorderByTerm
Description

Specifies a preference for ordering the result set by term.

Parametersosid.SearchOrderStylestylea search order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodsupportsTermSearchOrder
Description

Tests if a term order is available.

Returnboolean true if a term order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetTermSearchOrder
Description

Gets the term order.

Returnosid.course.TermSearchOrderthe term search order
ErrorsUNIMPLEMENTED supportsTermSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsTermSearchOrder() is true.
MethodorderByTitle
Description

Specifies a preference for ordering the result set by course offering title.

Parametersosid.SearchOrderStylestylea search order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodorderByNumber
Description

Specifies a preference for ordering the result set by course offering number.

Parametersosid.SearchOrderStylestylea search order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodorderByRequiresRegistration
Description

Specifies a preference for ordering the result set by course offerings requiring registration.

Parametersosid.SearchOrderStylestylea search order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodorderByMinimumSeats
Description

Specifies a preference for ordering the result set by the minimum seats.

Parametersosid.SearchOrderStylestylea search order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodorderByMaximumSeats
Description

Specifies a preference for ordering the result set by the maximum seats.

Parametersosid.SearchOrderStylestylea search order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodorderByURL
Description

Specifies a preference for ordering the result set by url.

Parametersosid.SearchOrderStylestylea search order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodorderByScheduleInfo
Description

Specifies a preference for ordering the result set by schedule info.

Parametersosid.SearchOrderStylestylea search order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodorderByEvent
Description

Specifies a preference for ordering the result set by event.

Parametersosid.SearchOrderStylestylea search order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodsupportsEventSearchOrder
Description

Tests if an event search order is available.

Returnboolean true if an event order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetEventSearchOrder
Description

Gets the event order.

Returnosid.calendaring.EventSearchOrderthe event search order
ErrorsUNIMPLEMENTED supportsEventSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsEventSearchOrder() is true.
MethodgetCourseOfferingSearchOrderRecord
Description

Gets the course offering search order record corresponding to the given course offering record Type. Multiple retrievals return the same underlying object.

Parametersosid.type.TypecourseOfferingRecordTypea course offering record type
Returnosid.course.records.CourseOfferingSearchOrderRecordthe course offering search order record
ErrorsNULL_ARGUMENT courseOfferingRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(courseOfferingRecordType) is false
CompliancemandatoryThis method must be implemented.