OSID Logo
OSID Specifications
course registration package
Version 3.0.0
Interfaceosid.course.registration.ActivityRegistrationSearchOrder
Implementsosid.OsidRelationshipSearchOrder
osid.OsidSubjugateableSearchOrder
Used Byosid.course.registration.ActivityRegistrationSearchSession
osid.course.registration.ActivityRegistrationSmartCourseCatalogSession
Description

An interface for specifying the ordering of search results.

MethodorderByCourseRegistration
Description

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

Parametersosid.SearchOrderStylestylea search order style
ErrorsNULL_ARGUMENTstyle is null
CompliancemandatoryThis method must be implemented.
MethodsupportsCourseRegistrationSearchOrder
Description

Tests if a course registration search order is available.

Returnbooleantrue if a course registration search order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetCourseRegistrationSearchOrder
Description

Gets the course registration search order.

Returnosid.course.registration.CourseRegistrationSearchOrderthe course registration search order
ErrorsUNIMPLEMENTEDsupportsCourseRegistrationSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsCourseRegistrationSearchOrder() is true .
MethodorderByActivity
Description

Specifies a preference for ordering the result set by activity.

Parametersosid.SearchOrderStylestylea search order style
ErrorsNULL_ARGUMENTstyle is null
CompliancemandatoryThis method must be implemented.
MethodsupportsActivitySearchOrder
Description

Tests if an activity search order is available.

Returnbooleantrue if an activity search order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetActivitySearchOrder
Description

Gets the activity search order.

Returnosid.course.ActivitySearchOrderthe activity search order
ErrorsUNIMPLEMENTEDsupportsActivitySearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsActivitySearchOrder() is true .
MethodorderByStudent
Description

Specifies a preference for ordering the result set by student.

Parametersosid.SearchOrderStylestylea search order style
ErrorsNULL_ARGUMENTstyle is null
CompliancemandatoryThis method must be implemented.
MethodsupportsStudentSearchOrder
Description

Tests if a student search order is available.

Returnbooleantrue if a student search order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetStudentSearchOrder
Description

Gets the student search order.

Returnosid.resource.ResourceSearchOrderthe student search order
ErrorsUNIMPLEMENTEDsupportsStudentSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsStudentSearchOrder() is true .
MethodgetActivityRegistrationSearchOrderRecord
Description

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

Parametersosid.type.TypeactivityRegistrationRecordTypean activity registration record type
Returnosid.course.registration.records.ActivityRegistrationSearchOrderRecordthe activity registration search order record
ErrorsNULL_ARGUMENTactivityRegistrationRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(activityRegistrationRecordType) is false
CompliancemandatoryThis method must be implemented.