OSID Logo
OSID Specifications
course syllabus package
Version 3.0.0
Release Candidate Preview
Interfaceosid.course.syllabus.SyllabusQuery
Implementsosid.OsidObjectQuery
osid.OsidSubjugateableQuery
Description

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

MethodmatchCourseId
Description

Sets a course Id.

Parametersosid.id.IdcourseIda curse Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT courseId is null
CompliancemandatoryThis method must be implemented.
MethodclearCourseIdTerms
Description

Clears the course Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsCourseQuery
Description

Tests if a CourseQuery is available.

Returnboolean true if a course query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetCourseQuery
Description

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

Returnosid.course.CourseQuerythe course query
ErrorsUNIMPLEMENTED supportsCourseQuery() is false
ComplianceoptionalThis method must be implemented if supportsCourseQuery() is true.
MethodclearCourseTerms
Description

Clears the course terms.

CompliancemandatoryThis method must be implemented.
MethodmatchModuleId
Description

Sets a module Id.

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

Clears the module Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsModuleQuery
Description

Tests if a ModuleQuery is available.

Returnboolean true if a module query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetModuleQuery
Description

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

Returnosid.course.syllabus.ModuleQuerythe module query
ErrorsUNIMPLEMENTED supportsModuleQuery() is false
ComplianceoptionalThis method must be implemented if supportsModuleQuery() is true.
MethodmatchAnyModule
Description

Matches any module.

Parametersbooleanmatch true for a positive match, false for a negative match
CompliancemandatoryThis method must be implemented.
MethodclearModuleTerms
Description

Clears the module terms.

CompliancemandatoryThis method must be implemented.
MethodmatchCourseCatalogId
Description

Sets the docet Id for this query to match syllabi assigned to course catalogs.

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

Clears the course catalog Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsCourseCatalogQuery
Description

Tests if an CourseCatalogQuery is available.

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

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

Returnosid.course.CourseCatalogQuerythe course catalog query
ErrorsUNIMPLEMENTED supportsCourseCatalogQuery() is false
ComplianceoptionalThis method must be implemented if supportsCourseCatalogQuery() is true.
MethodclearCourseCatalogTerms
Description

Clears the course catalog terms.

CompliancemandatoryThis method must be implemented.
MethodgetSyllabusQueryRecord
Description

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

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