OSID Logo
OSID Specifications
calendaring package
Version 3.1.0
Interfaceosid.calendaring.SupersedingEventCalendarSession
Implementsosid.OsidSession
Used Byosid.calendaring.CalendaringManager
osid.calendaring.CalendaringProxyManager
Description

This session provides methods to retrieve SupersedingEvent to Calendar mappings. A SupersedingEvent may appear in multiple Calendars. Each Calendar may have its own authorizations governing who is allowed to look at it.

This lookup session defines two views:

  • comparative view: elements may be silently omitted or re-ordered
  • plenary view: provides a complete result set or is an error condition
  • normalized event view: a single superseding event is used to represent a series of events
  • denormalized view: superseding events are expanded into individual events
MethodcanLookupSupersedingEventCalendarMappings
Description

Tests if this user can perform lookups of superseding event/calendar mappings. A return of true does not guarantee successful authorization. A return of false indicates that it is known lookup methods in this session will result in a PERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer lookup operations to unauthorized users.

Returnboolean false if looking up mappings is not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethoduseComparativeCalendarView
Description

The returns from the lookup methods may omit or translate elements based on this session, such as authorization, and not result in an error. This view is used when greater interoperability is desired at the expense of precision.

Compliancemandatory This method is must be implemented.
MethodusePlenaryCalendarView
Description

A complete view of the Event and Calendar returns is desired. Methods will return what is requested or result in an error. This view is used when greater precision is desired at the expense of interoperability.

Compliancemandatory This method is must be implemented.
MethodgetSupersedingEventIdsByCalendar
Description

Gets the list of SupersedingEvent Ids associated with a Calendar.

Parametersosid.id.IdcalendarId Id of the Calendar
Returnosid.id.IdList list of related superseding event Ids
ErrorsNOT_FOUND calendarId is not found
NULL_ARGUMENT calendarId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodgetSupersedingEventsByCalendar
Description

Gets the list of SupersedingEvents associated with a Calendar.

Parametersosid.id.IdcalendarId Id of the Calendar
Returnosid.calendaring.SupersedingEventList list of related superseding events
ErrorsNOT_FOUND calendarId is not found
NULL_ARGUMENT calendarId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodgetSupersedingEventIdsByCalendars
Description

Gets the list of SupersedingEventIds corresponding to a list of Calendars.

Parametersosid.id.IdListcalendarIds list of calendar Ids
Returnosid.id.IdList list of superseding event Ids
ErrorsNULL_ARGUMENT calendarIds is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodgetSupersedingEventsByCalendars
Description

Gets the list of SupersedingEvents corresponding to a list of Calendars.

Parametersosid.id.IdListcalendarIds list of calendar Ids
Returnosid.calendaring.SupersedingEventList list of superseding events
ErrorsNULL_ARGUMENT calendarIds is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodgetSupersedingIdsByRecurringEvent
Description

Gets the list of Calendar Ids mapped to a SupersedingEvent .

Parametersosid.id.IdsupersedingEventId Id of a SupersedingEvent
Returnosid.id.IdList list of calendar Ids
ErrorsNOT_FOUND supersedingEventId is not found
NULL_ARGUMENT supesredingEventId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodgetCalendarsBySupersedingEvent
Description

Gets the list of Calendars mapped to a SupersedingEvent.

Parametersosid.id.IdsupersedingEventId Id of a SupersedingEvent
Returnosid.calendaring.CalendarList list of calendar
ErrorsNOT_FOUND supersedingEventId is not found
NULL_ARGUMENT supesredingEventId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.