OSID Logo
OSID Specifications
calendaring rules package
Version 3.0.0
Release Candidate Preview
Interfaceosid.calendaring.rules.SupersedingEventEnablerSmartCalendarSession
Implementsosid.OsidSession
Description

This session manages queries and sequencing to create "smart" dynamic calendars. A SupersedingEventEnablerQuery can be retrieved from this session and mapped to this Calendar to create a virtual collection of superseding event enablers. The superseding event enablers may be sequenced using the SupersedingEventEnablerSearchOrder from this session.

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

MethodgetCalendarId
Description

Gets the Calendar Id associated with this session.

Returnosid.id.Idthe Calendar Id associated with this session
CompliancemandatoryThis method must be implemented.
MethodgetCalendar
Description

Gets the Calendar associated with this session.

Returnosid.calendaring.Calendarthe calendar
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis 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 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 operations to unauthorized users.

Returnboolean false if smart calendar management is not authorized, true otherwise
CompliancemandatoryThis method must be implemented.
MethodgetSupersedingEventEnablerQuery
Description

Gets a superseding event enabler query.

Returnosid.calendaring.rules.SupersedingEventEnablerQuerythe superseding event enabler query
CompliancemandatoryThis method must be implemented.
MethodgetSupersedingEventEnablerSearchOrder
Description

Gets a superseding event enabler search order.

Returnosid.calendaring.rules.SupersedingEventEnablerSearchOrderthe superseding event enabler search order
CompliancemandatoryThis method must be implemented.
MethodapplySupersedingEventEnablerQuery
Description

Applies a superseding event enabler query to this calendar.

Parametersosid.calendaring.rules.SupersedingEventEnablerQuerycalendarEnablerQuerythe superseding event enabler query
ErrorsNULL_ARGUMENT calendarEnablerQuery is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
UNSUPPORTED calendarEnablerQuery not of this service
CompliancemandatoryThis method must be implemented.
MethodinspectSupersedingEventEnablerQuery
Description

Gets a superseding event enabler query inspector for this calendar.

Returnosid.calendaring.rules.SupersedingEventEnablerQueryInspectorthe superseding event enabler query inspector
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodapplySupersedingEventEnablerSequencing
Description

Applies a superseding event enabler search order to this calendar.

Parametersosid.calendaring.rules.SupersedingEventEnablerSearchOrdercalendarEnablerSearchOrderthe superseding event enabler search order
ErrorsNULL_ARGUMENT calendarEnablerSearchOrder is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
UNSUPPORTED calendarEnablerSearchOrder not of this service
CompliancemandatoryThis method must be implemented.
MethodgetSupersedingEventEnablerQueryFromInspector
Description

Gets a superseding event enabler query from an inspector.

Parametersosid.calendaring.rules.SupersedingEventEnablerQueryInspectorcalendarEnablerQueryInspectora superseding event enabler query inspector
Returnosid.calendaring.rules.SupersedingEventEnablerQuerythe superseding event enabler query
ErrorsNULL_ARGUMENT calendarEnablerQueryInspector is null
UNSUPPORTED calendarEnablerQueryInspector is not of this service
CompliancemandatoryThis method must be implemented.