| Interface | osid.calendaring.rules.CommitmentEnablerCalendarSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | 
                 This session provides methods to retrieve  This lookup session defines several views: 
  | ||
| Method | canLookupCommitmentEnablerCalendarMappings | ||
| Description | 
                     Tests if this user can perform lookups of commitment 
                    enabler/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 | useComparativeCommitmentEnablerCalendarView | ||
| 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 | usePlenaryCommitmentEnablerCalendarView | ||
| Description | 
                     A complete view of the   | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getCommitmentEnablerIdsByCalendar | ||
| Description | 
                     Gets the list of   | ||
| Parameters | osid.id.Id | calendarId |  Id  of the  Calendar   | 
| Return | osid.id.IdList | list of related commitment enabler  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 | getCommitmentEnablersByCalendar | ||
| Description | 
                     Gets the list of commitment enablers associated with a 
                      | ||
| Parameters | osid.id.Id | calendarId |  Id  of the  Calendar   | 
| Return | osid.calendaring.rules.CommitmentEnablerList | list of related commitment enablers | |
| 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 | getCommitmentEnablerIdsByCalendars | ||
| Description | 
                     Gets the list of   | ||
| Parameters | osid.id.IdList | calendarIds | list of calendar  Ids   | 
| Return | osid.id.IdList | list of commitment enabler  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 | getCommitmentEnablersByCalendars | ||
| Description | 
                     Gets the list of commitment enablers corresponding to a 
                    list of   | ||
| Parameters | osid.id.IdList | calendarIds | list of calendar  Ids   | 
| Return | osid.calendaring.rules.CommitmentEnablerList | list of commitment enablers | |
| Errors | NULL_ARGUMENT |  calendarIds  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getCalendarIdsByCommitmentEnabler | ||
| Description | 
                     Gets the   | ||
| Parameters | osid.id.Id | commitmentEnablerId |  Id  of a  CommitmentEnabler   | 
| Return | osid.id.IdList | list of calendars | |
| Errors | NOT_FOUND |  commitmentEnablerId  is not found  |                 |
| NULL_ARGUMENT |  commitmentEnablerId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getCalendarsByCommitmentEnabler | ||
| Description | 
                     Gets the   | ||
| Parameters | osid.id.Id | commitmentEnablerId |  Id  of a  CommitmentEnabler   | 
| Return | osid.calendaring.CalendarList | list of calendars | |
| Errors | NOT_FOUND |  commitmentEnablerId  is not found  |                 |
| NULL_ARGUMENT |  commitmentEnablerId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |