OSID Logo
OSID Specifications
course package
Version 3.0.0
Interfaceosid.course.CourseOfferingForm
Implementsosid.OsidRelationshipForm
Implemented Byosid.course.batch.CourseOfferingBatchForm
Used Byosid.course.CourseOfferingAdminSession
Description

This is the form for creating and updating CourseOfferings . Like all OsidForms , various data elements may be set here for use in the create and update methods in the CourseOfferingAdminSession . 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.Metadatametadata for the title
CompliancemandatoryThis method must be implemented.
MethodsetTitle
Description

Sets the title.

Parametersstringtitlethe new title
ErrorsINVALID_ARGUMENTtitle is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTtitle is null
CompliancemandatoryThis method must be implemented.
MethodclearTitle
Description

Removes the title.

ErrorsNO_ACCESSMetadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetNumberMetadata
Description

Gets the metadata for a course number.

Returnosid.Metadatametadata for the course number
CompliancemandatoryThis method must be implemented.
MethodsetNumber
Description

Sets the course number.

Parametersstringnumberthe new course number
ErrorsINVALID_ARGUMENTnumber is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTnumber is null
CompliancemandatoryThis method must be implemented.
MethodclearNumber
Description

Removes the course number.

ErrorsNO_ACCESSMetadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetInstructorsMetadata
Description

Gets the metadata for the instructors.

Returnosid.Metadatametadata for the instructors
CompliancemandatoryThis method must be implemented.
MethodsetInstructors
Description

Sets the instructors.

Parametersosid.id.Id[]resourceIdsthe new instructors
ErrorsINVALID_ARGUMENTinstructorIds is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTinstructorIds is null
CompliancemandatoryThis method must be implemented.
MethodclearInstructors
Description

Removes the instructors.

ErrorsNO_ACCESSMetadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetSponsorsMetadata
Description

Gets the metadata for the sponsors.

Returnosid.Metadatametadata for the sponsors
CompliancemandatoryThis method must be implemented.
MethodsetSponsors
Description

Sets the sponsors.

Parametersosid.id.Id[]sponsorIdsthe new sponsors
ErrorsINVALID_ARGUMENTsponsorIds is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTsponsorIds is null
CompliancemandatoryThis method must be implemented.
MethodclearSponsors
Description

Removes the sponsors.

ErrorsNO_ACCESSMetadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetCreditAmountsMetadata
Description

Gets the metadata for the credits.

Returnosid.Metadatametadata for the credit scale
CompliancemandatoryThis method must be implemented.
MethodsetCreditAmounts
Description

Sets the credits.

Parametersosid.id.Id[]gradeIdsthe new credit levels
ErrorsINVALID_ARGUMENTgradeIds is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTgradeIds is null
CompliancemandatoryThis method must be implemented.
MethodclearCreditAmounts
Description

Removes the credits.

ErrorsNO_ACCESSMetadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetPrerequisitesInfoMetadata
Description

Gets the metadata for a course offering prerequisite informational string.

Returnosid.Metadatametadata for the prerequisite information
CompliancemandatoryThis method must be implemented.
MethodsetPrerequisitesInfo
Description

Sets the prerequisitie information.

ParametersstringprereqInfothe new prerequisite information
ErrorsINVALID_ARGUMENTprereqInfo is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTprereqInfo is null
CompliancemandatoryThis method must be implemented.
MethodclearPrerequisitesInfo
Description

Removes the prerequisite information.

ErrorsNO_ACCESSMetadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetPrerequisitesMetadata
Description

Gets the metadata for prerequisites.

Returnosid.Metadatametadata for the requisites
CompliancemandatoryThis method must be implemented.
MethodsetPrerequisites
Description

Sets the prerequisites.

Parametersosid.id.Id[]requisiteIdsthe new requisites
ErrorsINVALID_ARGUMENTrequisiteIds is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTrequisiteIds is null
CompliancemandatoryThis method must be implemented.
MethodclearPrerequisites
Description

Removes the prerequisites.

ErrorsNO_ACCESSMetadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetLevelsMetadata
Description

Gets the metadata for a set of grade levels.

Returnosid.Metadatametadata for the levels
CompliancemandatoryThis method must be implemented.
MethodsetLevels
Description

Sets the levels.

Parametersosid.id.Id[]gradeIdsthe new grade levels
ErrorsINVALID_ARGUMENTgradeIds is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTgradeIds is null
CompliancemandatoryThis method must be implemented.
MethodclearLevels
Description

Removes the grade levels.

ErrorsNO_ACCESSMetadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetGradingOptionsMetadata
Description

Gets the metadata for the grading options.

Returnosid.Metadatametadata for the prerequisite information
CompliancemandatoryThis method must be implemented.
MethodsetGradingOptions
Description

Sets the grading options.

