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

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

MethodmatchRuledSupersedingEventId
Description

Matches enablers mapped to the superseding event.

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

Clears the superseding event Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsRuledSupersedingEventQuery
Description

Tests if an SupersedingEventQuery is available.

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

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

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

Matches enablers mapped to any supsreding event.

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

Clears the calendar 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.
MethodgetSupersedingEventEnablerQueryRecord
Description

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

Parametersosid.type.TypesupersedingEventEnablerRecordTypea superseding event enabler record type
Returnosid.calendaring.rules.records.SupersedingEventEnablerQueryRecordthe superseding event enabler query record
ErrorsNULL_ARGUMENT supersedingEventEnablerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(supersedingEventEnablerRecordType) is false
CompliancemandatoryThis method must be implemented.