Interface RaceProcessorEnablerQuery

All Superinterfaces:
Extensible, OsidBrowsableQuery, OsidEnablerQuery, OsidExtensibleQuery, OsidIdentifiableQuery, OsidObjectQuery, OsidOperableQuery, OsidQuery, OsidRuleQuery, OsidTemporalQuery, Suppliable

public interface RaceProcessorEnablerQuery extends OsidEnablerQuery

This is the query for searching race processor enablers. Each method match specifies a AND term while multiple invocations of the same method produce a nested OR .

  • Method Details

    • matchRuledRaceProcessorId

      void matchRuledRaceProcessorId(Id raceProcessorId, boolean match)
      Matches enablers mapped to the race processor.
      Parameters:
      raceProcessorId - the race processor Id
      match - true for a positive match, false for a negative match
      Throws:
      NullArgumentException - raceProcessorId is null
      Compliance:
      mandatory - This method must be implemented.
    • clearRuledRaceProcessorIdTerms

      void clearRuledRaceProcessorIdTerms()
      Clears the race processor Id query terms.
      Compliance:
      mandatory - This method must be implemented.
    • supportsRuledRaceProcessorQuery

      boolean supportsRuledRaceProcessorQuery()
      Tests if a RaceProcessorQuery is available.
      Returns:
      true if a race processor query is available, false otherwise
      Compliance:
      mandatory - This method must be implemented.
    • getRuledRaceProcessorQuery

      RaceProcessorQuery getRuledRaceProcessorQuery()
      Gets the query for a race processor. Multiple retrievals produce a nested OR term.
      Returns:
      the race processor query
      Throws:
      UnimplementedException - supportsRuledRaceProcessorQuery() is false
      Compliance:
      optional - This method must be implemented if {@code supportsRuledRaceProcessorQuery()} is {@code true} .
    • matchAnyRuledRaceProcessor

      void matchAnyRuledRaceProcessor(boolean match)
      Matches enablers mapped to any race processor.
      Parameters:
      match - true for enablers mapped to any race processor, false to match enablers mapped to no race processors
      Compliance:
      mandatory - This method must be implemented.
    • clearRuledRaceProcessorTerms

      void clearRuledRaceProcessorTerms()
      Clears the race processor query terms.
      Compliance:
      mandatory - This method must be implemented.
    • matchPollsId

      void matchPollsId(Id pollsId, boolean match)
      Matches enablers mapped to the polls.
      Parameters:
      pollsId - the polls Id
      match - true for a positive match, false for a negative match
      Throws:
      NullArgumentException - pollsId is null
      Compliance:
      mandatory - This method must be implemented.
    • clearPollsIdTerms

      void clearPollsIdTerms()
      Clears the polls Id query terms.
      Compliance:
      mandatory - This method must be implemented.
    • supportsPollsQuery

      boolean supportsPollsQuery()
      Tests if a PollsQuery is available.
      Returns:
      true if a polls query is available, false otherwise
      Compliance:
      mandatory - This method must be implemented.
    • getPollsQuery

      PollsQuery getPollsQuery()
      Gets the query for a polls. Multiple retrievals produce a nested OR term.
      Returns:
      the polls query
      Throws:
      UnimplementedException - supportsPollsQuery() is false
      Compliance:
      optional - This method must be implemented if {@code supportsPollsQuery()} is {@code true} .
    • clearPollsTerms

      void clearPollsTerms()
      Clears the polls query terms.
      Compliance:
      mandatory - This method must be implemented.
    • getRaceProcessorEnablerQueryRecord

      RaceProcessorEnablerQueryRecord getRaceProcessorEnablerQueryRecord(Type raceProcessorEnablerRecordType) throws OperationFailedException
      Gets the race processor enabler query record corresponding to the given RaceProcessorEnabler record Type .Multiple record retrievals produce a nested OR term.
      Parameters:
      raceProcessorEnablerRecordType - a race processor enabler record type
      Returns:
      the race processor enabler query record
      Throws:
      NullArgumentException - raceProcessorEnablerRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordType(raceProcessorEnablerRecordType) is false
      Compliance:
      mandatory - This method must be implemented.