OSID Logo
OSID Specifications
voting rules package
Version 3.1.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.TypevoteEnablerRecordType the type of vote enabler record to retrieve
Returnosid.voting.rules.records.VoteEnablerRecord the vote enabler record
ErrorsNULL_ARGUMENT voteEnablerRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(voteEnablerRecordType) is false
Compliancemandatory This method must be implemented.