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

An interface for specifying the ordering of search results.

MethodorderBySyllabus
Description

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

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodsupportsSyllabusSearchOrder
Description

Tests if a syllabus order is available.

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

Gets the syllabus order.

Returnosid.course.syllabus.SyllabusSearchOrderthe syllabus search order
ErrorsUNIMPLEMENTED supportsSyllabusSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsCourseSearchOrder() is true.
MethodgetModuleSearchOrderRecord
Description

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

Parametersosid.type.TypemoduleRecordTypea module record type
Returnosid.course.syllabus.records.ModuleSearchOrderRecordthe module search order record
ErrorsNULL_ARGUMENT moduleRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(moduleRecordType) is false
CompliancemandatoryThis method must be implemented.