Parametersosid.id.Id[]gradeSystemIdsthe new grading options
ErrorsINVALID_ARGUMENTgradeSystemIds is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTgradeSystemIds is null
CompliancemandatoryThis method must be implemented.
MethodclearGradingOptions
Description

Removes the grading options.

ErrorsNO_ACCESSMetadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetLearningObjectivesMetadata
Description

Gets the metadata for a set of learning objectives.

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

Sets the learning objectives.

Parametersosid.id.Id[]objectiveIdsthe new objectives
ErrorsINVALID_ARGUMENTobjectiveIds is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTobjectiveIds is null
CompliancemandatoryThis method must be implemented.
MethodclearLearningObjectives
Description

Removes the learning objectives.

ErrorsNO_ACCESSMetadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetRestrictedAudiencesMetadata
Description

Gets the metadata for a set of restricted audiences.

Returnosid.Metadatametadata for the restricted audiences
CompliancemandatoryThis method must be implemented.
MethodsetRestrictedAudiences
Description

Sets the restricted audiences.

Parametersosid.id.Id[]resourceIdsthe new restricted audiences
ErrorsINVALID_ARGUMENTresourceIds is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTresourceIds is null
CompliancemandatoryThis method must be implemented.
MethodclearRestrictedAudiences
Description

Removes the restricted audiences.

ErrorsNO_ACCESSMetadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetRequiresRegistrationMetadata
Description

Gets the metadata for requires registration flag.

Returnosid.Metadatametadata for registration flag
CompliancemandatoryThis method must be implemented.
MethodsetRequiresRegistration
Description

Sets the requires registration flag.

ParametersbooleanrequiresRegistrationthe new registration flag
ErrorsINVALID_ARGUMENTrequiresRegistration is invalid
NO_ACCESSMetadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodclearRequiresRegistration
Description

Removes the requires registration flag.

ErrorsNO_ACCESSMetadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetMinimumSeatsMetadata
Description

Gets the metadata for the minimum seats.

Returnosid.Metadatametadata for the minimum seats
CompliancemandatoryThis method must be implemented.
MethodsetMinimumSeats
Description

Sets the minimum seating count.

Parameterscardinalseatsthe new minimum seats
ErrorsINVALID_ARGUMENTseats is invalid
NO_ACCESSMetadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodclearMinimumSeats
Description

Removes the minimum seats.

ErrorsNO_ACCESSMetadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetMaximumSeatsMetadata
Description

Gets the metadata for the maximum seats.

Returnosid.Metadatametadata for the maximum seats
CompliancemandatoryThis method must be implemented.
MethodsetMaximumSeats
Description

Sets the maximum seating count.

Parameterscardinalseatsthe new maximum seats
ErrorsINVALID_ARGUMENTseats is invalid
NO_ACCESSMetadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodclearMaximumSeats
Description

Removes the maximum seats.

ErrorsNO_ACCESSMetadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetURLMetadata
Description

Gets the metadata for a class url.

Returnosid.Metadatametadata for the url
CompliancemandatoryThis method must be implemented.
MethodsetURL
Description

Sets the url for a class web site.

Parametersstringurlthe new url
ErrorsINVALID_ARGUMENTurl is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTurl is null
CompliancemandatoryThis method must be implemented.
MethodclearURL
Description

Removes the url.

ErrorsNO_ACCESSMetadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetScheduleInfoMetadata
Description

Gets the metadata for a schedule informatoin string.

Returnosid.Metadatametadata for the schedule information
CompliancemandatoryThis method must be implemented.
MethodsetScheduleInfo
Description

Sets the schedule information. This information may be derived from the schedule and not settable here.

ParametersstringscheduleInfothe new schedule info
ErrorsINVALID_ARGUMENTscheduleInfo is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTscheduleInfo is null
CompliancemandatoryThis method must be implemented.
MethodclearScheduleInfo
Description

Removes the schedule info.

ErrorsNO_ACCESSMetadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetEventMetadata
Description

Gets the metadata for manually linking an event.

Returnosid.Metadatametadata for the event
CompliancemandatoryThis method must be implemented.
MethodsetEvent
Description

Sets the event. This information may be derived from the activity schedules.

Parametersosid.id.IdeventIdthe new event
ErrorsINVALID_ARGUMENTeventId is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTeventId is null
CompliancemandatoryThis method must be implemented.
MethodclearEvent
Description

Removes the event.

ErrorsNO_ACCESSMetadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetCourseOfferingFormRecord
Description

Gets the CourseOfferingFormRecord corresponding to the given course offering record Type .

Parametersosid.type.TypecourseOfferingRecordTypea course offering record type
Returnosid.course.records.CourseOfferingFormRecordthe course offering form record
ErrorsNULL_ARGUMENTcourseOfferingRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(courseOfferingRecordType) is false
CompliancemandatoryThis method must be implemented.