OSID Logo
OSID Specifications
voting rules package
Version 3.0.0
Interfaceosid.voting.rules.VoteEnabler
Implementsosid.OsidEnabler
Used Byosid.voting.rules.VoteEnablerAdminSession
osid.voting.rules.VoteEnablerList
osid.voting.rules.VoteEnablerLookupSession
Description

A VoteEnabler manages the active status of a Vote.

MethodgetVoteEnablerRecord
Description

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

Parametersosid.type.TypevoteEnablerRecordTypethe type of vote enabler record to retrieve
Returnosid.voting.rules.records.VoteEnablerRecordthe vote enabler record
ErrorsNULL_ARGUMENTvoteEnablerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(voteEnablerRecordType) is false
CompliancemandatoryThis method must be implemented.