Interface BallotConstrainerQueryInspector

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

public interface BallotConstrainerQueryInspector extends OsidConstrainerQueryInspector

This is the query interface for examining ballot constrainer queries.

  • Method Details

    • getRuledBallotIdTerms

      IdTerm[] getRuledBallotIdTerms()
      Gets the ballot Id query terms.
      Returns:
      the query terms
      Compliance:
      mandatory - This method must be implemented.
    • getRuledBallotTerms

      BallotQueryInspector[] getRuledBallotTerms()
      Gets the ballot 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.
    • getBallotConstrainerQueryInspectorRecord

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