Interface | osid.calendaring.rules.SupersedingEventEnablerRuleLookupSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods to retrieve This lookup session defines several 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 | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | canLookupSupersedingEventEnablerRules | ||
Description |
Tests if this user can perform lookups of superseding
event enabler/superseding 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 | useComparativeSupersedingEventEnablerRuleView | ||
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 | usePlenarySupersedingEventEnablerRuleView | ||
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 superseding event enablers 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 | getSupersedingEventEnablerIdsForSupersedingEvent | ||
Description |
Gets the | ||
Parameters | osid.id.Id | supersedingEventId | Id of the SupersedingEvent |
Return | osid.id.IdList | the superseding event enabler Ids | |
Errors | NOT_FOUND | supersedingEventId is not found | |
NULL_ARGUMENT | supersedingEventId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getSupersedingEventEnablersForSupersedingEvent | ||
Description |
Gets the | ||
Parameters | osid.id.Id | supersedingEventId | Id of the SupersedingEvent |
Return | osid.calendaring.rules.SupersedingEventEnablerList | the superseding event enablers | |
Errors | NOT_FOUND | supersedingEventId is not found | |
NULL_ARGUMENT | supersedingEventId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getSupersedingEventIdsForSupersedingEventEnabler | ||
Description |
Gets the | ||
Parameters | osid.id.Id | supersedingEventEnablerId | Id of a SupersedingEventEnabler |
Return | osid.id.IdList | list of superseding event Ids | |
Errors | NOT_FOUND | supersedingEventEnablerId is not found | |
NULL_ARGUMENT | supersedingEventEnablerId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getSupersedingEventsForSupersedingEventEnabler | ||
Description |
Gets the | ||
Parameters | osid.id.Id | supersedingEventEnablerId | Id of a SupersedingEventEnabler |
Return | osid.calendaring.SupersedingEventList | list of superseding events | |
Errors | NOT_FOUND | supersedingEventEnablerId is not found | |
NULL_ARGUMENT | supersedingEventEnablerId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |