OSID Logo
OSID Specifications
voting package
Version 3.0.0
Release Candidate Preview
Interfaceosid.voting.Polls
Implementsosid.OsidCatalog
Description

An inventory defines a collection of candidates.

MethodgetPollsRecord
Description

Gets the polls record corresponding to the given Polls record Type. This method is used to retrieve an object implementing the requested record. The pollsRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(pollsRecordType) is true .

Parametersosid.type.TypepollsRecordTypethe polls record type
Returnosid.voting.records.PollsRecordthe polls record
ErrorsNULL_ARGUMENT pollsRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(pollsRecordType) is false
CompliancemandatoryThis method must be implemented.