Interface RaceConstrainerEnablerQuery

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

public interface RaceConstrainerEnablerQuery extends OsidEnablerQuery

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

  • Method Details

    • matchRuledRaceConstrainerId

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

      void clearRuledRaceConstrainerIdTerms()
      Clears the race constrainer Id query terms.
      Compliance:
      mandatory - This method must be implemented.
    • supportsRuledRaceConstrainerQuery

      boolean supportsRuledRaceConstrainerQuery()
      Tests if a RaceConstrainerQuery is available.
      Returns:
      true if a race constrainer query is available, false otherwise
      Compliance:
      mandatory - This method must be implemented.
    • getRuledRaceConstrainerQuery

      RaceConstrainerQuery getRuledRaceConstrainerQuery()
      Gets the query for a race constrainer. Multiple retrievals produce a nested OR term.
      Returns:
      the race constrainer query
      Throws:
      UnimplementedException - supportsRuledRaceConstrainerQuery() is false
      Compliance:
      optional - This method must be implemented if {@code supportsRuledRaceConstrainerQuery()} is {@code true} .
    • matchAnyRuledRaceConstrainer

      void matchAnyRuledRaceConstrainer(boolean match)
      Matches enablers mapped to any race constrainer.
      Parameters:
      match - true for enablers mapped to any race constrainer, false to match enablers mapped to no race constrainers
      Compliance:
      mandatory - This method must be implemented.
    • clearRuledRaceConstrainerTerms

      void clearRuledRaceConstrainerTerms()
      Clears the race constrainer 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.
    • getRaceConstrainerEnablerQueryRecord

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