OSID Logo
OSID Specifications
voting package
Version 3.0.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.TypepollsRecordTypethe polls record type
Returnosid.voting.records.PollsFormRecordthe polls form record
ErrorsNULL_ARGUMENTpollsRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(pollsRecordType) is false
CompliancemandatoryThis method must be implemented.