OSID Logo
OSID Specifications
course batch package
Version 3.0.0
Release Candidate Preview
Interfaceosid.course.batch.ActivityBatchForm
Implementsosid.course.ActivityForm
Description

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

MethodgetActivityUnitId
Description

Gets the ActivityUnit Id of the activity if this is a create transaction.

Returnosid.id.Idthe activity unit Id
ErrorsILLEGAL_STATE isForUpdate() is true
CompliancemandatoryThis method must be implemented.
MethodgetCourseOfferingId
Description

Gets the CourseOffering Id of the activity if this is a create transaction.

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

Gets the term Id of the activity if this is a create transaction.

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

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

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