| Interface | osid.calendaring.cycle.EventCyclicEventLookupSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | 
                 This session provides methods to retrieve  This lookup session defines two views: 
  | ||
| 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 | canLookupEventCyclicEventMappings | ||
| Description | 
                     Tests if this user can perform lookups of event/cyclic 
                    event mappings. A return of true does not guarantee 
                    successful authorization. A return of false indicates that 
                    it is known lookup methods in this session will result in 
                    a   | ||
| Return | boolean |  false  if looking up mappings is not authorized,  true 
 otherwise  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | useComparativeCalendarView | ||
| 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 | usePlenaryCalendarView | ||
| 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 cyclic 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 | getEventIdsByCyclicEvent | ||
| Description | 
                     Gets the list of   | ||
| Parameters | osid.id.Id | cyclicEventId |  Id  of the  CyclicEvent   | 
| Return | osid.id.IdList | list of related event  Ids   | |
| Errors | NOT_FOUND |  cyclicEventId  is not found  |                 |
| NULL_ARGUMENT |  cyclicEventId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getEventsByCyclicEvent | ||
| Description | 
                     Gets the list of   | ||
| Parameters | osid.id.Id | cyclicEventId |  Id  of the  CyclicEvent   | 
| Return | osid.calendaring.EventList | list of related events | |
| Errors | NOT_FOUND |  cyclicEventId  is not found  |                 |
| NULL_ARGUMENT |  cyclicEventId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getEventIdsByCyclicEventAndDate | ||
| Description | 
                     Gets the list of   | ||
| Parameters | osid.id.Id | cyclicEventId |  Id  of the  CyclicEvent   | 
osid.calendaring.DateTime | from | starting date | |
osid.calendaring.DateTime | to | ending date | |
| Return | osid.id.IdList | list of related event  Ids   | |
| Errors | INVALID_ARGUMENT |  from  is greater than  to   |                 |
| NOT_FOUND |  cyclicEventId  is not found  |                 ||
| NULL_ARGUMENT |  cyclicEventId, from,  or  to  is  null 
  |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getEventsByCyclicEventAndDate | ||
| Description | 
                     Gets the list of   | ||
| Parameters | osid.id.Id | cyclicEventId |  Id  of the  CyclicEvent   | 
osid.calendaring.DateTime | from | starting date | |
osid.calendaring.DateTime | to | ending date | |
| Return | osid.calendaring.EventList | list of related cyclic events | |
| Errors | INVALID_ARGUMENT |  from  is greater than  to   |                 |
| NOT_FOUND |  cyclicEventId  is not found  |                 ||
| NULL_ARGUMENT |  cyclicEventId, from,  or  to  is  null 
  |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getCyclicEventIdsByEvent | ||
| Description | 
                     Gets the list of   | ||
| Parameters | osid.id.Id | eventId |  Id  of an  Event   | 
| Return | osid.id.IdList | list of cyclic event  Ids   | |
| Errors | NOT_FOUND |  eventId  is not found  |                 |
| NULL_ARGUMENT |  eventId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getCyclicEventsByEvent | ||
| Description | 
                     Gets the list of   | ||
| Parameters | osid.id.Id | eventId |  Id  of an  Event   | 
| Return | osid.calendaring.cycle.CyclicEventList | list of cyclic events | |
| Errors | NOT_FOUND |  eventId  is not found  |                 |
| NULL_ARGUMENT |  eventId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |