OSID Logo
OSID Specifications
voting rules package
Version 3.0.0
Release Candidate Preview
Interfaceosid.voting.rules.BallotConstrainerEnablerForm
Implementsosid.OsidEnablerForm
Description

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

MethodgetBallotConstrainerEnablerFormRecord
Description

Gets the BallotConstrainerEnablerFormRecord corresponding to the given ballot constrainer enabler record Type.

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