OSID Logo
OSID Specifications
course program batch package
Version 3.0.0
Release Candidate Preview
Interfaceosid.course.program.batch.EnrollmentBatchForm
Implementsosid.course.program.EnrollmentForm
Description

This is the form for creating and updating enrollments in bulk. Like all OsidForm objects, various data elements may be set here for use in the create and update methods in the EnrollmentBatchAdminSession. For each data element that may be set, metadata may be examined to provide display hints or data constraints.

MethodgetProgramOfferingId
Description

Gets the program offering Id of the enrollment if this is a create transaction.

Returnosid.id.Idthe program offering Id
ErrorsILLEGAL_STATE isForUpdate() is true
CompliancemandatoryThis method must be implemented.
MethodgetStudentId
Description

Gets the student resource Id of the enrollment if this is a create transaction.

Returnosid.id.Idthe resource Id
ErrorsILLEGAL_STATE isForUpdate() is true
CompliancemandatoryThis method must be implemented.
MethodgetEnrollmentId
Description

Gets the Id of the enrollment to be updated if this is an update transaction.

Returnosid.id.Idthe enrollment Id
ErrorsILLEGAL_STATE isForUpdate() is false
CompliancemandatoryThis method must be implemented.