Interface VoteEnablerQueryInspector

All Superinterfaces:
Extensible, OsidBrowsableQueryInspector, OsidEnablerQueryInspector, OsidExtensibleQueryInspector, OsidIdentifiableQueryInspector, OsidObjectQueryInspector, OsidOperableQueryInspector, OsidQueryInspector, OsidRuleQueryInspector, OsidTemporalQueryInspector

public interface VoteEnablerQueryInspector extends OsidEnablerQueryInspector

This is the query inspector for examining vote enabler queries.

Like all OsidQueryInspectors, VoteEnablerQueryInspector is stateful and must not be accessed by multiple processing threads.

  • Method Details

    • getRuledVoteIdTerms

      IdTerm[] getRuledVoteIdTerms()
      Gets the vote Id query terms.
      Returns:
      the query terms
      Compliance:
      mandatory - This method must be implemented.
    • getRuledVoteTerms

      VoteQueryInspector[] getRuledVoteTerms()
      Gets the vote query terms.
      Returns:
      the query terms
      Compliance:
      mandatory - This method must be implemented.
    • getPollsIdTerms

      IdTerm[] getPollsIdTerms()
      Gets the polls Id query terms.
      Returns:
      the query terms
      Compliance:
      mandatory - This method must be implemented.
    • getPollsTerms

      PollsQueryInspector[] getPollsTerms()
      Gets the polls query terms.
      Returns:
      the query terms
      Compliance:
      mandatory - This method must be implemented.
    • getVoteEnablerQueryInspectorRecord

      VoteEnablerQueryInspectorRecord[] getVoteEnablerQueryInspectorRecord(Type voteEnablerRecordType) throws OperationFailedException
      Gets the vote enabler query inspector record corresponding to the given VoteEnabler record Type.
      Parameters:
      voteEnablerRecordType - a vote enabler record type
      Returns:
      the vote enabler query inspector record
      Throws:
      NullArgumentException - voteEnablerRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordType(voteEnablerRecordType) is false
      Compliance:
      mandatory - This method must be implemented.