| Interface | osid.course.registration.CourseRegistrationLookupSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Used By | osid.course.registration.CourseRegistrationManager | ||
osid.course.registration.CourseRegistrationProxyManager | |||
| Description |
This session provides methods for retrieving
This session defines views that offer differing behaviors when retrieving multiple objects.
Generally, the comparative view should be used for most
applications as it permits operation even if there is data
that cannot be accessed. The methods
| ||
| Method | getCourseCatalogId | ||
| Description |
Gets the | ||
| Return | osid.id.Id | the CourseCatalog Id associated with this session | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getCourseCatalog | ||
| Description |
Gets the | ||
| Return | osid.course.CourseCatalog | the course catalog | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canLookupCourseRegistrations | ||
| 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 | useComparativeCourseRegistrationView | ||
| 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 | usePlenaryCourseRegistrationView | ||
| Description |
A complete view of the | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useFederatedCourseCatalogView | ||
| Description |
Federates the view for methods in this session. A federated view will include course registrations in course catalogs which are children of this course catalog in the course catalog hierarchy. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useIsolatedCourseCatalogView | ||
| Description |
Isolates the view for methods in this session. An isolated view restricts lookups to this course catalog only. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useEffectiveCourseRegistrationView | ||
| Description |
Only course registrations whose effective dates are current are returned by methods in this session. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useAnyEffectiveCourseRegistrationView | ||
| Description |
All course registrations of any effective dates are returned by methods in this session. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getCourseRegistration | ||
| Description |
Gets the In plenary mode, the exact | ||
| Parameters | osid.id.Id | courseRegistrationId | Id of the CourseRegistration |
| Return | osid.course.registration.CourseRegistration | the course registration | |
| Errors | NOT_FOUND | courseRegistrationId not found | |
| NULL_ARGUMENT | courseRegistrationId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getCourseRegistrationsByIds | ||
| Description |
Gets a In plenary mode, the returned list contains all of the
course registrations specified in the | ||
| Parameters | osid.id.IdList | courseRegistrationIds | the list of Ids to retrieve |
| Return | osid.course.registration.CourseRegistrationList | the returned CourseRegistration list | |
| Errors | NOT_FOUND | an Id was not found | |
| NULL_ARGUMENT | courseRegistrationIds is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getCourseRegistrationsByGenusType | ||
| Description |
Gets a In plenary mode, the returned list contains all known course registrations or an error results. Otherwise, the returned list may contain only those course registrations that are accessible through this session. | ||
| Parameters | osid.type.Type | courseRegistrationGenusType | a course registration genus type |
| Return | osid.course.registration.CourseRegistrationList | the returned CourseRegistration list | |
| Errors | NULL_ARGUMENT | courseRegistrationGenusType is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getCourseRegistrationsByParentGenusType | ||
| Description |
Gets a In plenary mode, the returned list contains all known course registrations or an error results. Otherwise, the returned list may contain only those course registrations that are accessible through this session. | ||
| Parameters | osid.type.Type | courseRegistrationGenusType | a course registration genus type |
| Return | osid.course.registration.CourseRegistrationList | the returned CourseRegistration list | |
| Errors | NULL_ARGUMENT | courseRegistrationGenusType is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getCourseRegistrationsByRecordType | ||
| Description |
Gets a In plenary mode, the returned list contains all known course registrations or an error results. Otherwise, the returned list may contain only those course registrations that are accessible through this session. | ||
| Parameters | osid.type.Type | courseRegistrationRecordType | a course registration record type |
| Return | osid.course.registration.CourseRegistrationList | the returned CourseRegistration list | |
| Errors | NULL_ARGUMENT | courseRegistrationRecordType is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getCourseRegistrationsOnDate | ||
| Description |
Gets all In plenary mode, the returned list contains all known course registrations or an error results. Otherwise, the returned list may contain only those registrations that are accessible through this session. In effective mode, course registrations are returned that are currently effective. In any effective mode, effective course registrations and those currently expired are returned. | ||
| Parameters | osid.calendaring.DateTime | from | start of date range |
osid.calendaring.DateTime | to | end of date range | |
| Return | osid.course.registration.CourseRegistrationList | a list of CourseRegistrations | |
| 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 | getCourseRegistrationsForCourseOffering | ||
| Description |
Gets all In plenary mode, the returned list contains all known course registrations or an error results. Otherwise, the returned list may contain only those registrations that are accessible through this session. In effective mode, course registrations are returned that are currently effective. In any effective mode, effective course registrations and those currently expired are returned. | ||
| Parameters | osid.id.Id | courseOfferingId | a course offering Id |
| Return | osid.course.registration.CourseRegistrationList | a list of CourseRegistrations | |
| Errors | NULL_ARGUMENT | courseOfferingId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getCourseRegistrationsForCourseOfferingOnDate | ||
| Description |
Gets all In plenary mode, the returned list contains all known course registrations or an error results. Otherwise, the returned list may contain only those registrations that are accessible through this session. In effective mode, course registrations are returned that are currently effective. In any effective mode, effective course registrations and those currently expired are returned. | ||
| Parameters | osid.id.Id | courseOfferingId | a course offering Id |
osid.calendaring.DateTime | from | start of date range | |
osid.calendaring.DateTime | to | end of date range | |
| Return | osid.course.registration.CourseRegistrationList | a list of CourseRegistrations | |
| Errors | INVALID_ARGUMENT | from is greater than to | |
| NULL_ARGUMENT | courseOfferingId, from , or to is
null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getCourseRegistrationsForStudent | ||
| Description |
Gets all In plenary mode, the returned list contains all known course registrations or an error results. Otherwise, the returned list may contain only those registrations that are accessible through this session. In effective mode, course registrations are returned that are currently effective. In any effective mode, effective course registrations and those currently expired are returned. | ||
| Parameters | osid.id.Id | resourceId | a resource Id |
| Return | osid.course.registration.CourseRegistrationList | a list of CourseRegistrations | |
| Errors | NULL_ARGUMENT | resourceId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getCourseRegistrationsForStudentOnDate | ||
| Description |
Gets all In plenary mode, the returned list contains all known course registrations or an error results. Otherwise, the returned list may contain only those registrations that are accessible through this session. In effective mode, course registrations are returned that are currently effective. In any effective mode, effective course registrations and those currently expired are returned. | ||
| Parameters | osid.id.Id | resourceId | a resource Id |
osid.calendaring.DateTime | from | start of date range | |
osid.calendaring.DateTime | to | end of date range | |
| Return | osid.course.registration.CourseRegistrationList | a list of CourseRegistrations | |
| Errors | INVALID_ARGUMENT | from is greater than to | |
| NULL_ARGUMENT | resourceId, from , or to is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getCourseRegistrationsForCourseOfferingAndStudent | ||
| Description |
Gets all In plenary mode, the returned list contains all known course registrations or an error results. Otherwise, the returned list may contain only those registrations that are accessible through this session. In effective mode, course registrations are returned that are currently effective. In any effective mode, effective course registrations and those currently expired are returned. | ||
| Parameters | osid.id.Id | courseOfferingId | a course offering Id |
osid.id.Id | resourceId | a resource Id | |
| Return | osid.course.registration.CourseRegistrationList | a list of CourseRegistrations | |
| Errors | NULL_ARGUMENT | courseOfferingId or resourceId is
null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getCourseRegistrationsForCourseOfferingAndStudentOnDate | ||
| Description |
Gets all In plenary mode, the returned list contains all known course registrations or an error results. Otherwise, the returned list may contain only those registrations that are accessible through this session. In effective mode, course registrations are returned that are currently effective. In any effective mode, effective course registrations and those currently expired are returned. | ||
| Parameters | osid.id.Id | courseOfferingId | a course offering Id |
osid.id.Id | resourceId | a resource Id | |
osid.calendaring.DateTime | from | start of date range | |
osid.calendaring.DateTime | to | end of date range | |
| Return | osid.course.registration.CourseRegistrationList | a list of CourseRegistrations | |
| Errors | INVALID_ARGUMENT | from is greater than to | |
| NULL_ARGUMENT | courseOfferingId, resourceId, from , or to is
null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getCourseRegistrations | ||
| Description |
Gets all In plenary mode, the returned list contains all known course registrations or an error results. Otherwise, the returned list may contain only those course registrations that are accessible through this session. | ||
| Return | osid.course.registration.CourseRegistrationList | a list of CourseRegistrations | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |