Interface | osid.calendaring.RecurringEventLookupSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods for retrieving This session defines views that offer differing behaviors when retrieving multiple objects.
Events may have an additional records indicated by their
respective record types. The record may not be accessed
through a cast of the | ||
Method | getCalendarId | ||
Description |
Gets the | ||
Return | osid.id.Id | the Calendar Id associated with this session | |
Compliance | mandatory | This method must be implemented. | |
Method | getCalendar | ||
Description |
Gets the | ||
Return | osid.calendaring.Calendar | the Calendar associated with this session | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | canLookupRecurringEvents | ||
Description |
Tests if this user can perform | ||
Return | boolean | false if lookup methods are not authorized, true
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | useComparativeRecurringEventView | ||
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. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | usePlenaryRecurringEventView | ||
Description |
A complete view of the | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useFederatedCalendarView | ||
Description |
Federates the view for methods in this session. A federated view will include recurring events in calendars which are children of this calendar in the calendar hierarchy. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useIsolatedCalendarView | ||
Description |
Isolates the view for methods in this session. An isolated view restricts lookups to this calendar only. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useActiveRecurringEventView | ||
Description |
Only active recurring events are returned by methods in this session. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useAnyStatusRecurringEventView | ||
Description |
All active and inactive recurring events are returned by methods in this session. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useSequesteredRecurringEventView | ||
Description |
The returns from the lookup methods omit sequestered recurring events. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useUnsequesteredRecurringEventView | ||
Description |
All recurring events are returned including sequestered recurring events. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getRecurringEvent | ||
Description |
Gets the In active mode, recurring events are returned that are currently active. In any status mode, active and inactive recurring events are returned. | ||
Parameters | osid.id.Id | recurringEventId | Id of the RecurringEvent |
Return | osid.calendaring.RecurringEvent | the recurring event | |
Errors | NOT_FOUND | recurringEventId not found | |
NULL_ARGUMENT | recurringEventId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getRecurringEventsByIds | ||
Description |
Gets a In active mode, recurring events are returned that are currently active. In any status mode, active and inactive recurring events are returned. | ||
Parameters | osid.id.IdList | recurringEventIds | the list of Ids to retrieve |
Return | osid.calendaring.RecurringEventList | the returned RecurringEvent list | |
Errors | NOT_FOUND | an Id was not found | |
NULL_ARGUMENT | recurringEventIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getRecurringEventsByGenusType | ||
Description |
Gets a In active mode, recurring events are returned that are currently active. In any status mode, active and inactive recurring events are returned. | ||
Parameters | osid.type.Type | recurringEventGenusType | a recurring event genus type |
Return | osid.calendaring.RecurringEventList | the returned RecurringEvent list | |
Errors | NULL_ARGUMENT | recurringEventGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getRecurringEventsByParentGenusType | ||
Description |
Gets a In active mode, recurring events are returned that are currently active. In any status mode, active and inactive recurring events are returned. | ||
Parameters | osid.type.Type | recurringEventGenusType | a recurring event genus type |
Return | osid.calendaring.RecurringEventList | the returned RecurringEvent list | |
Errors | NULL_ARGUMENT | recurringEventGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getRecurringEventsByRecordType | ||
Description |
Gets a In active mode, recurring events are returned that are currently active. In any status mode, active and inactive recurring events are returned. | ||
Parameters | osid.type.Type | recurringEventRecordType | a recurring event record type |
Return | osid.calendaring.RecurringEventList | the returned RecurringEvent list | |
Errors | NULL_ARGUMENT | recurringEventRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getRecurringEventsByScheduleSlot | ||
Description |
Gets the In active mode, recurring events are returned that are currently active. In any status mode, active and inactive recurring events are returned. | ||
Parameters | osid.id.Id | scheduleSlotId | a schedule slot Id |
Return | osid.calendaring.RecurringEventList | the returned RecurringEvent list | |
Errors | NULL_ARGUMENT | scheduleSlotId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getRecurringEvents | ||
Description |
Gets all In plenary mode, the returned list contains all known recurring events or an error results. Otherwise, the returned list may contain only those recurring events that are accessible through this session. In active mode, recurring events are returned that are currently active. In any status mode, active and inactive recurring events are returned. | ||
Return | osid.calendaring.RecurringEventList | a RecurringEventList | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |