OSID Logo
OSID Specifications
course registration package
Version 3.0.0
Interfaceosid.course.registration.RegistrationTarget
Implementsosid.OsidObject
osid.Subjugateable
Used Byosid.course.registration.Registration
osid.course.registration.RegistrationTargetAdminSession
osid.course.registration.RegistrationTargetList
osid.course.registration.RegistrationTargetLookupSession
osid.course.registration.request.RegistrationRequestItem
Description

A RegistrationTarget represents a set of Activities in which a Registration is permissible.

MethodgetCourseOfferingId
Description

Gets the course offering Id associated with this registration target.

Returnosid.id.Idthe course offering Id
CompliancemandatoryThis method must be implemented.
MethodgetCourseOffering
Description

Gets the course offering associated with this registration target.

Returnosid.course.CourseOfferingthe course offering
ErrorsOPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodgetActivityIds
Description

Gets the activity Ids in this registration target.

Returnosid.id.IdListIds of the l earning objectives
CompliancemandatoryThis method is must be implemented.
MethodgetActivities
Description

Gets the activities in this registration target.

Returnosid.course.ActivityListthe activites
ErrorsOPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethoddefinesCredits
Description

Tests if registration to this registration target. results in credits to be earned.

Returnbooleantrue if this course has credits, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetCredits
Description

Gets the number of credits available to register for in this course. Each array element is a distinct option.

Returndecimal[]the number of credits
ErrorsILLEGAL_STATEdefinesCredits() is false
CompliancemandatoryThis method must be implemented.
MethodisGraded
Description

Tests if a registration to this registration target. will be for for grades.

Returnbooleantrue if this registration is for grades, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetGradingOptionIds
Description

Gets the various grading option Ids available to register in this course.

Returnosid.id.IdListthe returned list of grading option Ids
ErrorsILLEGAL_STATEisGraded() is false
CompliancemandatoryThis method must be implemented.
MethodgetGradingOptions
Description

Gets the various grading options available to register in this course.

Returnosid.grading.GradeSystemListthe returned list of grading options
ErrorsILLEGAL_STATEisGraded() is false
OPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodgetRegistrationTargetRecord
Description

Gets the registration target record corresponding to the given RegistrationT arget record Type . This method ie used to retrieve an object implementing the requested record. The registrationTargetRecor dType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(registrationTargetRecordT ype) is true .

Parametersosid.type.TyperegistrationTargetRecordTypethe type of registration target record to retrieve
Returnosid.course.registration.records.RegistrationTargetRecordthe registration target record
ErrorsNULL_ARGUMENTregistrationTargetRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(registrationTargetRecordType) is false
CompliancemandatoryThis method must be implemented.