Interface VoteEnabler

All Superinterfaces:
Browsable, Extensible, Identifiable, Operable, OsidEnabler, OsidObject, OsidRule, Temporal

public interface VoteEnabler extends OsidEnabler

A VoteEnabler manages the active status of a Vote.

  • Method Details

    • getVoteEnablerRecord

      VoteEnablerRecord getVoteEnablerRecord(Type voteEnablerRecordType) throws OperationFailedException
      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.
      Parameters:
      voteEnablerRecordType - the type of vote enabler record to retrieve
      Returns:
      the vote enabler record
      Throws:
      NullArgumentException - voteEnablerRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordType(voteEnablerRecordType) is false
      Compliance:
      mandatory - This method must be implemented.