OSID Logo
OSID Specifications
voting rules package
Version 3.0.0
Release Candidate Preview
Interfaceosid.voting.rules.BallotConstrainerForm
Implementsosid.OsidConstrainerForm
Description

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

MethodgetBallotConstrainerFormRecord
Description

Gets the BallotConstrainerFormRecord corresponding to the given ballot constrainer record Type.

Parametersosid.type.TypeballotConstrainerRecordTypea ballot constrainer record type
Returnosid.voting.rules.records.BallotConstrainerFormRecordthe ballot constrainer form record
ErrorsNULL_ARGUMENT ballotConstrainerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(ballotConstrainerRecordType) is false
CompliancemandatoryThis method must be implemented.