Interface | osid.calendaring.cycle.CyclicTimePeriodLookupSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods for retrieving This session defines views that offer differing behaviors when retrieving multiple objects.
Cyclic time periods may have an additional records
indicated by their respective record types. The record may not
be accessed through a cast of the | ||
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 | canLookupCyclicTimePeriods | ||
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 | useComparativeCyclicTimePeriodView | ||
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 | usePlenaryCyclicTimePeriodView | ||
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 cyclic time periods 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 | getCyclicTimePeriod | ||
Description |
Gets the | ||
Parameters | osid.id.Id | cyclicTimePeriodId | Id of the CyclicTimePeriod |
Return | osid.calendaring.cycle.CyclicTimePeriod | the cyclic time period | |
Errors | NOT_FOUND | cyclicTimePeriodId not found | |
NULL_ARGUMENT | cyclicTimePeriodId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getCyclicTimePeriodsByIds | ||
Description |
Gets a | ||
Parameters | osid.id.IdList | cyclicTimePeriodIds | the list of Ids to retrieve |
Return | osid.calendaring.cycle.CyclicTimePeriodList | the returned CyclicTimePeriod list | |
Errors | NOT_FOUND | an Id was not found | |
NULL_ARGUMENT | rimePeriodIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getCyclicTimePeriodsByGenusType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | cyclicTimePeriodGenusType | a cyclic time period genus type |
Return | osid.calendaring.cycle.CyclicTimePeriodList | the returned CyclicTimePeriod list | |
Errors | NULL_ARGUMENT | cyclicTimePeriodGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getCyclicTimePeriodsByParentGenusType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | cyclicTimePeriodGenusType | a cyclic time period genus type |
Return | osid.calendaring.cycle.CyclicTimePeriodList | the returned CyclicTimePeriod list | |
Errors | NULL_ARGUMENT | cyclicTimePeriodGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getCyclicTimePeriodsByRecordType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | cyclicTimePeriodRecordType | a cyclic time period record type |
Return | osid.calendaring.cycle.CyclicTimePeriodList | the returned CyclicTimePeriod list | |
Errors | NULL_ARGUMENT | cyclicTimePeriodRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getCyclicTimePeriods | ||
Description |
Gets all | ||
Return | osid.calendaring.cycle.CyclicTimePeriodList | a CyclicTimePeriodList | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |