OSID Logo
OSID Specifications
calendaring package
Version 3.1.0
Interfaceosid.calendaring.SupersedingEventQuery
Implementsosid.OsidRuleQuery
Used Byosid.calendaring.EventQuery
osid.calendaring.RecurringEventQuery
osid.calendaring.SupersedingEventQuerySession
osid.calendaring.SupersedingEventSearchSession
osid.calendaring.SupersedingEventSmartCalendarSession
osid.calendaring.rules.SupersedingEventEnablerQuery
Description

This is the query for searching superseding events. Each method match request produces an AND term while multiple invocations of a method produces a nested OR.

MethodmatchSupersededEventId
Description

Sets the event Id for this query for matching attached events.

Parametersosid.id.IdeventId an event Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT eventId is null
Compliancemandatory This method must be implemented.
MethodclearSupersededEventIdTerms
Description

Clears the event Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsSupersededEventQuery
Description

Tests if an EventQuery is available for querying attached events.

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

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

Returnosid.calendaring.EventQuery the event query
ErrorsUNIMPLEMENTED supportsSupersededEventQuery() is false
Complianceoptional This method must be implemented if supportsSupersededEventQuery() is true.
MethodclearSupersededEventTerms
Description

Clears the event terms.

Compliancemandatory This method must be implemented.
MethodmatchSupersedingEventId
Description

Sets the superseding event Id for this query.

Parametersosid.id.IdsupersedingEventId a 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.
MethodclearSupersedingEventIdTerms
Description

Clears the superseding event Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsSupersedingEventQuery
Description

Tests if a SupersedingEventQuery is available.

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

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

Returnosid.calendaring.EventQuery the superseding event query
ErrorsUNIMPLEMENTED supportsSupersedingEventQuery() is false
Complianceoptional This method must be implemented if supportsSupersedingEventQuery() is true.
MethodclearSupersedingEventTerms
Description

Clears the superseding event terms.

Compliancemandatory This method must be implemented.
MethodmatchSupersededDate
Description

Matches superseding events that supersede within the given dates inclusive.

Parametersosid.calendaring.DateTimefrom start date
osid.calendaring.DateTimeto end date
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT from is greater than to
NULL_ARGUMENT from or to is null
Compliancemandatory This method must be implemented.
MethodmatchAnySupersededDate
Description

Matches a superseding event that has any superseded date.

Parametersbooleanmatch true to match superseding events with any superseded date, false to match superseding events with no superseded date
Compliancemandatory This method must be implemented.
MethodclearSupersededDateTerms
Description

Clears the superseded date terms.

Compliancemandatory This method must be implemented.
MethodmatchSupersededEventPosition
Description

Matches superseding events that supersede within the denormalized event positions inclusive.

Parametersintegerfrom start position
integerto end position
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT the absolute value of from is greater than to
Compliancemandatory This method must be implemented.
MethodmatchAnySupersededEventPosition
Description

Matches a superseding event that has any superseded position.

Parametersbooleanmatch true to match superseding events with any superseded event position, false to match superseding events with no superseded event position
Compliancemandatory This method must be implemented.
MethodclearSupersededEventPositionTerms
Description

Clears the superseded position terms.

Compliancemandatory This method must be implemented.
MethodmatchCalendarId
Description

Sets the calendar Id for this query.

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

Compliancemandatory This method must be implemented.
MethodsupportsCalendarQuery
Description

Tests if a CalendarQuery is available for querying calendars.

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

Compliancemandatory This method must be implemented.
MethodgetSupersedingEventQueryRecord
Description

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

Parametersosid.type.TypesupersedingEventRecordType a superseding event query record type
Returnosid.calendaring.records.SupersedingEventQueryRecord the superseding event query record
ErrorsNULL_ARGUMENT supersedingEventRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(supersedingEventRecordType) is false
Compliancemandatory This method must be implemented.