OSID Logo
OSID Specifications
calendaring package
Version 3.0.0
Release Candidate Preview
Interfaceosid.calendaring.RecurringEventQuery
Implementsosid.OsidRuleQuery
osid.OsidContainableQuery
Description

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.

MethodmatchScheduleId
Description

Sets the schedule Id for this query for matching schedules.

Parametersosid.id.IdscheduleIda schedule Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT scheduleId is null
CompliancemandatoryThis method must be implemented.
MethodclearScheduleIdTerms
Description

Clears the schedule Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsScheduleQuery
Description

Tests if a ScheduleQuery is available for querying schedules.

Returnboolean true if a schedule query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetScheduleQuery
Description

Gets the query for a schedule. Multiple retrievals produce a nested OR term.

Returnosid.calendaring.ScheduleQuerythe schedule query
ErrorsUNIMPLEMENTED supportsScheduleQuery() is false
ComplianceoptionalThis method must be implemented if supportsScheduleQuery() is true.
MethodmatchAnySchedule
Description

Matches a recurring event that has any schedule assigned.

Parametersbooleanmatch true to match recurring events with any schedules, false to match recurring events with no schedules
CompliancemandatoryThis method must be implemented.
MethodclearScheduleTerms
Description

Clears the schedule terms.

CompliancemandatoryThis method must be implemented.
MethodmatchSupersedingEventId
Description

Sets the superseding event Id for this query.

Parametersosid.id.IdsupersedingEventIda superseding event Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT supersedingEventId is null
CompliancemandatoryThis method must be implemented.
MethodclearSupersedingEventIdTerms
Description

Clears the superseding event Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsSupersedingEventQuery
Description

Tests if a SupersedingEventQuery is available for querying superseding events.

Returnboolean true if a superseding event query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetSupersedingEventQuery
Description

Gets the query for a superseding event. Multiple retrievals produce a nested OR term.

Returnosid.calendaring.SupersedingEventQuerythe superseding event query
ErrorsUNIMPLEMENTED supportsSupersedingEventQuery() is false
ComplianceoptionalThis method must be implemented if supportsSupersedingEventQuery() is true.
MethodmatchAnySupersedingEvent
Description

Matches a recurring event that has any superseding event assigned.

Parametersbooleanmatch true to match recurring events with any superseding events, false to match events with no superseding events
CompliancemandatoryThis method must be implemented.
MethodclearSupersedingEventTerms
Description

Clears the superseding event terms.

CompliancemandatoryThis method must be implemented.
MethodmatchSpecificMeetingTime
Description

Matches recurring events with specific dates between the given range inclusive.

Parametersosid.calendaring.DateTimestartstart date
osid.calendaring.DateTimeendend date
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT end is less than start
NULL_ARGUMENT start or end is zero
CompliancemandatoryThis method must be implemented.
MethodmatchAnySpecificMeetingTime
Description

Matches a recurring event that has any specific date assigned.

Parametersbooleanmatch true to match recurring events with any specific date, false to match recurring events with no specific date
CompliancemandatoryThis method must be implemented.
MethodclearSpecificMeetingTimeTerms
Description

Clears the blackout terms.

CompliancemandatoryThis method must be implemented.
MethodmatchEventId
Description

Sets the composed event Id for this query.

Parametersosid.id.IdeventIdan event Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT eventId is null
CompliancemandatoryThis method must be implemented.
MethodclearEventIdTerms
Description

Clears the event Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsEventQuery
Description

Tests if an EventQuery is available for querying composed events.

Returnboolean true if an event query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetEventQuery
Description

Gets the query for an event. Multiple retrievals produce a nested OR term.

Returnosid.calendaring.EventQuerythe event query
ErrorsUNIMPLEMENTED supportsEventQuery() is false
ComplianceoptionalThis method must be implemented if supportsEventQuery() is true.
MethodmatchAnyEvent
Description

Matches a recurring event that has any composed event assigned.

Parametersbooleanmatch true to match recurring events with any composed events, false to match events with no composed events
CompliancemandatoryThis method must be implemented.
MethodclearEventTerms
Description

Clears the event terms.

CompliancemandatoryThis method must be implemented.
MethodmatchBlackout
Description

Matches a blackout that contains the given date time.

Parametersosid.calendaring.DateTimedatetimea datetime
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT datetime is null
CompliancemandatoryThis method must be implemented.
MethodmatchAnyBlackout
Description

Matches a recurring event that has any blackout assigned.

Parametersbooleanmatch true to match recurring events with any blackout, false to match recurring events with no blackout
CompliancemandatoryThis method must be implemented.
MethodclearBlackoutTerms
Description

Clears the blackout terms.

CompliancemandatoryThis method must be implemented.
MethodmatchBlackoutInclusive
Description

Matches recurring events with blackouts between the given range inclusive.

Parametersosid.calendaring.DateTimestartstart date
osid.calendaring.DateTimeendend date
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT end is less than start
NULL_ARGUMENT start or end is zero
CompliancemandatoryThis method must be implemented.
MethodclearBlackoutInclusiveTerms
Description

Clears the blackout terms.

CompliancemandatoryThis method must be implemented.
MethodmatchSponsorId
Description

Sets the sponsor Id for this query.

Parametersosid.id.IdsponsorIda sponsor Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT sponsorId is null
CompliancemandatoryThis method must be implemented.
MethodclearSponsorIdTerms
Description

Clears the sponsor Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsSponsorQuery
Description

Tests if a LocationQuery is available for querying sponsors.

Returnboolean true if a sponsor query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetSponsorQuery
Description

Gets the query for a sponsor. Multiple retrievals produce a nested OR term.

Returnosid.resource.ResourceQuerythe sponsor query
ErrorsUNIMPLEMENTED supportsSponsorQuery() is false
ComplianceoptionalThis method must be implemented if supportsSponsorQuery() is true.
MethodclearSponsorTerms
Description

Clears the sponsor terms.

CompliancemandatoryThis method must be implemented.
MethodmatchCalendarId
Description

Sets the calendar Id for this query.

Parametersosid.id.IdcalendarIda calendar Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT calendarId is null
CompliancemandatoryThis method must be implemented.
MethodclearCalendarIdTerms
Description

Clears the calendar Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsCalendarQuery
Description

Tests if a CalendarQuery is available for querying calendars.

Returnboolean true if a calendar query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetCalendarQuery
Description

Gets the query for a calendar. Multiple retrievals produce a nested OR term.

Returnosid.calendaring.CalendarQuerythe calendar query
ErrorsUNIMPLEMENTED supportsCalendarQuery() is false
ComplianceoptionalThis method must be implemented if supportsCalendarQuery() is true.
MethodclearCalendarTerms
Description

Clears the calendar terms.

CompliancemandatoryThis method must be implemented.
MethodgetRecurringEventQueryRecord
Description

Gets the recurring event query recod corresponding to the given RecurringEvent record Type. Multiple retrievals produce a nested OR term.

Parametersosid.type.TyperecurringEventRecordTypea recurring event query record type
Returnosid.calendaring.records.RecurringEventQueryRecordthe recurring event query record
ErrorsNULL_ARGUMENT recurringEventRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(recurringEventRecordType) is false
CompliancemandatoryThis method must be implemented.