OSID Logo
OSID Specifications
course program package
Version 3.1.0
Interfaceosid.course.program.EnrollmentSearchOrder
Implementsosid.OsidRelationshipSearchOrder
Used Byosid.course.program.EnrollmentSearchSession
osid.course.program.EnrollmentSmartCourseCatalogSession
Description

An interface for specifying the ordering of search results.

MethodorderByProgramOffering
Description

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

Parametersosid.SearchOrderStylestyle a search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodsupportsProgramOfferingSearchOrder
Description

Tests if a program offering search order is available.

Returnboolean true if a program offering order is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetProgramOfferingSearchOrder
Description

Gets the program offering search order.

Returnosid.course.program.ProgramOfferingSearchOrder the program offering search order
ErrorsUNIMPLEMENTED supportsProgramOfferingSearchOrder() is false
Complianceoptional This method must be implemented if supportsProgramOfferingSearchOrder() is true.
MethodorderByStudent
Description

Specifies a preference for ordering the result set by student.

Parametersosid.SearchOrderStylestyle a search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodsupportsStudentSearchOrder
Description

Tests if a student search order is available.

Returnboolean true if a student order is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetStudentSearchOrder
Description

Gets the student search order.

Returnosid.resource.ResourceSearchOrder the student search order
ErrorsUNIMPLEMENTED supportsStudentSearchOrder() is false
Complianceoptional This method must be implemented if supportsStudentSearchOrder() is true.
MethodgetEnrollmentSearchOrderRecord
Description

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

Parametersosid.type.TypeenrollmentRecordType an enrollment record type
Returnosid.course.program.records.EnrollmentSearchOrderRecord the enrollment search order record
ErrorsNULL_ARGUMENT enrollmentRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(enrollmentRecordType) is false
Compliancemandatory This method must be implemented.