OSID Logo
OSID Specifications
course syllabus package
Version 3.1.0
Interfaceosid.course.syllabus.DocetQuery
Implementsosid.OsidRelationshipQuery
Used Byosid.course.plan.LessonQuery
osid.course.syllabus.DocetQuerySession
osid.course.syllabus.DocetSearchSession
osid.course.syllabus.DocetSmartCourseCatalogSession
osid.course.syllabus.ModuleQuery
Description

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

MethodmatchModuleId
Description

Sets the module Id for this query.

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.
MethodsupportsModuleQuery
Description

Tests if a module query is available.

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

Gets the query for a module.

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

Clears the module terms.

Compliancemandatory This method must be implemented.
MethodmatchActivityUnitId
Description

Sets the activity unit Id for this query.

Parametersosid.id.IdactivityUnitId an activity unit Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT activityUnitId is null
Compliancemandatory This method must be implemented.
MethodclearActivityUnitIdTerms
Description

Clears the activity unit Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsActivityUnitQuery
Description

Tests if an activity unit query is available.

Returnboolean true if an activity unit query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetActivityUnitQuery
Description

Gets the query for an activity unit.

Returnosid.course.ActivityUnitQuery the activity unit query
ErrorsUNIMPLEMENTED supportsActivityUnitQuery() is false
Complianceoptional This method must be implemented if supportsActivityUnitQuery() is true.
MethodclearActivityUnitTerms
Description

Clears the activity unit terms.

Compliancemandatory This method must be implemented.
MethodmatchLearningObjectiveId
Description

Sets the objective Id for this query.

Parametersosid.id.IdobjectiveId an objective Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT objectiveId is null
Compliancemandatory This method must be implemented.
MethodclearLearningObjectiveIdTerms
Description

Clears the objective Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsLearningObjectiveQuery
Description

Tests if an ObjectiveQuery is available for querying objectives.

Returnboolean true if an objective query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetLearningObjectiveQuery
Description

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

Returnosid.learning.ObjectiveQuery the objective query
ErrorsUNIMPLEMENTED supportsLearningObjectiveQuery() is false
Complianceoptional This method must be implemented if supportsLearningObjectiveQuery() is true.
MethodmatchAnyLearningObjective
Description

Matches a docet that has any objective assigned.

Parametersbooleanmatch true to match docets with any objective, false to match docets with no objective
Compliancemandatory This method must be implemented.
MethodclearLearningObjectiveTerms
Description

Clears the objective terms.

Compliancemandatory This method must be implemented.
MethodmatchInClass
Description

Matches docets that occur in a class.

Parametersbooleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT assetId is null
Compliancemandatory This method must be implemented.
MethodclearInClassTerms
Description

Clears the in class terms.

Compliancemandatory This method must be implemented.
MethodmatchDuration
Description

Matches durations between the given durations inclusive.

Parametersosid.calendaring.Durationfrom starting duration
osid.calendaring.Durationto ending duration
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT from is greater than to
NULL_ARGUMENT from or to is null
Compliancemandatory This method must be implemented.
MethodmatchAnyDuration
Description

Matches a docet that has any duration assigned.

Parametersbooleanmatch true to match docets with any duration, false to match docets with no duration
Compliancemandatory This method must be implemented.
MethodclearDurationTerms
Description

Clears the duration terms.

Compliancemandatory This method must be implemented.
MethodmatchAssetId
Description

Sets the asset Id for this query.

Parametersosid.id.IdassetId an asset Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT assetId is null
Compliancemandatory This method must be implemented.
MethodclearAssetIdTerms
Description

Clears the asset Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsAssetQuery
Description

Tests if an AssetQuery is available.

Returnboolean true if an objective query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetAssetQuery
Description

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

Returnosid.repository.AssetQuery the asset query
ErrorsUNIMPLEMENTED supportsAssetQuery() is false
Complianceoptional This method must be implemented if supportsObjectiveQuery() is true.
MethodmatchAnyAsset
Description

Matches a docet that has any asset assigned.

Parametersbooleanmatch true to match docets with any asset, false to match docets with no asset
Compliancemandatory This method must be implemented.
MethodclearAssetTerms
Description

Clears the asset terms.

Compliancemandatory This method must be implemented.
MethodmatchAssessmentId
Description

Sets the assessment Id for this query.

Parametersosid.id.IdassessmentId an assessment Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT assessmentId is null
Compliancemandatory This method must be implemented.
MethodclearAssessmentIdTerms
Description

Clears the assessment Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsAssessmentQuery
Description

Tests if an AssessmentQuery is available.

Returnboolean true if an assessment query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetAssessmentQuery
Description

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

Returnosid.assessment.AssessmentQuery the assessment query
ErrorsUNIMPLEMENTED supportsAssessmentQuery() is false
Complianceoptional This method must be implemented if supportsAssessmentQuery() is true.
MethodmatchAnyAssessment
Description

Matches an objective that has any assessment assigned.

Parametersbooleanmatch true to match docets with any assessment, false to match docets with no assessment
Compliancemandatory This method must be implemented.
MethodclearAssessmentTerms
Description

Clears the assessment terms.

Compliancemandatory This method must be implemented.
MethodmatchCourseCatalogId
Description

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

Gets the docet query record corresponding to the given Docet record Type.Multiple record retrievals produce a nested boolean OR term.

Parametersosid.type.TypedocetRecordType a docet record type
Returnosid.course.syllabus.records.DocetQueryRecord the docet query record
ErrorsNULL_ARGUMENT docetRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(docetRecordType) is false
Compliancemandatory This method must be implemented.