OSID Logo
OSID Specifications
voting package
Version 3.0.0
Release Candidate Preview
Interfaceosid.voting.PollsForm
Implementsosid.OsidCatalogForm
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.TypepollsRecordTypethe polls record type
Returnosid.voting.records.PollsFormRecordthe polls form record
ErrorsNULL_ARGUMENT pollsRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(pollsRecordType) is false
CompliancemandatoryThis method must be implemented.