OSID Logo
OSID Specifications
calendaring rules package
Version 3.0.0
Release Candidate Preview
Interfaceosid.calendaring.rules.RecurringEventEnablerQuery
Implementsosid.OsidEnablerQuery
Description

This is the query for searching recurring event enablers. Each method match specifies an AND term while multiple invocations of the same method produce a nested OR.

MethodmatchRuledRecurringEventId
Description

Matches enablers mapped to the recurring event.

Parametersosid.id.IdrecurringEventIdthe recurring event Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT recurringEventId is null
CompliancemandatoryThis method must be implemented.
MethodclearRuledRecurringEventIdTerms
Description

Clears the recurring event Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsRuledRecurringEventQuery
Description

Tests if a RecurringEventQuery is available.

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

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

Returnosid.calendaring.RecurringEventQuerythe recurring event query
ErrorsUNIMPLEMENTED supportsRuledRecurringEventQuery() is false
ComplianceoptionalThis method must be implemented if supportsRuledRecurringEventQuery() is true.
MethodmatchAnyRuledRecurringEvent
Description

Matches enablers mapped to any recurring event.

Parametersbooleanmatch true for enablers mapped to any recurring event, false to match enablers mapped to no recurring events
CompliancemandatoryThis method must be implemented.
MethodclearRuledRecurringEventTerms
Description

Clears the recurring event query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchCalendarId
Description

Matches enablers mapped to the calendar.

Parametersosid.id.IdcalendarIdthe 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 query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsCalendarQuery
Description

Tests if a CalendarQuery is available.

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 query terms.

CompliancemandatoryThis method must be implemented.
MethodgetRecurringEventEnablerQueryRecord
Description

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

Parametersosid.type.TyperecurringEventEnablerRecordTypea recurring event enabler record type
Returnosid.calendaring.rules.records.RecurringEventEnablerQueryRecordthe recurring event enabler query record
ErrorsNULL_ARGUMENT recurringEventEnablerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(recurringEventEnablerRecordType) is false
CompliancemandatoryThis method must be implemented.