public interface RaceConstrainerQuery extends OsidConstrainerQuery
This is the query for searching race constrainers. Each method match
specifies a AND term while multiple invocations of the same
method produce a nested OR.
| Modifier and Type | Method and Description |
|---|---|
void |
clearPollsIdTerms()
Clears the polls
Id query terms. |
void |
clearPollsTerms()
Clears the polls query terms.
|
void |
clearRuledRaceIdTerms()
Clears the race
Id query terms. |
void |
clearRuledRaceTerms()
Clears the race query terms.
|
PollsQuery |
getPollsQuery()
Gets the query for a polls.
|
RaceConstrainerQueryRecord |
getRaceConstrainerQueryRecord(Type raceConstrainerRecordType)
Gets the race constrainer query record corresponding to the given
RaceConstrainer record Type. |
RaceQuery |
getRuledRaceQuery()
Gets the query for a race.
|
void |
matchAnyRuledRace(boolean match)
Matches constrainers mapped to any race.
|
void |
matchPollsId(Id pollsId,
boolean match)
Matches constrainers mapped to the polls.
|
void |
matchRuledRaceId(Id raceId,
boolean match)
Matches mapped to a race.
|
boolean |
supportsPollsQuery()
Tests if a
PollsQuery is available. |
boolean |
supportsRuledRaceQuery()
Tests if a
RaceQuery is available. |
clearRuleIdTerms, clearRuleTerms, getRuleQuery, matchAnyRule, matchRuleId, supportsRuleQueryclearCommentIdTerms, clearCommentTerms, clearCreditIdTerms, clearCreditTerms, clearDescriptionTerms, clearDisplayNameTerms, clearGenusTypeTerms, clearJournalEntryIdTerms, clearJournalEntryTerms, clearParentGenusTypeTerms, clearRelationshipIdTerms, clearRelationshipPeerIdTerms, clearRelationshipTerms, clearStateIdTerms, clearStateTerms, clearStatisticTerms, clearSubjectIdTerms, clearSubjectRelevancyTerms, clearSubjectTerms, getCommentQuery, getCreditQuery, getJournalEntryQuery, getRelationshipQuery, getStateQuery, getStatisticQuery, getSubjectQuery, getSubjectRelevancyQuery, matchAnyComment, matchAnyCredit, matchAnyDescription, matchAnyDisplayName, matchAnyGenusType, matchAnyJournalEntry, matchAnyRelationship, matchAnyState, matchAnyStatistic, matchAnySubject, matchCommentId, matchCreditId, matchDescription, matchDisplayName, matchGenusType, matchJournalEntryId, matchParentGenusType, matchRelationshipId, matchRelationshipPeerId, matchStateId, matchSubjectId, supportsCommentQuery, supportsCreditQuery, supportsJournalEntryQuery, supportsRelationshipQuery, supportsStateQuery, supportsStatisticQuery, supportsSubjectQuery, supportsSubjectRelevancyQueryclearIdTerms, matchIdclearRecordTerms, matchAnyRecord, matchRecordTypegetRecordTypes, hasRecordTypeclearAnyTerms, clearKeywordTerms, getStringMatchTypes, matchAny, matchKeyword, supportsStringMatchTypeclearActiveTerms, clearDisabledTerms, clearEnabledTerms, clearOperationalTerms, matchActive, matchDisabled, matchEnabled, matchOperationalvoid matchRuledRaceId(Id raceId, boolean match)
raceId - the race Id match - true for a positive match, false
for a negative matchNullArgumentException - raceId is
null mandatory - This method must be implemented. void clearRuledRaceIdTerms()
Id query terms.mandatory - This method must be implemented. boolean supportsRuledRaceQuery()
RaceQuery is available. true if a race query is available, false
otherwisemandatory - This method must be implemented. RaceQuery getRuledRaceQuery()
OR term.UnimplementedException -
supportsRuledRaceQuery() is false optional - This method must be implemented if
supportsRuledRaceQuery() is true. void matchAnyRuledRace(boolean match)
match - true for constrainers mapped to any race,
false to match constrainers mapped to no racesmandatory - This method must be implemented. void clearRuledRaceTerms()
mandatory - This method must be implemented. void matchPollsId(Id pollsId, boolean match)
pollsId - the polls Id match - true for a positive match, false
for a negative matchNullArgumentException - pollsId is
null mandatory - This method must be implemented. void clearPollsIdTerms()
Id query terms.mandatory - This method must be implemented. boolean supportsPollsQuery()
PollsQuery is available. true if a polls query is available,
false otherwisemandatory - This method must be implemented. PollsQuery getPollsQuery()
OR term.UnimplementedException - supportsPollsQuery()
is false optional - This method must be implemented if
supportsPollsQuery() is true. void clearPollsTerms()
mandatory - This method must be implemented. RaceConstrainerQueryRecord getRaceConstrainerQueryRecord(Type raceConstrainerRecordType) throws OperationFailedException
RaceConstrainer record Type. Multiple
record retrievals produce a nested OR term.raceConstrainerRecordType - a race constrainer record typeNullArgumentException -
raceConstrainerRecordType is null OperationFailedException - unable to complete requestUnsupportedException -
hasRecordType(raceConstrainerRecordType) is
false mandatory - This method must be implemented.