OSID Logo
OSID Specifications
offering package
Version 3.1.0
Interfaceosid.offering.Offering
Implementsosid.OsidRelationship
Used Byosid.offering.OfferingAdminSession
osid.offering.OfferingList
osid.offering.OfferingLookupSession
osid.offering.Participant
Description

An Offering is an OsidRelationship between a CanonicalUnit and a TimePeriod.

MethodgetCanonicalUnitId
Description

Gets the Id of the canonical unit.

Returnosid.id.Id the canonical unit Id
Compliancemandatory This method must be implemented.
MethodgetCanonicalUnit
Description

Gets the canonical of this offering.

Returnosid.offering.CanonicalUnit the canonical unit
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetTimePeriodId
Description

Gets the Id of the time period.

Returnosid.id.Id the time period Id
Compliancemandatory This method must be implemented.
MethodgetTimePeriod
Description

Gets the time period of this offering

Returnosid.calendaring.TimePeriod the time period
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetTitle
Description

Gets the title for this offering.

Returnosid.locale.DisplayText the title
Compliancemandatory This method must be implemented.
MethodgetCode
Description

Gets the code for this offering.

Returnstring the code
Compliancemandatory This method must be implemented.
MethodhasResults
Description

Tests if this offering has results when offered.

Returnboolean true if this offering has results, false otherwise
Compliancemandatory This method must be implemented.
MethodgetResultOptionIds
Description

Gets the various result option Ids allowed for results.

Returnosid.id.IdList the returned list of grading option Ids
ErrorsILLEGAL_STATE hasResults() is false
Compliancemandatory This method must be implemented.
MethodgetResultOptions
Description

Gets the various result options allowed for this offering.

Returnosid.grading.GradeSystemList the returned list of grading options
ErrorsILLEGAL_STATE hasResults() is false
OPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodhasSponsors
Description

Tests if this offering has sponsors.

Returnboolean true if this offering has sponsors, false otherwise
Compliancemandatory This method must be implemented.
MethodgetSponsorIds
Description

Gets the sponsor Ids.

Returnosid.id.IdList the sponsor Ids
ErrorsILLEGAL_STATE hasSponsors() is false
Compliancemandatory This method must be implemented.
MethodgetSponsors
Description

Gets the sponsors.

Returnosid.resource.ResourceList the sponsors
ErrorsILLEGAL_STATE hasSponsors() is false
OPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetScheduleIds
Description

Gets the schedule Ids associated with this offering.

Returnosid.id.IdList the schedule Ids
Compliancemandatory This method must be implemented.
MethodgetSchedules
Description

Gets the schedules associated with this offering.

Returnosid.calendaring.ScheduleList the schedules
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetOfferingRecord
Description

Gets the record corresponding to the given Offering record Type.This method is used to retrieve an object implementing the requested record. The offeringRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(offeringRecordType) is true.

Parametersosid.type.TypeofferingRecordType the type of offering record to retrieve
Returnosid.offering.records.OfferingRecord the offering record
ErrorsNULL_ARGUMENT offeringRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(offeringRecordType) is false
Compliancemandatory This method must be implemented.