OSID Logo
OSID Specifications
course plan package
Version 3.1.0
Interfaceosid.course.plan.PlanQuery
Implementsosid.OsidRelationshipQuery
Used Byosid.course.plan.LessonQuery
osid.course.plan.PlanQuerySession
osid.course.plan.PlanSearchSession
osid.course.plan.PlanSmartCourseCatalogSession
Description

This is the query for searching plans. Each method specifies an AND term while multiple invocations of the same method produce a nested OR.

MethodmatchSyllabusId
Description

Sets the syllabus Id for this query.

Parametersosid.id.IdsyllabusId a syllabus Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT syllabusId is null
Compliancemandatory This method must be implemented.
MethodclearSyllabusIdTerms
Description

Clears the syllabus Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsSyllabusQuery
Description

Tests if a syllabus query is available.

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

Gets the query for a lesson.

Returnosid.course.syllabus.SyllabusQuery the syllabus query
ErrorsUNIMPLEMENTED supportsSyllabusQuery() is false
Complianceoptional This method must be implemented if supportsSyllabusQuery() is true.
MethodclearSyllabusTerms
Description

Clears the syllabus terms.

Compliancemandatory This method must be implemented.
MethodmatchCourseOfferingId
Description

Sets the course offering Id for this query.

Parametersosid.id.IdcourseOfferingId a course offering Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT syllabusId is null
Compliancemandatory This method must be implemented.
MethodclearCourseOfferingIdTerms
Description

Clears the course offering Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsCourseOfferingQuery
Description

Tests if a course offering query is available.

Returnboolean true if a course offering query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetCourseOfferingQuery
Description

Gets the query for a course offering.

Returnosid.course.CourseOfferingQuery the course offering query
ErrorsUNIMPLEMENTED supportsCourseOfferingQuery() is false
Complianceoptional This method must be implemented if supportsCourseOfferingQuery() is true.
MethodclearCourseOfferingTerms
Description

Clears the syllabus terms.

Compliancemandatory This method must be implemented.
MethodmatchModuleId
Description

Sets a module Id.

Parametersosid.id.IdmoduleId a module Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT moduleId is null
Compliancemandatory This method must be implemented.
MethodclearModuleIdTerms
Description

Clears the module Id terms.

Compliancemandatory This method must be implemented.
MethodgetModuleQuery
Description

Gets the query for a module query. Multiple retrievals produce a nested OR term.

Returnosid.course.syllabus.ModuleQuery the lesson query
ErrorsUNIMPLEMENTED supportsModuleQuery() is false
Complianceoptional This method must be implemented if supportsModuleQuery() is true.
MethodmatchAnyModule
Description

Matches plans with any module.

Parametersbooleanmatch true to match pans with any module, false to match plans with no modules
Compliancemandatory This method must be implemented.
MethodclearModuleTerms
Description

Clears the module terms.

Compliancemandatory This method must be implemented.
MethodmatchLessonId
Description

Sets a lesson Id.

Parametersosid.id.IdlessonId a lesson Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT lessonId is null
Compliancemandatory This method must be implemented.
MethodclearLessonIdTerms
Description

Clears the lesson Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsLessonQuery
Description

Tests if an LessonQuery is available.

Returnboolean true if a lesson query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetLessonQuery
Description

Gets the query for a lesson query. Multiple retrievals produce a nested OR term.

Returnosid.course.plan.LessonQuery the lesson query
ErrorsUNIMPLEMENTED supportsLessonQuery() is false
Complianceoptional This method must be implemented if supportsLessonrQuery() is true.
MethodmatchAnyLesson
Description

Matches plans with any lesson.

Parametersbooleanmatch true to match covocations with any lesson, false to match plans with no lessons
Compliancemandatory This method must be implemented.
MethodclearLessonTerms
Description

Clears the lesson terms.

Compliancemandatory This method must be implemented.
MethodmatchCourseCatalogId
Description

Sets the lesson Id for this query to match plans assigned to course catalogs.

Parametersosid.id.IdcourseCatalogId a course catalog Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT courseCatalogId is null
Compliancemandatory This method must be implemented.
MethodclearCourseCatalogIdTerms
Description

Clears the course catalog Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsCourseCatalogQuery
Description

Tests if an CourseCatalogQuery is available.

Returnboolean true if a course catalog query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetCourseCatalogQuery
Description

Gets the query for a course catalog query. Multiple retrievals produce a nested OR term.

Returnosid.course.CourseCatalogQuery the course catalog query
ErrorsUNIMPLEMENTED supportsCourseCatalogQuery() is false
Complianceoptional This method must be implemented if supportsCourseCatalogQuery() is true.
MethodclearCourseCatalogTerms
Description

Clears the course catalog terms.

Compliancemandatory This method must be implemented.
MethodgetPlanQueryRecord
Description

Gets the plan query record corresponding to the given Plan record Type.Multiple record retrievals produce a nested OR term.

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