OSID Logo
OSID Specifications
course package
Version 3.1.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.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.
MethodgetInstructorsMetadata
Description

Gets the metadata for the instructors.

Returnosid.Metadata metadata for the instructors
Compliancemandatory This method must be implemented.
MethodsetInstructors
Description

Sets the instructors.

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

Removes the instructors.

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

Gets the metadata for the sponsors.

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

Sets the sponsors.

Parametersosid.id.Id[]sponsorIds the new sponsors
ErrorsINVALID_ARGUMENT sponsorIds is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT sponsorIds 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.
MethodgetCreditAmountsMetadata
Description

Gets the metadata for the credits.

Returnosid.Metadata metadata for the credit scale
Compliancemandatory This method must be implemented.
MethodsetCreditAmounts
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.
MethodclearCreditAmounts
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 offering 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 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 the grading options.

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

Sets the grading options.

Parametersosid.id.Id[]gradeSystemIds the new grading options
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 objectives
Compliancemandatory This method must be implemented.
MethodsetLearningObjectives
Description

Sets the learning objectives.

Parametersosid.id.Id[]objectiveIds the new objectives
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.
MethodgetRestrictedAudiencesMetadata
Description

Gets the metadata for a set of restricted audiences.

Returnosid.Metadata metadata for the restricted audiences
Compliancemandatory This method must be implemented.
MethodsetRestrictedAudiences
Description

Sets the restricted audiences.

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

Removes the restricted audiences.

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

Gets the metadata for requires registration flag.

Returnosid.Metadata metadata for registration flag
Compliancemandatory This method must be implemented.
MethodsetRequiresRegistration
Description

Sets the requires registration flag.

ParametersbooleanrequiresRegistration the new registration flag
ErrorsINVALID_ARGUMENT requiresRegistration is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearRequiresRegistration
Description

Removes the requires registration flag.

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

Gets the metadata for the minimum seats.

Returnosid.Metadata metadata for the minimum seats
Compliancemandatory This method must be implemented.
MethodsetMinimumSeats
Description

Sets the minimum seating count.

Parameterscardinalseats the new minimum seats
ErrorsINVALID_ARGUMENT seats is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearMinimumSeats
Description

Removes the minimum seats.

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

Gets the metadata for the maximum seats.

Returnosid.Metadata metadata for the maximum seats
Compliancemandatory This method must be implemented.
MethodsetMaximumSeats
Description

Sets the maximum seating count.

Parameterscardinalseats the new maximum seats
ErrorsINVALID_ARGUMENT seats is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearMaximumSeats
Description

Removes the maximum seats.

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

Gets the metadata for a class url.

Returnosid.Metadata metadata for the url
Compliancemandatory This method must be implemented.
MethodsetURL
Description

Sets the url for a class web site.

Parametersstringurl the new url
ErrorsINVALID_ARGUMENT url is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT url is null
Compliancemandatory This method must be implemented.
MethodclearURL
Description

Removes the url.

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

Gets the metadata for a schedule informatoin string.

Returnosid.Metadata metadata for the schedule information
Compliancemandatory This method must be implemented.
MethodsetScheduleInfo
Description

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

ParametersstringscheduleInfo the new schedule info
ErrorsINVALID_ARGUMENT scheduleInfo is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT scheduleInfo is null
Compliancemandatory This method must be implemented.
MethodclearScheduleInfo
Description

Removes the schedule info.

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

Gets the metadata for manually linking an event.

Returnosid.Metadata metadata for the event
Compliancemandatory This method must be implemented.
MethodsetEvent
Description

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

Parametersosid.id.IdeventId the new event
ErrorsINVALID_ARGUMENT eventId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT eventId is null
Compliancemandatory This method must be implemented.
MethodclearEvent
Description

Removes the event.

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

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

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