| Interface | osid.calendaring.cycle.CyclicTimePeriodCalendarSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | 
                 This session provides methods to retrieve  This lookup session defines two views: 
  | ||
| Method | canLookupCyclicTimePeriodCalendarMappings | ||
| Description | 
                     Tests if this user can perform lookups of cyclic time 
                    period/calendar 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 | getCyclicTimePeriodIdsByCalendar | ||
| Description | 
                     Gets the list of   | ||
| Parameters | osid.id.Id | calendarId |  Id  of the  Calendar   | 
| Return | osid.id.IdList | list of related cyclic time period  Ids   | |
| Errors | NOT_FOUND |  calendarId  is not found  |                 |
| NULL_ARGUMENT |  calendarId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getCyclicTimePeriodsByCalendar | ||
| Description | 
                     Gets the list of   | ||
| Parameters | osid.id.Id | calendarId |  Id  of the  Calendar   | 
| Return | osid.calendaring.cycle.CyclicTimePeriodList | list of related cyclic time periods | |
| Errors | NOT_FOUND |  calendarId  is not found  |                 |
| NULL_ARGUMENT |  calendarId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getCyclicTimePeriodIdsByCalendars | ||
| Description | 
                     Gets the list of   | ||
| Parameters | osid.id.IdList | calendarIds | list of calendar  Ids   | 
| Return | osid.id.IdList | list of cyclic time period  Ids   | |
| Errors | NULL_ARGUMENT |  calendarIds  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getCyclicTimePeriodsByCalendars | ||
| Description | 
                     Gets the list of   | ||
| Parameters | osid.id.IdList | calendarIds | list of calendar  Ids   | 
| Return | osid.calendaring.cycle.CyclicTimePeriodList | list of cyclic time periods | |
| Errors | NULL_ARGUMENT |  calendarIds  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getCalendarIdsByCyclicTimePeriod | ||
| Description | 
                     Gets the list of   | ||
| Parameters | osid.id.Id | cyclicTimePeriodId |  Id  of a  CyclicTimePeriod   | 
| Return | osid.id.IdList | list of calendar  Ids   | |
| Errors | NOT_FOUND |  cyclicTimePeriodId  is not found  |                 |
| NULL_ARGUMENT |  cyclicTimePeriodId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getCalendarsByCyclicTimePeriod | ||
| Description | 
                     Gets the list of   | ||
| Parameters | osid.id.Id | cyclicTimePeriodId |  Id  of a  CyclicTimePeriod   | 
| Return | osid.calendaring.CalendarList | list of calendar  Ids   | |
| Errors | NOT_FOUND |  cyclicTimePeriodId  is not found  |                 |
| NULL_ARGUMENT |  cyclicTimePeriodId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |