public interface SupersedingEventSmartCalendarSession extends OsidSession
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.
| Modifier and Type | Method and Description |
|---|---|
void |
applySupersedingEventQuery(SupersedingEventQuery supersedingEventQuery)
Applies a superseding event query to this calendar.
|
void |
applySupersedingEventSequencing(SupersedingEventSearchOrder supersedingEventSearchOrder)
Applies a superseding event search order to this calendar.
|
boolean |
canManageSmartCalendars()
Tests if this user can manage smart calendars.
|
Calendar |
getCalendar()
Gets the
Calendar associated with this session. |
Id |
getCalendarId()
Gets the
Calendar Id associated with
this session. |
SupersedingEventQuery |
getSupersedingEventQuery()
Gets a superseding event query.
|
SupersedingEventQuery |
getSupersedingEventQueryFromInspector(SupersedingEventQueryInspector supersedingEventQueryInspector)
Gets a superseding event query from an inspector.
|
SupersedingEventSearchOrder |
getSupersedingEventSearchOrder()
Gets a superseding event search order.
|
SupersedingEventQueryInspector |
inspectSupersedingEventQuery()
Gets a superseding event query inspector for this calendar.
|
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionscloseId getCalendarId()
Calendar Id associated with
this session. Calendar Id associated with this sessionmandatory - This method must be implemented. Calendar getCalendar() throws OperationFailedException, PermissionDeniedException
Calendar associated with this session. Calendar associated with this sessionOperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. boolean canManageSmartCalendars()
PERMISSION_DENIED. This is intended as a hint to an
application that may opt not to offer smart operations. false if smart calendar methods are not
authorized, true otherwisemandatory - This method must be implemented. SupersedingEventQuery getSupersedingEventQuery()
mandatory - This method must be implemented. SupersedingEventSearchOrder getSupersedingEventSearchOrder()
mandatory - This method must be implemented. void applySupersedingEventQuery(SupersedingEventQuery supersedingEventQuery) throws OperationFailedException, PermissionDeniedException
supersedingEventQuery - the superseding event queryNullArgumentException - supersedingEventQuery
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failure
occurredUnsupportedException - supersedingEventQuery
not of this servicemandatory - This method must be implemented. SupersedingEventQueryInspector inspectSupersedingEventQuery() throws OperationFailedException, PermissionDeniedException
OperationFailedException - unable to complete requestPermissionDeniedException - authorization failure
occurredmandatory - This method must be implemented. void applySupersedingEventSequencing(SupersedingEventSearchOrder supersedingEventSearchOrder) throws OperationFailedException, PermissionDeniedException
supersedingEventSearchOrder - the superseding event search orderNullArgumentException -
supersedingEventSearchOrder is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failure
occurredUnsupportedException -
supersedingEventSearchOrder not of this servicemandatory - This method must be implemented. SupersedingEventQuery getSupersedingEventQueryFromInspector(SupersedingEventQueryInspector supersedingEventQueryInspector)
supersedingEventQueryInspector - a superseding event query
inspectorNullArgumentException -
supersedingEventQueryInspector is null UnsupportedException -
supersedingEventQueryInspector is not of this servicemandatory - This method must be implemented.