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.
Modifier and Type | Method and Description |
---|---|
void |
clearPollsIdTerms()
Clears the polls
Id query terms. |
void |
clearPollsTerms()
Clears the polls query terms.
|
void |
clearRuledRaceConstrainerIdTerms()
Clears the race constrainer
Id query terms. |
void |
clearRuledRaceConstrainerTerms()
Clears the race constrainer query terms.
|
PollsQuery |
getPollsQuery()
Gets the query for a polls.
|
RaceConstrainerEnablerQueryRecord |
getRaceConstrainerEnablerQueryRecord(Type raceConstrainerEnablerRecordType)
Gets the race constrainer enabler query record corresponding to the
given
RaceConstrainerEnabler record Type. |
RaceConstrainerQuery |
getRuledRaceConstrainerQuery()
Gets the query for a race constrainer.
|
void |
matchAnyRuledRaceConstrainer(boolean match)
Matches enablers mapped to any race constrainer.
|
void |
matchPollsId(Id pollsId,
boolean match)
Matches enablers mapped to the polls.
|
void |
matchRuledRaceConstrainerId(Id raceConstrainerId,
boolean match)
Matches enablers mapped to the race constrainer.
|
boolean |
supportsPollsQuery()
Tests if a
PollsQuery is available. |
boolean |
supportsRuledRaceConstrainerQuery()
Tests if a
RaceConstrainerQuery is available. |
clearCyclicEventIdTerms, clearCyclicEventTerms, clearDemographicIdTerms, clearDemographicTerms, clearEventIdTerms, clearEventTerms, clearScheduleIdTerms, clearScheduleTerms, getCyclicEventQuery, getDemographicQuery, getEventQuery, getScheduleQuery, matchAnyCyclicEvent, matchAnyDemographic, matchAnyEvent, matchAnySchedule, matchCyclicEventId, matchDemographicId, matchEventId, matchScheduleId, supportsCyclicEventQuery, supportsDemographicQuery, supportsEventQuery, supportsScheduleQuery
clearRuleIdTerms, clearRuleTerms, getRuleQuery, matchAnyRule, matchRuleId, supportsRuleQuery
clearCommentIdTerms, 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, supportsSubjectRelevancyQuery
clearIdTerms, matchId
clearRecordTerms, matchAnyRecord, matchRecordType
getRecordTypes, hasRecordType
clearAnyTerms, clearKeywordTerms, getStringMatchTypes, matchAny, matchKeyword, supportsStringMatchType
clearActiveTerms, clearDisabledTerms, clearEnabledTerms, clearOperationalTerms, matchActive, matchDisabled, matchEnabled, matchOperational
clearDateTerms, clearEffectiveTerms, clearEndDateTerms, clearStartDateTerms, matchAnyEndDate, matchAnyStartDate, matchDate, matchEffective, matchEndDate, matchStartDate
void matchRuledRaceConstrainerId(Id raceConstrainerId, boolean match)
raceConstrainerId
- the race constrainer Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- raceConstrainerId
is null
mandatory
- This method must be implemented. void clearRuledRaceConstrainerIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsRuledRaceConstrainerQuery()
RaceConstrainerQuery
is available. true
if a race constrainer query is available,
false
otherwisemandatory
- This method must be implemented. RaceConstrainerQuery getRuledRaceConstrainerQuery()
OR
term.UnimplementedException
-
supportsRuledRaceConstrainerQuery()
is false
optional
- This method must be implemented if
supportsRuledRaceConstrainerQuery()
is
true.
void matchAnyRuledRaceConstrainer(boolean match)
match
- true
for enablers mapped to any race
constrainer, false
to match enablers mapped to
no race constrainersmandatory
- This method must be implemented. void clearRuledRaceConstrainerTerms()
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. RaceConstrainerEnablerQueryRecord getRaceConstrainerEnablerQueryRecord(Type raceConstrainerEnablerRecordType) throws OperationFailedException
RaceConstrainerEnabler
record Type.
Multiple record retrievals produce a nested OR
term.raceConstrainerEnablerRecordType
- a race constrainer enabler
record typeNullArgumentException
-
raceConstrainerEnablerRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(raceConstrainerEnablerRecordType)
is
false
mandatory
- This method must be implemented.