| Interface | osid.course.registration.RegistrationTargetLookupSession | ||
|---|---|---|---|
| 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 | canLookupRegistrationTargets | ||
| 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 | useComparativeRegistrationTargetView | ||
| 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 | usePlenaryRegistrationTargetView | ||
| 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 registration targets 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 | getRegistrationTarget | ||
| Description |
Gets the In plenary mode, the exact | ||
| Parameters | osid.id.Id | registrationTargetId | Id of the RegistrationTarget |
| Return | osid.course.registration.RegistrationTarget | the registration target | |
| Errors | NOT_FOUND | registrationTargetId not found | |
| NULL_ARGUMENT | registrationTargetId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getRegistrationTargetsByIds | ||
| Description |
Gets a In plenary mode, the returned list contains all of the
registration targets specified in the | ||
| Parameters | osid.id.IdList | registrationTargetIds | the list of Ids to retrieve |
| Return | osid.course.registration.RegistrationTargetList | the returned RegistrationTarget list | |
| Errors | NOT_FOUND | an Id was not found | |
| NULL_ARGUMENT | registrationTargetIds is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getRegistrationTargetsByGenusType | ||
| Description |
Gets a In plenary mode, the returned list contains all known registration targets or an error results. Otherwise, the returned list may contain only those registration targets that are accessible through this session. | ||
| Parameters | osid.type.Type | registrationTargetGenusType | a registration target genus type |
| Return | osid.course.registration.RegistrationTargetList | the returned RegistrationTarget list | |
| Errors | NULL_ARGUMENT | registrationTargetGenusType is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getRegistrationTargetsByParentGenusType | ||
| Description |
Gets a In plenary mode, the returned list contains all known registration targets or an error results. Otherwise, the returned list may contain only those registration targets that are accessible through this session. | ||
| Parameters | osid.type.Type | registrationTargetGenusType | a registration target genus type |
| Return | osid.course.registration.RegistrationTargetList | the returned RegistrationTarget list | |
| Errors | NULL_ARGUMENT | registrationTargetGenusType is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getRegistrationTargetsByRecordType | ||
| Description |
Gets a In plenary mode, the returned list contains all known registration targets or an error results. Otherwise, the returned list may contain only those registration targets that are accessible through this session. | ||
| Parameters | osid.type.Type | registrationTargetRecordType | a registration target record type |
| Return | osid.course.registration.RegistrationTargetList | the returned RegistrationTarget list | |
| Errors | NULL_ARGUMENT | registrationTargetRecordType is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getRegistrationTargetsForCourseOffering | ||
| Description |
Gets a In plenary mode, the returned list contains all known registration targets or an error results. Otherwise, the returned list may contain only those registration targets that are accessible through this session. | ||
| Parameters | osid.id.Id | courseOfferingId | a course offering Id |
| Return | osid.course.registration.RegistrationTargetList | the returned RegistrationTargetList | |
| Errors | NULL_ARGUMENT | courseOfferingId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getRegistrationTargetsByActivity | ||
| Description |
Gets a In plenary mode, the returned list contains all known registration targets or an error results. Otherwise, the returned list may contain only those registration targets that are accessible through this session. | ||
| Parameters | osid.id.Id | activityId | an activity Id |
| Return | osid.course.registration.RegistrationTargetList | the returned RegistrationTargetList | |
| Errors | NULL_ARGUMENT | activityId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getRegistrationTargets | ||
| Description |
Gets all In plenary mode, the returned list contains all known registration targets or an error results. Otherwise, the returned list may contain only those registration targets that are accessible through this session. | ||
| Return | osid.course.registration.RegistrationTargetList | a list of RegistrationTargets | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |