Interface | osid.calendaring.ScheduleSlotLookupSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods for retrieving This session defines views that offer differing behaviors when retrieving multiple objects.
| ||
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 | canLookupScheduleSlots | ||
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 | useComparativeScheduleSlotView | ||
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 | usePlenaryScheduleSlotView | ||
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 schedules 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 | useSequesteredScheduleSlotView | ||
Description |
The returns from the lookup methods omit sequestered schedule slots. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useUnsequesteredScheduleSlotView | ||
Description |
All schedule slots are returned including sequestered schedule slots. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getScheduleSlot | ||
Description |
Gets the In sequestered mode, no sequestered schedule slots are returned. In unsequestered mode, all schedule slots are returned. | ||
Parameters | osid.id.Id | scheduleSlotId | Id of the ScheduleSlot |
Return | osid.calendaring.ScheduleSlot | the schedule slot | |
Errors | NOT_FOUND | scheduleSlotId not found | |
NULL_ARGUMENT | scheduleSlotId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getScheduleSlotsByIds | ||
Description |
Gets a In sequestered mode, no sequestered schedule slots are returned. In unsequestered mode, all schedule slots are returned. | ||
Parameters | osid.id.IdList | scheduleSlotIds | the list of Ids to retrieve |
Return | osid.calendaring.ScheduleSlotList | the returned ScheduleSlot list | |
Errors | NOT_FOUND | an Id was not found | |
NULL_ARGUMENT | scheduleSlotIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getScheduleSlotsByGenusType | ||
Description |
Gets a In sequestered mode, no sequestered schedule slots are returned. In unsequestered mode, all schedule slots are returned. | ||
Parameters | osid.type.Type | scheduleSlotGenusType | a schedule slot genus type |
Return | osid.calendaring.ScheduleSlotList | the returned ScheduleSlot list | |
Errors | NULL_ARGUMENT | scheduleSlotGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getScheduleSlotsByParentGenusType | ||
Description |
Gets a In sequestered mode, no sequestered schedule slots are returned. In unsequestered mode, all schedule slots are returned. | ||
Parameters | osid.type.Type | scheduleSlotGenusType | a schedule slot genus type |
Return | osid.calendaring.ScheduleSlotList | the returned ScheduleSlot list | |
Errors | NULL_ARGUMENT | scheduleSlotGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getScheduleSlotsByRecordType | ||
Description |
Gets a In sequestered mode, no sequestered schedule slots are returned. In unsequestered mode, all schedule slots are returned. | ||
Parameters | osid.type.Type | scheduleSlotRecordType | a schedule slot record type |
Return | osid.calendaring.ScheduleSlotList | the returned ScheduleSlot list | |
Errors | NULL_ARGUMENT | scheduleSlotRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getScheduleSlotsByWeekdays | ||
Description |
Gets a In sequestered mode, no sequestered schedule slots are returned. In unsequestered mode, all schedule slots are returned. | ||
Parameters | cardinal[] | weekdays | a set of weekdays |
Return | osid.calendaring.ScheduleSlotList | the returned ScheduleSlot list | |
Errors | INVALID_ARGUMENT | a weekday is negative | |
NULL_ARGUMENT | weekdays is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getScheduleSlotsByTime | ||
Description |
Gets a In sequestered mode, no sequestered schedule slots are returned. In unsequestered mode, all schedule slots are returned. | ||
Parameters | osid.calendaring.Time | time | a time |
Return | osid.calendaring.ScheduleSlotList | the returned ScheduleSlot list | |
Errors | NULL_ARGUMENT | time is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getScheduleSlots | ||
Description |
Gets all In plenary mode, the returned list contains all known schedule slots or an error results. Otherwise, the returned list may contain only those schedule slots that are accessible through this session. In sequestered mode, no sequestered schedule slots are returned. In unsequestered mode, all schedule slots are returned. | ||
Return | osid.calendaring.ScheduleSlotList | a ScheduleSlotList | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |