OSID Logo
OSID Specifications
voting batch package
Version 3.0.0
Release Candidate Preview
Interfaceosid.voting.batch.CandidateBatchForm
Implementsosid.voting.CandidateForm
Description

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

MethodgetRaceId
Description

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

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

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

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

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

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