public interface DemographicEnablerQuery extends OsidEnablerQuery
This is the query for searching demographic 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 |
clearBinIdTerms()
Clears the bin
Id query terms. |
void |
clearBinTerms()
Clears the bin query terms.
|
void |
clearRuledDemographicIdTerms()
Clears the demographic
Id query terms. |
void |
clearRuledDemographicTerms()
Clears the demographic query terms.
|
BinQuery |
getBinQuery()
Gets the query for a bin.
|
DemographicEnablerQueryRecord |
getDemographicEnablerQueryRecord(Type demographicEnablerRecordType)
Gets the demographic enabler query record corresponding to the given
DemographicEnabler record Type. |
DemographicQuery |
getRuledDemographicQuery()
Gets the query for a demographic.
|
void |
matchAnyRuledDemographic(boolean match)
Matches enablers mapped to any demographic.
|
void |
matchBinId(Id binId,
boolean match)
Matches enablers mapped to the bin.
|
void |
matchRuledDemographicId(Id demographicId,
boolean match)
Matches enablers mapped to the demographic.
|
boolean |
supportsBinQuery()
Tests if a
BinQuery is available. |
boolean |
supportsRuledDemographicQuery()
Tests if a
DemographicQuery 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 matchRuledDemographicId(Id demographicId, boolean match)
demographicId
- the demographic Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- demographicId
is
null
mandatory
- This method must be implemented. void clearRuledDemographicIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsRuledDemographicQuery()
DemographicQuery
is available. true
if a demographic query is available,
false
otherwisemandatory
- This method must be implemented. DemographicQuery getRuledDemographicQuery()
OR
term.UnimplementedException
-
supportsRuledDemographicQuery()
is false
optional
- This method must be implemented if
supportsRuledDemographicQuery()
is true.
void matchAnyRuledDemographic(boolean match)
match
- true
for enablers mapped to any
demographic, false
to match enablers mapped to
no demographicsmandatory
- This method must be implemented. void clearRuledDemographicTerms()
mandatory
- This method must be implemented. void matchBinId(Id binId, boolean match)
binId
- the bin Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- binId
is
null
mandatory
- This method must be implemented. void clearBinIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsBinQuery()
BinQuery
is available. true
if a bin query is available, false
otherwisemandatory
- This method must be implemented. BinQuery getBinQuery()
OR
term.UnimplementedException
- supportsBinQuery()
is false
optional
- This method must be implemented if
supportsBinQuery()
is true.
void clearBinTerms()
mandatory
- This method must be implemented. DemographicEnablerQueryRecord getDemographicEnablerQueryRecord(Type demographicEnablerRecordType) throws OperationFailedException
DemographicEnabler
record Type.
Multiple
record retrievals produce a nested OR
term.demographicEnablerRecordType
- a demographic enabler record typeNullArgumentException
-
demographicEnablerRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(demographicEnablerRecordType)
is
false
mandatory
- This method must be implemented.