OSID Logo
OSID Specifications
voting batch package
Version 3.0.0
Interfaceosid.voting.batch.RaceBatchForm
Implementsosid.voting.RaceForm
Used Byosid.voting.batch.RaceBatchFormList
Description

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

MethodgetBallotId
Description

Gets the Ballot of the race if this is a create transaction.

Returnosid.id.Idthe ballot Id
ErrorsILLEGAL_STATEisForUpdate() is true
CompliancemandatoryThis method must be implemented.
MethodgetRaceId
Description

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

Returnosid.id.Idthe race Id
ErrorsILLEGAL_STATEisForUpdate() is false
CompliancemandatoryThis method must be implemented.