Interface VoteBatchForm

All Superinterfaces:
Extensible, Identifiable, OsidBrowsableForm, OsidExtensibleForm, OsidForm, OsidIdentifiableForm, OsidObjectForm, OsidRelationshipForm, OsidTemporalForm, Suppliable, VoteForm

public interface VoteBatchForm extends VoteForm

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

  • Method Details

    • getRaceId

      Id getRaceId()
      Gets the Id of the race if this is a create transaction.
      Returns:
      the candidate Id
      Throws:
      IllegalStateException - isForUpdate() is true
      Compliance:
      mandatory - This method must be implemented.
    • getCandidateId

      Id getCandidateId()
      Gets the Id of the candidate if this is a create transaction.
      Returns:
      the candidate Id
      Throws:
      IllegalStateException - isForUpdate() is true
      Compliance:
      mandatory - This method must be implemented.