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

This session manages queries and sequencing to create "smart" dynamic catalogs. A SupersedingEventQuery can be retrieved from this session and mapped to this Calendar to create a virtual collection of SupersedingEvents. The entries may be sequenced using the SupersedingEventSearchOrder from this session.

This Calendar has a default query that matches any superseding event and a default search order that specifies no sequencing. The queries may be examined using a SupersedingEventQueryInspector. The query may be modified by converting the inspector back to a SupersedingEventQuery.

MethodgetCalendarId
Description

Gets the Calendar Id associated with this session.

Returnosid.id.Id the Calendar Id associated with this session
Compliancemandatory This method must be implemented.
MethodgetCalendar
Description

Gets the Calendar associated with this session.

Returnosid.calendaring.Calendar the Calendar associated with this session
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodcanManageSmartCalendars
Description

Tests if this user can manage smart calendars. A return of true does not guarantee successful authorization. A return of false indicates that it is known all 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 smart operations.

Returnboolean false if smart calendar methods are not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethodgetSupersedingEventQuery
Description

Gets a superseding event query.

Returnosid.calendaring.SupersedingEventQuery the superseding event query
Compliancemandatory This method must be implemented.
MethodgetSupersedingEventSearchOrder
Description

Gets a superseding event search order.

Returnosid.calendaring.SupersedingEventSearchOrder the superseding event search order
Compliancemandatory This method must be implemented.
MethodapplySupersedingEventQuery
Description

Applies a superseding event query to this calendar.

Parametersosid.calendaring.SupersedingEventQuerysupersedingEventQuery the superseding event query
ErrorsNULL_ARGUMENT supersedingEventQuery is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED supersedingEventQuery not of this service
Compliancemandatory This method must be implemented.
MethodinspectSupersedingEventQuery
Description

Gets a superseding event query inspector for this calendar.

Returnosid.calendaring.SupersedingEventQueryInspector the superseding event query inspector
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
Compliancemandatory This method must be implemented.
MethodapplySupersedingEventSequencing
Description

Applies a superseding event search order to this calendar.

Parametersosid.calendaring.SupersedingEventSearchOrdersupersedingEventSearchOrder the superseding event search order
ErrorsNULL_ARGUMENT supersedingEventSearchOrder is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED supersedingEventSearchOrder not of this service
Compliancemandatory This method must be implemented.
MethodgetSupersedingEventQueryFromInspector
Description

Gets a superseding event query from an inspector.

Parametersosid.calendaring.SupersedingEventQueryInspectorsupersedingEventQueryInspector a superseding event query inspector
Returnosid.calendaring.SupersedingEventQuery the superseding event query
ErrorsNULL_ARGUMENT supersedingEventQueryInspector is null
UNSUPPORTED supersedingEventQueryInspector is not of this service
Compliancemandatory This method must be implemented.