OSID Logo
OSID Specifications
course plan package
Version 3.0.0
Release Candidate Preview
Interfaceosid.course.plan.LessonSearchOrder
Implementsosid.OsidRelationshipSearchOrder
Description

An interface for specifying the ordering of search results.

MethodorderByPlan
Description

Specified a preference for ordering results by the plan.

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

Tests if a PlanSearchOrder is available.

Returnboolean true if a plan search order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetPlanSearchOrder
Description

Gets the search order for a plan.

Returnosid.course.plan.PlanSearchOrderthe plan search order
ErrorsUNIMPLEMENTED supportsPlanSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsPlanSearchOrder() is true.
MethodorderByDocet
Description

Specified a preference for ordering results by the docet.

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

Tests if a DocetSearchOrder is available.

Returnboolean true if a docet search order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetDocetSearchOrder
Description

Gets the search order for a docet.

Returnosid.course.syllabus.DocetSearchOrderthe docet search order
ErrorsUNIMPLEMENTED supportsDocetSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsDocetSearchOrder() is true.
MethodorderByPlannedStartTime
Description

Specified a preference for ordering results by the planned start time.

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

Specified a preference for ordering results by the begun flag.

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

Specified a preference for ordering results by the actual start time.

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

Specified a preference for ordering results by the actual starting activity.

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

Tests if an ActivitySearchOrder is available.

Returnboolean true if an activity search order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetActualStartingActivitySearchOrder
Description

Gets the search order for an actual starting actvity.

Returnosid.course.ActivitySearchOrderthe activity search order
ErrorsUNIMPLEMENTED supportsActualStartingActivitySearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsActualStartingActivitySearchOrder() is true.
MethodorderByComplete
Description

Specified a preference for ordering results by the complete flag.

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

Specified a preference for ordering results by the skipped flag.

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

Specified a preference for ordering results by the actual end time.

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

Specified a preference for ordering results by the actual ending activity.

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

Tests if an ActivitySearchOrder is available.

Returnboolean true if an activity search order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetActualEndingActivitySearchOrder
Description

Gets the search order for an actual ending actvity.

Returnosid.course.ActivitySearchOrderthe activity search order
ErrorsUNIMPLEMENTED supportsActualEndingActivitySearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsActualEndingActivitySearchOrder() is true.
MethodorderByActualTimeSpent
Description

Specified a preference for ordering results by the actual time spent.

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

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

Parametersosid.type.TypelessonRecordTypea lesson record type
Returnosid.course.plan.records.LessonSearchOrderRecordthe lesson search order record
ErrorsNULL_ARGUMENT lessonRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(lessonRecordType) is false
CompliancemandatoryThis method must be implemented.