Interface | osid.calendaring.OffsetEventLookupSession | ||
---|---|---|---|
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 | canLookupOffsetEvents | ||
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 | useComparativeOffsetEventView | ||
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 | usePlenaryOffsetEventView | ||
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 offset events 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 | useActiveOffsetEventView | ||
Description |
Only active offset events are returned by methods in this session. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useAnyStatusOffsetEventView | ||
Description |
All active and inactive offset events are returned by methods in this session. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getOffsetEvent | ||
Description |
Gets the In active mode, offset events are returned that are currently active. In any status mode, active and inactive offset events are returned. | ||
Parameters | osid.id.Id | offsetEventId | Id of the OffsetEvent |
Return | osid.calendaring.OffsetEvent | the offset event | |
Errors | NOT_FOUND | offsetEventId not found | |
NULL_ARGUMENT | offsetEventId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getOffsetEventsByIds | ||
Description |
Gets an In active mode, offset events are returned that are currently active. In any status mode, active and inactive offset events are returned. | ||
Parameters | osid.id.IdList | offsetEventIds | the list of Ids to retrieve |
Return | osid.calendaring.OffsetEventList | the returned OffsetEvent list | |
Errors | NOT_FOUND | an Id was not found | |
NULL_ARGUMENT | offsetEventIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getOffsetEventsByGenusType | ||
Description |
Gets an In active mode, offset events are returned that are currently active. In any status mode, active and inactive offset events are returned. | ||
Parameters | osid.type.Type | offsetEventGenusType | an offset event genus type |
Return | osid.calendaring.OffsetEventList | the returned OffsetEvent list | |
Errors | NULL_ARGUMENT | offsetEventGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getOffsetEventsByParentGenusType | ||
Description |
Gets an In active mode, offset events are returned that are currently active. In any status mode, active and inactive offset events are returned. | ||
Parameters | osid.type.Type | offsetEventGenusType | an offset event genus type |
Return | osid.calendaring.OffsetEventList | the returned OffsetEvent list | |
Errors | NULL_ARGUMENT | offsetEventGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getOffsetEventsByRecordType | ||
Description |
Gets an In active mode, offset events are returned that are currently active. In any status mode, active and inactive offset events are returned. | ||
Parameters | osid.type.Type | offsetEventrecordType | an offset event record type |
Return | osid.calendaring.OffsetEventList | the returned OffsetEvent list | |
Errors | NULL_ARGUMENT | offsetEventRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getOffsetEventsByEvent | ||
Description |
Gets the In plenary mode, the returned list contains all known offset events or an error results. Otherwise, the returned list may contain only those offset events that are accessible through this session. In active mode, offset events are returned that are currently active. In any status mode, active and inactive offset events are returned. | ||
Parameters | osid.id.Id | eventId | Id of the related event |
Return | osid.calendaring.OffsetEventList | the offset events | |
Errors | NULL_ARGUMENT | eventId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getOffsetEvents | ||
Description |
Gets all In plenary mode, the returned list contains all known offset events or an error results. Otherwise, the returned list may contain only those offset events that are accessible through this session. In active mode, offset events are returned that are currently active. In any status mode, active and inactive offset events are returned. | ||
Return | osid.calendaring.OffsetEventList | an OffsetEventList | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |