OSID Logo
OSID Specifications
course registration package
Version 3.0.0
Release Candidate Preview
Interfaceosid.course.registration.ActivityBundleSearchOrder
Implementsosid.OsidObjectSearchOrder
Description

An interface for specifying the ordering of search results.

MethodorderByCourseOffering
Description

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

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

Tests if a course offering order is available.

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

Gets the course offering order.

Returnosid.course.CourseOfferingSearchOrderthe course offering search order
ErrorsUNIMPLEMENTED supportsCourseOfferingSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsCourseSearchOrder() is true.
MethodgetActivityBundleSearchOrderRecord
Description

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

Parametersosid.type.TypeactivityBundleRecordTypean activity bundle record type
Returnosid.course.registration.records.ActivityBundleSearchOrderRecordthe activity bundle search order record
ErrorsNULL_ARGUMENT activityBundleRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(activityBundleRecordType) is false
CompliancemandatoryThis method must be implemented.