OSID Logo
OSID Specifications
course syllabus package
Version 3.0.0
Release Candidate Preview
Interfaceosid.course.syllabus.DocetForm
Implementsosid.OsidRelationshipForm
Description

This is the form for creating and updating Docets. Like all OsidForm objects, various data elements may be set here for use in the create and update methods in the DocetAdminSession. For each data element that may be set, metadata may be examined to provide display hints or data constraints.

MethodgetLearningObjectivesMetadata
Description

Gets the metadata for the learning obectives.

Returnosid.Metadatametadata for the objectives
CompliancemandatoryThis method must be implemented.
MethodsetLearningObjectives
Description

Sets the learning objectives.

Parametersosid.id.IdListobjectiveIdsthe new objectives
ErrorsINVALID_ARGUMENT objectiveIds is invalid
NO_ACCESS objectiveIds cannot be modified
NULL_ARGUMENT objectiveIds is null
CompliancemandatoryThis method must be implemented.
MethodclearLearningObjectives
Description

Clears the in class flag.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetInClassMetadata
Description

Gets the metadata for the in class flag.

Returnosid.Metadatametadata for the in class flag
CompliancemandatoryThis method must be implemented.
MethodsetInClass
Description

Sets the in class flag.

ParametersbooleaninClassthe new in class flag
ErrorsINVALID_ARGUMENT inClass is invalid
NO_ACCESS inClass cannot be modified
CompliancemandatoryThis method must be implemented.
MethodclearInClass
Description

Clears the in class flag.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetDurationMetadata
Description

Gets the metadata for the duration.

Returnosid.Metadatametadata for the duration
CompliancemandatoryThis method must be implemented.
MethodsetDuration
Description

Sets the duration.

Parametersosid.calendaring.Durationdurationthe new duration
ErrorsINVALID_ARGUMENT duration is invalid
NO_ACCESS duration cannot be modified
NULL_ARGUMENT duration is null
CompliancemandatoryThis method must be implemented.
MethodclearDuration
Description

Clears the duration.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetAssetsMetadata
Description

Gets the metadata for the assets.

Returnosid.Metadatametadata for the assets
CompliancemandatoryThis method must be implemented.
MethodsetAssets
Description

Sets the assets.

Parametersosid.id.IdListassetIdsthe new assets
ErrorsINVALID_ARGUMENT assetIds is invalid
NO_ACCESS assetIds cannot be modified
NULL_ARGUMENT assetIds is null
CompliancemandatoryThis method must be implemented.
MethodclearAssets
Description

Clears the assets.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetAssessmentsMetadata
Description

Gets the metadata for the assessments.

Returnosid.Metadatametadata for the assessments
CompliancemandatoryThis method must be implemented.
MethodsetAssessments
Description

Sets the assessments.

Parametersosid.id.IdListassessmentIdsthe new assessments
ErrorsINVALID_ARGUMENT assessmentIds is invalid
NO_ACCESS assessmentIds cannot be modified
NULL_ARGUMENT assessmentIds is null
CompliancemandatoryThis method must be implemented.
MethodclearAssessments
Description

Clears the assessments.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetDocetFormRecord
Description

Gets the DocetFormRecord corresponding to the given docet record Type.

Parametersosid.type.TypedocetRecordTypethe docet record type
Returnosid.course.syllabus.records.DocetFormRecordthe docet form record
ErrorsNULL_ARGUMENT docetRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(docetRecordType) is false
CompliancemandatoryThis method must be implemented.