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

This is the query for searching modules. 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.IdsyllabusIda syllabus Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT syllabusId is null
CompliancemandatoryThis method must be implemented.
MethodclearSyllabusIdTerms
Description

Clears the syllabus Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsSyllabusQuery
Description

Tests if a syllabus query is available.

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

Gets the query for a docet.

Returnosid.course.syllabus.SyllabusQuerythe syllabus query
ErrorsUNIMPLEMENTED supportsSyllabusQuery() is false
ComplianceoptionalThis method must be implemented if supportsSyllabusQuery() is true.
MethodclearSyllabusTerms
Description

Clears the syllabus terms.

CompliancemandatoryThis method must be implemented.
MethodmatchDocetId
Description

Sets a docet Id.

Parametersosid.id.IddocetIda docet Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT docetId is null
CompliancemandatoryThis method must be implemented.
MethodclearDocetIdTerms
Description

Clears the docet Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsDocetQuery
Description

Tests if an DocetQuery is available.

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

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

Returnosid.course.syllabus.DocetQuerythe docet query
ErrorsUNIMPLEMENTED supportsDocetQuery() is false
ComplianceoptionalThis method must be implemented if supportsDocetQuery() is true.
MethodmatchAnyDocet
Description

Matches modules with any docet.

Parametersbooleanmatch true to match modules with any docet, false to match modules with no docets
CompliancemandatoryThis method must be implemented.
MethodclearDocetTerms
Description

Clears the docet terms.

CompliancemandatoryThis method must be implemented.
MethodmatchCourseCatalogId
Description

Sets the docet Id for this query to match modules 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.
MethodgetModuleQueryRecord
Description

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

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