OSID Logo
OSID Specifications
course syllabus package
Version 3.0.0
Release Candidate Preview
Interfaceosid.course.syllabus.SyllabusSearchOrder
Implementsosid.OsidObjectSearchOrder
osid.OsidSubjugateableSearchOrder
Description

An interface for specifying the ordering of search results.

MethodorderByCourse
Description

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

Parametersosid.SearchOrderStylestylesearch 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.
MethodgetSyllabusSearchOrderRecord
Description

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

Parametersosid.type.TypesyllabusRecordTypea syllabus record type
Returnosid.course.syllabus.records.SyllabusSearchOrderRecordthe syllabus search order record
ErrorsNULL_ARGUMENT syllabusRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(syllabusRecordType) is false
CompliancemandatoryThis method must be implemented.