OSID Logo
OSID Specifications
calendaring cycle package
Version 3.1.0
Interfaceosid.calendaring.cycle.CyclicEventQuery
Implementsosid.OsidObjectQuery
Used Byosid.OsidEnablerQuery
osid.calendaring.cycle.CyclicEventQuerySession
osid.calendaring.cycle.CyclicEventSearchSession
osid.calendaring.cycle.CyclicEventSmartCalendarSession
osid.checklist.mason.TodoProducerQuery
osid.rules.check.CheckQuery
Description

This is the query for searching cyclic events. Each method match request produces an AND term while multiple invocations of a method produces a nested OR.

MethodmatchEventId
Description

Matches cyclic events that are related to the given event.

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

Clears the event terms.

Compliancemandatory This method must be implemented.
MethodsupportsEventQuery
Description

Tests if an EventQuery is available.

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

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

Returnosid.calendaring.EventQuery the event query
ErrorsUNIMPLEMENTED supportsEventQuery() is false
Complianceoptional This method must be implemented if supportsEventQuery() is true.
MethodmatchAnyEvent
Description

Matches a cyclic event that has any related event.

Parametersbooleanmatch true to match cyclic events with any event, false to match cyclic events with no related events
Compliancemandatory This method must be implemented.
MethodclearEventTerms
Description

Clears the event terms.

Compliancemandatory This method must be implemented.
MethodmatchCalendarId
Description

Sets the calendar Id for this query.

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

Clears the calendar Id terms.

Compliancemandatory This 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
Compliancemandatory This method must be implemented.
MethodgetCalendarQuery
Description

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

Returnosid.calendaring.CalendarQuery the calendar query
ErrorsUNIMPLEMENTED supportsCalendarQuery() is false
Complianceoptional This method must be implemented if supportsCalendarQuery() is true.
MethodclearCalendarTerms
Description

Clears the calendar terms.

Compliancemandatory This method must be implemented.
MethodgetCyclicEventQueryRecord
Description

Gets the cyclic event query record corresponding to the given CyclicEvent record Type. Multiple retrievals produce a nested OR term.

Parametersosid.type.TypecyclicEventRecordType a cyclic event query record type
Returnosid.calendaring.cycle.records.CyclicEventQueryRecord the cyclic event query record
ErrorsNULL_ARGUMENT cyclicEventRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(cyclicEventRecordType) is false
Compliancemandatory This method must be implemented.