OSID Logo
OSID Specifications
course syllabus package
Version 3.1.0
Interfaceosid.course.syllabus.DocetForm
Implementsosid.OsidRelationshipForm
Implemented Byosid.course.syllabus.batch.DocetBatchForm
Used Byosid.course.syllabus.DocetAdminSession
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.Metadata metadata for the objectives
Compliancemandatory This method must be implemented.
MethodsetLearningObjectives
Description

Sets the learning objectives.

Parametersosid.id.IdListobjectiveIds the new objectives
ErrorsINVALID_ARGUMENT objectiveIds is invalid
NO_ACCESS objectiveIds cannot be modified
NULL_ARGUMENT objectiveIds is null
Compliancemandatory This method must be implemented.
MethodclearLearningObjectives
Description

Clears the in class flag.

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

Gets the metadata for the in class flag.

Returnosid.Metadata metadata for the in class flag
Compliancemandatory This method must be implemented.
MethodsetInClass
Description

Sets the in class flag.

ParametersbooleaninClass the new in class flag
ErrorsINVALID_ARGUMENT inClass is invalid
NO_ACCESS inClass cannot be modified
Compliancemandatory This method must be implemented.
MethodclearInClass
Description

Clears the in class flag.

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

Gets the metadata for the duration.

Returnosid.Metadata metadata for the duration
Compliancemandatory This method must be implemented.
MethodsetDuration
Description

Sets the duration.

Parametersosid.calendaring.Durationduration the new duration
ErrorsINVALID_ARGUMENT duration is invalid
NO_ACCESS duration cannot be modified
NULL_ARGUMENT duration is null
Compliancemandatory This method must be implemented.
MethodclearDuration
Description

Clears the duration.

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

Gets the metadata for the assets.

Returnosid.Metadata metadata for the assets
Compliancemandatory This method must be implemented.
MethodsetAssets
Description

Sets the assets.

Parametersosid.id.IdListassetIds the new assets
ErrorsINVALID_ARGUMENT assetIds is invalid
NO_ACCESS assetIds cannot be modified
NULL_ARGUMENT assetIds is null
Compliancemandatory This method must be implemented.
MethodclearAssets
Description

Clears the assets.

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

Gets the metadata for the assessments.

Returnosid.Metadata metadata for the assessments
Compliancemandatory This method must be implemented.
MethodsetAssessments
Description

Sets the assessments.

Parametersosid.id.IdListassessmentIds the new assessments
ErrorsINVALID_ARGUMENT assessmentIds is invalid
NO_ACCESS assessmentIds cannot be modified
NULL_ARGUMENT assessmentIds is null
Compliancemandatory This method must be implemented.
MethodclearAssessments
Description

Clears the assessments.

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

Gets the DocetFormRecord corresponding to the given docet record Type.

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