OSID Logo
OSID Specifications
voting package
Version 3.1.0
Interfaceosid.voting.PollsForm
Implementsosid.OsidCatalogForm
Implemented Byosid.voting.batch.PollsBatchForm
Used Byosid.voting.PollsAdminSession
Description

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

MethodgetPollsFormRecord
Description

Gets the PollsFormRecord corresponding to the given polls record Type.

Parametersosid.type.TypepollsRecordType the polls record type
Returnosid.voting.records.PollsFormRecord the polls form record
ErrorsNULL_ARGUMENT pollsRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(pollsRecordType) is false
Compliancemandatory This method must be implemented.