OSID Logo
OSID Specifications
course package
Version 3.1.0
Interfaceosid.course.CourseForm
Implementsosid.OsidObjectForm
osid.OsidOperableForm
Implemented Byosid.course.batch.CourseBatchForm
Used Byosid.course.CourseAdminSession
Description

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

MethodgetTitleMetadata
Description

Gets the metadata for a course title.

Returnosid.Metadata metadata for the title
Compliancemandatory This method must be implemented.
MethodsetTitle
Description

Sets the title.

Parametersstringtitle the new title
ErrorsINVALID_ARGUMENT title is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT title is null
Compliancemandatory This method must be implemented.
MethodclearTitle
Description

Removes the title.

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

Gets the metadata for a course number.

Returnosid.Metadata metadata for the course number
Compliancemandatory This method must be implemented.
MethodsetNumber
Description

Sets the course number.

Parametersstringnumber the new course number
ErrorsINVALID_ARGUMENT number is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT number is null
Compliancemandatory This method must be implemented.
MethodclearNumber
Description

Removes the course number.

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

Gets the metadata for a set of sponsors.

Returnosid.Metadata metadata for the sponsors
Compliancemandatory This method must be implemented.
MethodsetSponsors
Description

Sets the sponsors.

Parametersosid.id.Id[]resourceIds the new sponsors
ErrorsINVALID_ARGUMENT resourceIds is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT resourceIds is null
Compliancemandatory This method must be implemented.
MethodclearSponsors
Description

Removes the sponsors.

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

Gets the metadata for the credits.

Returnosid.Metadata metadata for the credit scale
Compliancemandatory This method must be implemented.
MethodsetCredits
Description

Sets the credits.

Parametersosid.id.Id[]gradeIds the new credit levels
ErrorsINVALID_ARGUMENT gradeIds is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT gradeIds is null
Compliancemandatory This method must be implemented.
MethodclearCredits
Description

Removes the credits.

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

Gets the metadata for a course prerequisite informational string.

Returnosid.Metadata metadata for the prerequisite information
Compliancemandatory This method must be implemented.
MethodsetPrerequisitesInfo
Description

Sets the prerequisitie information.

ParametersstringprereqInfo the new prerequisite information
ErrorsINVALID_ARGUMENT prereqInfo is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT prereqInfo is null
Compliancemandatory This method must be implemented.
MethodclearPrerequisitesInfo
Description

Removes the prerequisite information.

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

Gets the metadata for a prerequisites.

Returnosid.Metadata metadata for the requisites
Compliancemandatory This method must be implemented.
MethodsetPrerequisites
Description

Sets the prerequisites.

Parametersosid.id.Id[]requisiteIds the new requisites
ErrorsINVALID_ARGUMENT requisiteIds is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT requisiteIds is null
Compliancemandatory This method must be implemented.
MethodclearPrerequisites
Description

Removes the prerequisites.

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

Gets the metadata for a set of grade levels.

Returnosid.Metadata metadata for the levels
Compliancemandatory This method must be implemented.
MethodsetLevels
Description

Sets the levels.

Parametersosid.id.Id[]gradeIds the new grade levels
ErrorsINVALID_ARGUMENT gradeIds is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT gradeIds is null
Compliancemandatory This method must be implemented.
MethodclearLevels
Description

Removes the grade levels.

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

Gets the metadata for a set of grading options.

Returnosid.Metadata metadata for the grading options
Compliancemandatory This method must be implemented.
MethodsetGradingOptions
Description

Sets the grading options.

Parametersosid.id.Id[]gradeSystemIds the new grade systems
ErrorsINVALID_ARGUMENT gradeSystemIds is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT gradeSystemIds is null
Compliancemandatory This method must be implemented.
MethodclearGradingOptions
Description

Removes the grading options.

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

Gets the metadata for a set of learning objectives.

Returnosid.Metadata metadata for the obecjtives
Compliancemandatory This method must be implemented.
MethodsetLearningObjectives
Description

Sets the learning objectives.

Parametersosid.id.Id[]objectiveIds the new obejctives
ErrorsINVALID_ARGUMENT objectiveIds is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT objectiveIds is null
Compliancemandatory This method must be implemented.
MethodclearLearningObjectives
Description

Removes the learning objectives.

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

Gets the metadata for a set of target audiences.

Returnosid.Metadata metadata for the target audiences
Compliancemandatory This method must be implemented.
MethodsetTargetAudiences
Description

Sets the target audiences.

Parametersosid.id.Id[]resourceIds the new target audiences
ErrorsINVALID_ARGUMENT resourceIds is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT resourceIds is null
Compliancemandatory This method must be implemented.
MethodclearTargetAudiences
Description

Removes the target audiences.

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

Gets the CourseFormRecord corresponding to the given course record Type.

Parametersosid.type.TypecourseRecordType a course record type
Returnosid.course.records.CourseFormRecord the course form record
ErrorsNULL_ARGUMENT courseRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(courseRecordType) is false
Compliancemandatory This method must be implemented.