OSID Logo
OSID Specifications
voting rules package
Version 3.1.0
Interfaceosid.voting.rules.VoteEnablerForm
Implementsosid.OsidEnablerForm
Used Byosid.voting.rules.VoteEnablerAdminSession
Description

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

MethodgetVoteEnablerFormRecord
Description

Gets the VoteEnablerFormRecord corresponding to the given vote enabler record Type.

Parametersosid.type.TypevoteEnablerRecordType a vote enabler record type
Returnosid.voting.rules.records.VoteEnablerFormRecord the vote enabler form record
ErrorsNULL_ARGUMENT voteEnablerRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(voteEnablerRecordType) is false
Compliancemandatory This method must be implemented.