OSID Logo
OSID Specifications
course plan package
Version 3.1.0
Interfaceosid.course.plan.PlanSearchOrder
Implementsosid.OsidRelationshipSearchOrder
Used Byosid.course.plan.LessonSearchOrder
osid.course.plan.PlanSearchSession
osid.course.plan.PlanSmartCourseCatalogSession
Description

An interface for specifying the ordering of search results.

MethodorderBySyllabus
Description

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

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

Tests if a syllabus order is available.

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

Gets the syllabus order.

Returnosid.course.syllabus.SyllabusSearchOrder the syllabus search order
ErrorsUNIMPLEMENTED supportsSyllabusSearchOrder() is false
Complianceoptional This method must be implemented if supportsCourseSearchOrder() is true.
MethodorderByCourseOffering
Description

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

Parametersosid.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This 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
Compliancemandatory This method must be implemented.
MethodgetCourseOfferingSearchOrder
Description

Gets the course offering order.

Returnosid.course.CourseOfferingSearchOrder the course offering search order
ErrorsUNIMPLEMENTED supportsCourseOfferingSearchOrder() is false
Complianceoptional This method must be implemented if supportsCourseSearchOrder() is true.
MethodgetPlanSearchOrderRecord
Description

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

Parametersosid.type.TypeplanRecordType a plan record type
Returnosid.course.plan.records.PlanSearchOrderRecord the plan search order record
ErrorsNULL_ARGUMENT planRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(planRecordType) is false
Compliancemandatory This method must be implemented.