Interface RecurringEventQuery
- All Superinterfaces:
Extensible, OsidBrowsableQuery, OsidContainableQuery, OsidExtensibleQuery, OsidIdentifiableQuery, OsidObjectQuery, OsidOperableQuery, OsidQuery, OsidRuleQuery, Suppliable
This is the query for searching recurring events. Each method match
request produces an AND term while multiple invocations of a
method produces a nested OR .
-
Method Summary
Modifier and TypeMethodDescriptionvoidClears the blackout terms.voidClears the blackout terms.voidClears the calendarIdterms.voidClears the calendar terms.voidClears the eventIdterms.voidClears the event terms.voidClears the scheduleIdterms.voidClears the schedule terms.voidClears the blackout terms.voidClears the sponsorIdterms.voidClears the sponsor terms.voidClears the superseding eventIdterms.voidClears the superseding event terms.Gets the query for a calendar.Gets the query for an event.getRecurringEventQueryRecord(Type recurringEventRecordType) Gets the recurring event query recod corresponding to the givenRecurringEventrecordType.Gets the query for a schedule.Gets the query for a sponsor.Gets the query for a superseding event.voidmatchAnyBlackout(boolean match) Matches a recurring event that has any blackout assigned.voidmatchAnyEvent(boolean match) Matches a recurring event that has any composed event assigned.voidmatchAnySchedule(boolean match) Matches a recurring event that has any schedule assigned.voidmatchAnySpecificMeetingTime(boolean match) Matches a recurring event that has any specific date assigned.voidmatchAnySupersedingEvent(boolean match) Matches a recurring event that has any superseding event assigned.voidmatchBlackout(DateTime datetime, boolean match) Matches a blackout that contains the given date time.voidmatchBlackoutInclusive(DateTime start, DateTime end, boolean match) Matches recurring events with blackouts between the given range inclusive.voidmatchCalendarId(Id calendarId, boolean match) Sets the calendarIdfor this query.voidmatchEventId(Id eventId, boolean match) Sets the composed eventIdfor this query.voidmatchScheduleId(Id scheduleId, boolean match) Sets the scheduleIdfor this query for matching schedules.voidmatchSpecificMeetingTime(DateTime start, DateTime end, boolean match) Matches recurring events with specific dates between the given range inclusive.voidmatchSponsorId(Id sponsorId, boolean match) Sets the sponsorIdfor this query.voidmatchSupersedingEventId(Id supersedingEventId, boolean match) Sets the superseding eventIdfor this query.booleanTests if aCalendarQueryis available for querying calendars.booleanTests if anEventQueryis available for querying composed events.booleanTests if aScheduleQueryis available for querying schedules.booleanTests if aLocationQueryis available for querying sponsors.booleanTests if aSupersedingEventQueryis available for querying superseding events.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeModifier and TypeMethodDescriptionGets the record types available in this object.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.Methods inherited from interface OsidContainableQuery
clearSequesteredTerms, matchSequesteredModifier and TypeMethodDescriptionvoidClears the sequestered query terms.voidmatchSequestered(boolean match) Match containables that are sequestered.Methods inherited from interface OsidExtensibleQuery
clearRecordTerms, matchAnyRecord, matchRecordTypeModifier and TypeMethodDescriptionvoidClears all recordTypeterms.voidmatchAnyRecord(boolean match) Matches an object that has any record.voidmatchRecordType(Type recordType, boolean match) Sets aTypefor querying objects having records implementing a given record type.Methods inherited from interface OsidIdentifiableQuery
clearIdTerms, matchIdModifier and TypeMethodDescriptionvoidClears allIdterms.voidAdds anIdto match.Methods inherited from interface OsidObjectQuery
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, supportsSubjectRelevancyQueryModifier and TypeMethodDescriptionvoidClears all commentIdterms.voidClears all comment terms.voidClears all creditIdterms.voidClears all credit terms.voidClears all description terms.voidClears all display name terms.voidClears all genus type terms.voidClears all journal entryIdterms.voidClears all journal entry terms.voidClears all genus type terms.voidClears all relationshipIdterms.voidClears all relationshipIdterms.voidClears all relationship terms.voidClears all stateIdterms.voidClears all state terms.voidClears all statistic terms.voidClears all subjectIdterms.voidClears all subject relevancy terms.voidClears all subject terms.Gets the query for a comment.Gets the query for an ackowledgement credit.Gets the query for a journal entry.Gets the query for relationship.Gets the query for a state.Gets the query for a statistic.Gets the query for a subject.Gets the query for a subject relevancy.voidmatchAnyComment(boolean match) Matches an object that has anyCommentin the givenBook.voidmatchAnyCredit(boolean match) Matches an object that has anyCredit.voidmatchAnyDescription(boolean match) Matches a description that has any value.voidmatchAnyDisplayName(boolean match) Matches any object with a display name.voidmatchAnyGenusType(boolean match) Matches an object that has any genus type.voidmatchAnyJournalEntry(boolean match) Matches an object that has anyJournalEntryin the givenJournal.voidmatchAnyRelationship(boolean match) Matches an object that has anyRelationship.voidmatchAnyState(boolean match) Matches an object that has any mapping to aStatein the givenProcess.voidmatchAnyStatistic(boolean match) Matches an object that has anyStatistic.voidmatchAnySubject(boolean match) Matches an object that has any relationship to aSubject.voidmatchCommentId(Id commentId, boolean match) Matches an object that has the given comment.voidmatchCreditId(Id creditId, boolean match) Matches an object that has the given credit.voidmatchDescription(String description, Type stringMatchType, boolean match) Adds a description name to match.voidmatchDisplayName(String displayName, Type stringMatchType, boolean match) Adds a display name to match.voidmatchGenusType(Type genusType, boolean match) Sets aTypefor querying objects of a given genus.voidmatchJournalEntryId(Id journalEntryId, boolean match) Matches an object that has the given journal entry.voidmatchParentGenusType(Type genusType, boolean match) Sets aTypefor querying objects of a given genus.voidmatchRelationshipId(Id relationshipId, boolean match) Matches an object that has the given relationship.voidmatchRelationshipPeerId(Id peerId, boolean match) Matches an object that has a relationship to the given peerId.voidmatchStateId(Id stateId, boolean match) Matches an object mapped to the given state.voidmatchSubjectId(Id subjectId, boolean match) Matches an object with a relationship to the given subject.booleanTests if aCommentQueryis available.booleanTests if aCreditQueryis available to provide queries of related acknowledgements.booleanTests if aJournalEntryis available to provide queries of journaledOsidObjects.booleanTests if aRelationshipQueryis available.booleanTests if aStateQueryis available to provide queries of processed objects.booleanTests if aStatisticQueryis available to provide statistical queries.booleanTests if aSubjectQueryis available.booleanTests if aRelevancyQueryis available to provide queries about the relationships toSubjects.Methods inherited from interface OsidOperableQuery
clearActiveTerms, clearDisabledTerms, clearEnabledTerms, clearOperationalTerms, matchActive, matchDisabled, matchEnabled, matchOperationalModifier and TypeMethodDescriptionvoidClears the active query terms.voidClears the administratively disabled query terms.voidClears the administratively enabled query terms.voidClears the operational query terms.voidmatchActive(boolean match) Matches active.voidmatchDisabled(boolean match) Matches administratively disabled.voidmatchEnabled(boolean match) Matches administratively enabled.voidmatchOperational(boolean match) Matches operational operables.Methods inherited from interface OsidQuery
clearAnyTerms, clearKeywordTerms, getStringMatchTypes, matchAny, matchKeyword, supportsStringMatchTypeModifier and TypeMethodDescriptionvoidClears the match any terms.voidClears all keyword terms.Gets the string matching types supported.voidmatchAny(boolean match) Matches any object.voidmatchKeyword(String keyword, Type stringMatchType, boolean match) Adds a keyword to match.booleansupportsStringMatchType(Type stringMatchType) Tests if the given string matching type is supported.Methods inherited from interface OsidRuleQuery
clearConditionRecordTypeTerms, clearRuleIdTerms, clearRuleTerms, getRuleQuery, matchAnyConditionRecordType, matchAnyRule, matchConditionRecordType, matchRuleId, supportsRuleQueryModifier and TypeMethodDescriptionvoidClears the condition recordTypequery terms.voidClears all ruleIdterms.voidClears all rule terms.getRuleQuery(boolean match) Gets the query for the rule.voidmatchAnyConditionRecordType(boolean match) Matches rules with any condition record type.voidmatchAnyRule(boolean match) Match any associated rule.voidmatchConditionRecordType(Type conditionRecordType, boolean match) Matches a condition record type.voidmatchRuleId(Id ruleId, boolean match) Match theIdof the rule.booleanTests if aRuleQueryfor the rule is available.
-
Method Details
-
matchScheduleId
Sets the scheduleIdfor this query for matching schedules.- Parameters:
scheduleId- a scheduleIdmatch-truefor a positive match,falsefor a negative match- Throws:
NullArgumentException-scheduleIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearScheduleIdTerms
void clearScheduleIdTerms()Clears the scheduleIdterms.- Compliance:
mandatory- This method must be implemented.
-
supportsScheduleQuery
boolean supportsScheduleQuery()Tests if aScheduleQueryis available for querying schedules.- Returns:
trueif a schedule query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getScheduleQuery
ScheduleQuery getScheduleQuery()Gets the query for a schedule. Multiple retrievals produce a nestedORterm.- Returns:
- the schedule query
- Throws:
UnimplementedException-supportsScheduleQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsScheduleQuery()} is {@code true} .
-
matchAnySchedule
void matchAnySchedule(boolean match) Matches a recurring event that has any schedule assigned.- Parameters:
match-trueto match recurring events with any schedules,falseto match recurring events with no schedules- Compliance:
mandatory- This method must be implemented.
-
clearScheduleTerms
void clearScheduleTerms()Clears the schedule terms.- Compliance:
mandatory- This method must be implemented.
-
matchSupersedingEventId
Sets the superseding eventIdfor this query.- Parameters:
supersedingEventId- a superseding eventIdmatch-truefor a positive match,falsefor a negative match- Throws:
NullArgumentException-supersedingEventIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearSupersedingEventIdTerms
void clearSupersedingEventIdTerms()Clears the superseding eventIdterms.- Compliance:
mandatory- This method must be implemented.
-
supportsSupersedingEventQuery
boolean supportsSupersedingEventQuery()Tests if aSupersedingEventQueryis available for querying superseding events.- Returns:
trueif a superseding event query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getSupersedingEventQuery
SupersedingEventQuery getSupersedingEventQuery()Gets the query for a superseding event. Multiple retrievals produce a nestedORterm.- Returns:
- the superseding event query
- Throws:
UnimplementedException-supportsSupersedingEventQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSupersedingEventQuery()} is {@code true} .
-
matchAnySupersedingEvent
void matchAnySupersedingEvent(boolean match) Matches a recurring event that has any superseding event assigned.- Parameters:
match-trueto match recurring events with any superseding events,falseto match events with no superseding events- Compliance:
mandatory- This method must be implemented.
-
clearSupersedingEventTerms
void clearSupersedingEventTerms()Clears the superseding event terms.- Compliance:
mandatory- This method must be implemented.
-
matchSpecificMeetingTime
Matches recurring events with specific dates between the given range inclusive.- Parameters:
start- start dateend- end datematch-truefor a positive match,falsefor a negative match- Throws:
InvalidArgumentException-endis less thanstartNullArgumentException-startorendiszero- Compliance:
mandatory- This method must be implemented.
-
matchAnySpecificMeetingTime
void matchAnySpecificMeetingTime(boolean match) Matches a recurring event that has any specific date assigned.- Parameters:
match-trueto match recurring events with any specific date,falseto match recurring events with no specific date- Compliance:
mandatory- This method must be implemented.
-
clearSpecificMeetingTimeTerms
void clearSpecificMeetingTimeTerms()Clears the blackout terms.- Compliance:
mandatory- This method must be implemented.
-
matchEventId
Sets the composed eventIdfor this query.- Parameters:
eventId- an eventIdmatch-truefor a positive match,falsefor a negative match- Throws:
NullArgumentException-eventIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearEventIdTerms
void clearEventIdTerms()Clears the eventIdterms.- Compliance:
mandatory- This method must be implemented.
-
supportsEventQuery
boolean supportsEventQuery()Tests if anEventQueryis available for querying composed events.- Returns:
trueif an event query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getEventQuery
EventQuery getEventQuery()Gets the query for an event. Multiple retrievals produce a nestedORterm.- Returns:
- the event query
- Throws:
UnimplementedException-supportsEventQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEventQuery()} is {@code true} .
-
matchAnyEvent
void matchAnyEvent(boolean match) Matches a recurring event that has any composed event assigned.- Parameters:
match-trueto match recurring events with any composed events,falseto match events with no composed events- Compliance:
mandatory- This method must be implemented.
-
clearEventTerms
void clearEventTerms()Clears the event terms.- Compliance:
mandatory- This method must be implemented.
-
matchBlackout
Matches a blackout that contains the given date time.- Parameters:
datetime- a datetimematch-truefor a positive match,falsefor a negative match- Throws:
NullArgumentException-datetimeisnull- Compliance:
mandatory- This method must be implemented.
-
matchAnyBlackout
void matchAnyBlackout(boolean match) Matches a recurring event that has any blackout assigned.- Parameters:
match-trueto match recurring events with any blackout,falseto match recurring events with no blackout- Compliance:
mandatory- This method must be implemented.
-
clearBlackoutTerms
void clearBlackoutTerms()Clears the blackout terms.- Compliance:
mandatory- This method must be implemented.
-
matchBlackoutInclusive
Matches recurring events with blackouts between the given range inclusive.- Parameters:
start- start dateend- end datematch-truefor a positive match,falsefor a negative match- Throws:
InvalidArgumentException-endis less thanstartNullArgumentException-startorendiszero- Compliance:
mandatory- This method must be implemented.
-
clearBlackoutInclusiveTerms
void clearBlackoutInclusiveTerms()Clears the blackout terms.- Compliance:
mandatory- This method must be implemented.
-
matchSponsorId
Sets the sponsorIdfor this query.- Parameters:
sponsorId- a sponsorIdmatch-truefor a positive match,falsefor a negative match- Throws:
NullArgumentException-sponsorIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearSponsorIdTerms
void clearSponsorIdTerms()Clears the sponsorIdterms.- Compliance:
mandatory- This method must be implemented.
-
supportsSponsorQuery
boolean supportsSponsorQuery()Tests if aLocationQueryis available for querying sponsors.- Returns:
trueif a sponsor query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getSponsorQuery
ResourceQuery getSponsorQuery()Gets the query for a sponsor. Multiple retrievals produce a nestedORterm.- Returns:
- the sponsor query
- Throws:
UnimplementedException-supportsSponsorQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSponsorQuery()} is {@code true} .
-
clearSponsorTerms
void clearSponsorTerms()Clears the sponsor terms.- Compliance:
mandatory- This method must be implemented.
-
matchCalendarId
Sets the calendarIdfor this query.- Parameters:
calendarId- a calendarIdmatch-truefor a positive match,falsefor a negative match- Throws:
NullArgumentException-calendarIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearCalendarIdTerms
void clearCalendarIdTerms()Clears the calendarIdterms.- Compliance:
mandatory- This method must be implemented.
-
supportsCalendarQuery
boolean supportsCalendarQuery()Tests if aCalendarQueryis available for querying calendars.- Returns:
trueif a calendar query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getCalendarQuery
CalendarQuery getCalendarQuery()Gets the query for a calendar. Multiple retrievals produce a nestedORterm.- Returns:
- the calendar query
- Throws:
UnimplementedException-supportsCalendarQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCalendarQuery()} is {@code true} .
-
clearCalendarTerms
void clearCalendarTerms()Clears the calendar terms.- Compliance:
mandatory- This method must be implemented.
-
getRecurringEventQueryRecord
RecurringEventQueryRecord getRecurringEventQueryRecord(Type recurringEventRecordType) throws OperationFailedException Gets the recurring event query recod corresponding to the givenRecurringEventrecordType. Multiple retrievals produce a nestedORterm.- Parameters:
recurringEventRecordType- a recurring event query record type- Returns:
- the recurring event query record
- Throws:
NullArgumentException-recurringEventRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(recurringEventRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-