OSID Logo
OSID Specifications
course program package
Version 3.1.0
Interfaceosid.course.program.ProgramOfferingForm
Implementsosid.OsidRelationshipForm
Implemented Byosid.course.program.batch.ProgramOfferingBatchForm
Used Byosid.course.program.ProgramOfferingAdminSession
Description

This is the form for creating and updating ProgramOfferings. Like all OsidForm objects, various data elements may be set here for use in the create and update methods in the ProgramOfferingAdminSession. 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 program 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 program offering number.

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

Sets the program number.

Parametersstringnumber the new program 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 program number.

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.
MethodgetParentProgramOfferingMetadata
Description

Gets the metadata for the parent program offering.

Returnosid.Metadata metadata for the parent program offering
Compliancemandatory This method must be implemented.
MethodsetParentProgramOffering
Description

Sets the parent program offering.

Parametersosid.id.IdprogramOfferingId the new parent program offering
ErrorsINVALID_ARGUMENT programOfferingId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT programOfferingId is null
Compliancemandatory This method must be implemented.
MethodclearParentProgramOffering
Description

Removes the parent program offering.

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

Gets the metadata for the learning objectives.

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

Sets the learning objectives.

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

Gets the metadata for a completion requirements informational string.

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

Sets the completion requirements information.

Parametersstringrequirements the new requirements information
ErrorsINVALID_ARGUMENT requirements is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT requirements is null
Compliancemandatory This method must be implemented.
MethodclearCompletionRequirementsInfo
Description

Removes the completion requirements information.

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

Gets the metadata for a completion requirements requisites.

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

Sets the completion requirements requisites.

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

Removes the completion requirements requisites.

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

Gets the metadata for a set of credentials.

Returnosid.Metadata metadata for the credentials
Compliancemandatory This method must be implemented.
MethodsetCredentials
Description

Sets the credentials.

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

Removes the credentials.

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 program url.

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

Sets the url for a program 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.
MethodgetProgramOfferingFormRecord
Description

Gets the ProgramOfferingFormRecord corresponding to the given program offering record Type.

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