OSID Logo
OSID Specifications
calendaring rules package
Version 3.1.0
Interfaceosid.calendaring.rules.SupersedingEventEnablerQuery
Implementsosid.OsidEnablerQuery
Used Byosid.calendaring.rules.SupersedingEventEnablerQuerySession
osid.calendaring.rules.SupersedingEventEnablerSearchSession
osid.calendaring.rules.SupersedingEventEnablerSmartCalendarSession
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.IdsupersedingEventId the superseding event Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT supersedingEventId is null
Compliancemandatory This method must be implemented.
MethodclearRuledSupersedingEventIdTerms
Description

Clears the superseding event Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsRuledSupersedingEventQuery
Description

Tests if an SupersedingEventQuery is available.

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

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

Returnosid.calendaring.SupersedingEventQuery the superseding event query
ErrorsUNIMPLEMENTED supportsRuledSupersedingEventQuery() is false
Complianceoptional This 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
Compliancemandatory This method must be implemented.
MethodclearRuledSupersedingEventTerms
Description

Clears the calendar 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.
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.TypesupersedingEventEnablerRecordType a superseding event enabler record type
Returnosid.calendaring.rules.records.SupersedingEventEnablerQueryRecord the superseding event enabler query record
ErrorsNULL_ARGUMENT supersedingEventEnablerRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(supersedingEventEnablerRecordType) is false
Compliancemandatory This method must be implemented.