OSID Logo
OSID Specifications
calendaring rules package
Version 3.1.0
Interfaceosid.calendaring.rules.RecurringEventEnablerSmartCalendarSession
Implementsosid.OsidSession
Used Byosid.calendaring.rules.CalendaringRulesManager
osid.calendaring.rules.CalendaringRulesProxyManager
Description

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

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

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
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 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
Compliancemandatory This method must be implemented.
MethodgetRecurringEventEnablerQuery
Description

Gets a recurring event enabler query.

Returnosid.calendaring.rules.RecurringEventEnablerQuery the recurring event enabler query
Compliancemandatory This method must be implemented.
MethodgetRecurringEventEnablerSearchOrder
Description

Gets a recurring event enabler search order.

Returnosid.calendaring.rules.RecurringEventEnablerSearchOrder the recurring event enabler search order
Compliancemandatory This method must be implemented.
MethodapplyRecurringEventEnablerQuery
Description

Applies a recurring event enabler query to this calendar.

Parametersosid.calendaring.rules.RecurringEventEnablerQueryrecurringEventEnablerQuery the recurring event enabler query
ErrorsNULL_ARGUMENT recurringEventEnablerQuery is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED recurringEventEnablerQuery not of this service
Compliancemandatory This method must be implemented.
MethodinspectRecurringEventEnablerQuery
Description

Gets a recurring event enabler query inspector for this calendar.

Returnosid.calendaring.rules.RecurringEventEnablerQueryInspector the recurring event enabler query inspector
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
Compliancemandatory This method must be implemented.
MethodapplyRecurringEventEnablerSequencing
Description

Applies a recurring event enabler search order to this calendar.

Parametersosid.calendaring.rules.RecurringEventEnablerSearchOrderrecurringEventEnablerSearchOrder the recurring event enabler search order
ErrorsNULL_ARGUMENT recurringEventEnablerSearchOrder is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED recurringEventEnablerSearchOrder not of this service
Compliancemandatory This method must be implemented.
MethodgetRecurringEventEnablerQueryFromInspector
Description

Gets a recurring event enabler query from an inspector.

Parametersosid.calendaring.rules.RecurringEventEnablerQueryInspectorrecurringEventEnablerQueryInspector a recurring event enabler query inspector
Returnosid.calendaring.rules.RecurringEventEnablerQuery the recurring event enabler query
ErrorsNULL_ARGUMENT recurringEventEnablerQueryInspector is null
UNSUPPORTED recurringEventEnablerQueryInspector is not of this service
Compliancemandatory This method must be implemented.