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

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

MethodmatchRuledOffsetEventId
Description

Matches enablers mapped to the offset event.

Parametersosid.id.IdoffsetEventIdthe offset event Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT offsetEventId is null
CompliancemandatoryThis method must be implemented.
MethodclearRuledOffsetEventIdTerms
Description

Clears the offset event Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsRuledOffsetEventQuery
Description

Tests if an OffsetEventQuery is available.

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

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

Returnosid.calendaring.OffsetEventQuerythe offset event query
ErrorsUNIMPLEMENTED supportsRuledOffsetEventQuery() is false
ComplianceoptionalThis method must be implemented if supportsRuledOffsetEventQuery() is true.
MethodmatchAnyRuledOffsetEvent
Description

Matches enablers mapped to any offset event.

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

Clears the offset 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.
MethodgetOffsetEventEnablerQueryRecord
Description

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

Parametersosid.type.TypeoffsetEventEnablerRecordTypean offset event enabler record type
Returnosid.calendaring.rules.records.OffsetEventEnablerQueryRecordthe offset event enabler query record
ErrorsNULL_ARGUMENT offsetEventEnablerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(offsetEventEnablerRecordType) is false
CompliancemandatoryThis method must be implemented.