public interface OsidEnablerQuery extends OsidRuleQuery, OsidTemporalQuery
This is the query interface for searching enablers. Each method
specifies an AND term while multiple invocations of the
same method produce a nested OR.
| Modifier and Type | Method and Description |
|---|---|
void |
clearCyclicEventIdTerms()
Clears the cyclic event
Id query terms. |
void |
clearCyclicEventTerms()
Clears the cyclic event query terms.
|
void |
clearDemographicIdTerms()
Clears all resource
Id terms. |
void |
clearDemographicTerms()
Clears all demographic terms.
|
void |
clearEventIdTerms()
Clears all event
Id terms. |
void |
clearEventTerms()
Clears all recurirng event terms.
|
void |
clearScheduleIdTerms()
Clears all schedule
Id terms. |
void |
clearScheduleTerms()
Clears all schedule terms.
|
CyclicEventQuery |
getCyclicEventQuery()
Gets the query for a cyclic event.
|
ResourceQuery |
getDemographicQuery(boolean match)
Gets the query for the resource.
|
EventQuery |
getEventQuery(boolean match)
Gets the query for the event.
|
ScheduleQuery |
getScheduleQuery(boolean match)
Gets the query for the schedule.
|
void |
matchAnyCyclicEvent(boolean match)
Matches any enabler with a cyclic event.
|
void |
matchAnyDemographic(boolean match)
Match any associated resource.
|
void |
matchAnyEvent(boolean match)
Match any associated event.
|
void |
matchAnySchedule(boolean match)
Match any associated schedule.
|
void |
matchCyclicEventId(Id cyclicEventId,
boolean match)
Sets the cyclic event
Id for this query. |
void |
matchDemographicId(Id resourceId,
boolean match)
Match the
Id of the demographic resource. |
void |
matchEventId(Id eventId,
boolean match)
Match the
Id of an associated event. |
void |
matchScheduleId(Id scheduleId,
boolean match)
Match the
Id of an associated schedule. |
boolean |
supportsCyclicEventQuery()
Tests if a
CyclicEventQuery is available. |
boolean |
supportsDemographicQuery()
Tests if a
ResourceQuery for the demographic is
available. |
boolean |
supportsEventQuery()
Tests if a
EventQuery for the rule is available. |
boolean |
supportsScheduleQuery()
Tests if a
ScheduleQuery for the rule 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, matchOperationalclearDateTerms, clearEffectiveTerms, clearEndDateTerms, clearStartDateTerms, matchAnyEndDate, matchAnyStartDate, matchDate, matchEffective, matchEndDate, matchStartDatevoid matchScheduleId(Id scheduleId, boolean match)
Id of an associated schedule.scheduleId - Id to matchmatch - true if for a positive match,
false for a negative matchNullArgumentException - scheduleId is
null mandatory - This method must be implemented. void clearScheduleIdTerms()
Id terms.mandatory - This method must be implemented. boolean supportsScheduleQuery()
ScheduleQuery for the rule is available. true if a schedule query is available,
false otherwisemandatory - This method must be implemented. ScheduleQuery getScheduleQuery(boolean match)
OR. match - true if for a positive match,
false for a negative matchUnimplementedException - supportsScheduleQuery()
is false optional - This method must be implemented if
supportsScheduleQuery() is true. void matchAnySchedule(boolean match)
match - true to match any schedule, false
to match no schedulesmandatory - This method must be implemented. void clearScheduleTerms()
mandatory - This method must be implemented. void matchEventId(Id eventId, boolean match)
Id of an associated event.eventId - Id to matchmatch - true if for a positive match,
false for a negative matchNullArgumentException - eventId is
null mandatory - This method must be implemented. void clearEventIdTerms()
Id terms.mandatory - This method must be implemented. boolean supportsEventQuery()
EventQuery for the rule is available. true if an event query is available,
false otherwisemandatory - This method must be implemented. EventQuery getEventQuery(boolean match)
OR. match - true if for a positive match,
false for a negative matchUnimplementedException - supportsEventQuery()
is false optional - This method must be implemented if
supportsEventQuery() is true. void matchAnyEvent(boolean match)
match - true to match any event, false
to match no eventsmandatory - This method must be implemented. void clearEventTerms()
mandatory - This method must be implemented. void matchCyclicEventId(Id cyclicEventId, boolean match)
Id for this query.cyclicEventId - the cyclic event Id match - true for a positive match, false
for a negative matchNullArgumentException - cyclicEventId is
null mandatory - This method must be implemented. void clearCyclicEventIdTerms()
Id query terms.mandatory - This method must be implemented. boolean supportsCyclicEventQuery()
CyclicEventQuery is available. true if a cyclic event query is available,
false otherwisemandatory - This method must be implemented. CyclicEventQuery getCyclicEventQuery()
OR term.UnimplementedException -
supportsCyclicEventQuery() is false optional - This method must be implemented if
supportsCyclicEventQuery() is true. void matchAnyCyclicEvent(boolean match)
match - true to match any enablers with a cyclic
event, false to match enablers with no cyclic
eventsmandatory - This method must be implemented. void clearCyclicEventTerms()
mandatory - This method must be implemented. void matchDemographicId(Id resourceId, boolean match)
Id of the demographic resource.resourceId - Id to matchmatch - true if for a positive match,
false for a negative matchNullArgumentException - resourceId is
null mandatory - This method must be implemented. void clearDemographicIdTerms()
Id terms.mandatory - This method must be implemented. boolean supportsDemographicQuery()
ResourceQuery for the demographic is
available. true if a resource query is available,
false otherwisemandatory - This method must be implemented. ResourceQuery getDemographicQuery(boolean match)
OR. match - true if for a positive match,
false for a negative matchUnimplementedException - supportsResourceQuery()
is false optional - This method must be implemented if
supportsResourceQuery() is true. void matchAnyDemographic(boolean match)
match - true to match any demographic,
false to match no rulesmandatory - This method must be implemented. void clearDemographicTerms()
mandatory - This method must be implemented.