OSID Logo
OSID Specifications
calendaring rules package
Version 3.1.0
Interfaceosid.calendaring.rules.OffsetEventEnablerQuery
Implementsosid.OsidEnablerQuery
Used Byosid.calendaring.rules.OffsetEventEnablerQuerySession
osid.calendaring.rules.OffsetEventEnablerSearchSession
osid.calendaring.rules.OffsetEventEnablerSmartCalendarSession
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.IdoffsetEventId the offset event Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT offsetEventId is null
Compliancemandatory This method must be implemented.
MethodclearRuledOffsetEventIdTerms
Description

Clears the offset event Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsRuledOffsetEventQuery
Description

Tests if an OffsetEventQuery is available.

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

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

Returnosid.calendaring.OffsetEventQuery the offset event query
ErrorsUNIMPLEMENTED supportsRuledOffsetEventQuery() is false
Complianceoptional This 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
Compliancemandatory This method must be implemented.
MethodclearRuledOffsetEventTerms
Description

Clears the offset event query terms.

Compliancemandatory This method must be implemented.
MethodmatchCalendarId
Description

Matches enablers mapped to the calendar.

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

Compliancemandatory This method must be implemented.
MethodsupportsCalendarQuery
Description

Tests if a CalendarQuery is available.

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

Compliancemandatory This 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.TypeoffsetEventEnablerRecordType an offset event enabler record type
Returnosid.calendaring.rules.records.OffsetEventEnablerQueryRecord the offset event enabler query record
ErrorsNULL_ARGUMENT offsetEventEnablerRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(offsetEventEnablerRecordType) is false
Compliancemandatory This method must be implemented.