public interface BallotConstrainerEnablerQuery extends OsidEnablerQuery
This is the query for searching ballot constrainer enablers. Each
method match specifies an 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 |
clearRuledBallotConstrainerIdTerms()
Clears the ballot constrainer
Id query terms. |
void |
clearRuledBallotConstrainerTerms()
Clears the ballot constrainer query terms.
|
BallotConstrainerEnablerQueryRecord |
getBallotConstrainerEnablerQueryRecord(Type ballotConstrainerEnablerRecordType)
Gets the ballot constrainer enabler query record corresponding to the
given
BallotConstrainerEnabler record Type. |
PollsQuery |
getPollsQuery()
Gets the query for a polls.
|
BallotConstrainerQuery |
getRuledBallotConstrainerQuery()
Gets the query for a ballot constrainer.
|
void |
matchAnyRuledBallotConstrainer(boolean match)
Matches enablers mapped to any ballot constrainer.
|
void |
matchPollsId(Id pollsId,
boolean match)
Matches enablers mapped to the polls.
|
void |
matchRuledBallotConstrainerId(Id ballotConstrainerId,
boolean match)
Matches enablers mapped to the ballot constrainer.
|
boolean |
supportsPollsQuery()
Tests if a
PollsQuery is available. |
boolean |
supportsRuledBallotConstrainerQuery()
Tests if a
BallotConstrainerQuery 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, supportsScheduleQueryclearRuleIdTerms, 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, matchOperationalclearDateTerms, clearEffectiveTerms, clearEndDateTerms, clearStartDateTerms, matchAnyEndDate, matchAnyStartDate, matchDate, matchEffective, matchEndDate, matchStartDatevoid matchRuledBallotConstrainerId(Id ballotConstrainerId, boolean match)
ballotConstrainerId - the ballot constrainer Id match - true for a positive match, false
for a negative matchNullArgumentException - ballotConstrainerId
is null mandatory - This method must be implemented. void clearRuledBallotConstrainerIdTerms()
Id query terms.mandatory - This method must be implemented. boolean supportsRuledBallotConstrainerQuery()
BallotConstrainerQuery is available. true if a ballot constrainer query is
available, false otherwisemandatory - This method must be implemented. BallotConstrainerQuery getRuledBallotConstrainerQuery()
OR term.UnimplementedException -
supportsRuledBallotConstrainerQuery() is false
optional - This method must be implemented if
supportsRuledBallotConstrainerQuery() is
true. void matchAnyRuledBallotConstrainer(boolean match)
match - true for enablers mapped to any ballot
constrainer, false to match enablers mapped to
no ballot constrainersmandatory - This method must be implemented. void clearRuledBallotConstrainerTerms()
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. BallotConstrainerEnablerQueryRecord getBallotConstrainerEnablerQueryRecord(Type ballotConstrainerEnablerRecordType) throws OperationFailedException
BallotConstrainerEnabler record Type.
Multiple record retrievals produce a nested OR
term.ballotConstrainerEnablerRecordType - a ballot constrainer
enabler record typeNullArgumentException -
ballotConstrainerEnablerRecordType is null
OperationFailedException - unable to complete requestUnsupportedException -
hasRecordType(ballotConstrainerEnablerRecordType) is
false mandatory - This method must be implemented.