Interface BallotQueryInspector

All Superinterfaces:
Extensible, OsidBrowsableQueryInspector, OsidExtensibleQueryInspector, OsidGovernatorQueryInspector, OsidIdentifiableQueryInspector, OsidObjectQueryInspector, OsidOperableQueryInspector, OsidQueryInspector, OsidSourceableQueryInspector, OsidTemporalQueryInspector

public interface BallotQueryInspector extends OsidGovernatorQueryInspector, OsidTemporalQueryInspector

This is the query inspector for examining ballot queries.

  • Method Details

    • getCommissionerIdTerms

      IdTerm[] getCommissionerIdTerms()
      Gets the commissioner Id query terms.
      Returns:
      the query terms
      Compliance:
      mandatory - This method must be implemented.
    • getCommissionerTerms

      ResourceQueryInspector[] getCommissionerTerms()
      Gets the commissioner query terms.
      Returns:
      the query terms
      Compliance:
      mandatory - This method must be implemented.
    • getRevoteTerms

      BooleanTerm[] getRevoteTerms()
      Gets the revote query terms.
      Returns:
      the query terms
      Compliance:
      mandatory - This method must be implemented.
    • getRaceIdTerms

      IdTerm[] getRaceIdTerms()
      Gets the race Id query terms.
      Returns:
      the query terms
      Compliance:
      mandatory - This method must be implemented.
    • getRaceTerms

      RaceQueryInspector[] getRaceTerms()
      Gets the race 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.
    • getBallotQueryInspectorRecord

      BallotQueryInspectorRecord getBallotQueryInspectorRecord(Type ballotRecordType) throws OperationFailedException
      Gets the ballot query inspector record corresponding to the given Ballot record Type .
      Parameters:
      ballotRecordType - a ballot record type
      Returns:
      the ballot query inspector record
      Throws:
      NullArgumentException - ballotRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordType(ballotRecordType) is false
      Compliance:
      mandatory - This method must be implemented.