Interface | osid.calendaring.ScheduleLookupSession | ||
---|---|---|---|
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 | canLookupSchedules | ||
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 | useComparativeScheduleView | ||
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 | usePlenaryScheduleView | ||
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 | getSchedule | ||
Description |
Gets the | ||
Parameters | osid.id.Id | scheduleId | Id of the Schedule |
Return | osid.calendaring.Schedule | the schedule | |
Errors | NOT_FOUND | scheduleId not found | |
NULL_ARGUMENT | scheduleId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getSchedulesByIds | ||
Description |
Gets a | ||
Parameters | osid.id.IdList | scheduleIds | the list of Ids to retrieve |
Return | osid.calendaring.ScheduleList | the returned Schedule list | |
Errors | NOT_FOUND | an Id was not found | |
NULL_ARGUMENT | scheduleIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getSchedulesByGenusType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | scheduleGenusType | a schedule genus type |
Return | osid.calendaring.ScheduleList | the returned Schedule list | |
Errors | NULL_ARGUMENT | scheduleGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getSchedulesByParentGenusType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | scheduleGenusType | a schedule genus type |
Return | osid.calendaring.ScheduleList | the returned Schedule list | |
Errors | NULL_ARGUMENT | scheduleGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getSchedulesByRecordType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | scheduleRecordType | a schedule record type |
Return | osid.calendaring.ScheduleList | the returned Schedule list | |
Errors | NULL_ARGUMENT | scheduleRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getSchedulesByScheduleSlot | ||
Description |
Gets a | ||
Parameters | osid.id.Id | scheduleSlotId | a schedule slot Id |
Return | osid.calendaring.ScheduleList | the returned Schedule list | |
Errors | NULL_ARGUMENT | scheduleSlotId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getSchedulesByLocation | ||
Description |
Gets a | ||
Parameters | osid.id.Id | locationId | a location Id |
Return | osid.calendaring.ScheduleList | the returned Schedule list | |
Errors | NULL_ARGUMENT | locationId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getSchedulesByDate | ||
Description |
Gets a | ||
Parameters | osid.calendaring.DateTime | date | a date |
Return | osid.calendaring.ScheduleList | the returned Schedule list | |
Errors | NULL_ARGUMENT | date is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getSchedulesByDateRange | ||
Description |
Gets a | ||
Parameters | osid.calendaring.DateTime | from | start of date range |
osid.calendaring.DateTime | to | end of date range | |
Return | osid.calendaring.ScheduleList | the returned Schedule list | |
Errors | INVALID_ARGUMENT | from is greater than to | |
NULL_ARGUMENT | from or to is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getSchedules | ||
Description |
Gets all | ||
Return | osid.calendaring.ScheduleList | a ScheduleList | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |