| Interface | osid.course.registration.CourseRegistrationCourseCatalogAssignmentSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Used By | osid.course.registration.CourseRegistrationManager | ||
osid.course.registration.CourseRegistrationProxyManager | |||
| Description |
This session provides methods to re-assign
Adding a reference of a | ||
| Method | canAssignCourseRegistrations | ||
| Description |
Tests if this user can alter course registration/course
catalog mappings. A return of true does not guarantee
successful authorization. A return of false indicates that
it is known mapping methods in this session will result in
a | ||
| Return | boolean | false if mapping is not authorized, true
otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | canAssignCourseRegistrationToCourseCatalog | ||
| Description |
Tests if this user can alter course registration/course
catalog mappings. A return of true does not guarantee
successful authorization. A return of false indicates that
it is known mapping methods in this session will result in
a | ||
| Parameters | osid.id.Id | courseCatalogId | the Id of the CourseCatalog |
| Return | boolean | false if mapping is not authorized, true
otherwise | |
| Errors | NULL_ARGUMENT | courseCatalogId is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssignableCourseCatalogIds | ||
| Description |
Gets a list of course catalogs including and under the given course catalog node in which any course registration can be assigned. | ||
| Parameters | osid.id.Id | courseCatalogId | the Id of the CourseCatalog |
| Return | osid.id.IdList | list of assignable course catalog Ids | |
| Errors | NULL_ARGUMENT | courseCatalogId is null | |
| OPERATION_FAILED | unable to complete request | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssignableCourseCatalogIdsForCourseRegistration | ||
| Description |
Gets a list of course catalogs including and under the given course catalog node in which a specific course registration can be assigned. | ||
| Parameters | osid.id.Id | courseCatalogId | the Id of the CourseCatalog |
osid.id.Id | courseRegistrationId | the Id of the CourseRegistration | |
| Return | osid.id.IdList | list of assignable course catalog Ids | |
| Errors | NULL_ARGUMENT | courseCatalogId or courseRegistrationId is
null | |
| OPERATION_FAILED | unable to complete request | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | assignCourseRegistrationToCourseCatalog | ||
| Description |
Adds an existing | ||
| Parameters | osid.id.Id | courseRegistrationId | the Id of the CourseRegistration |
osid.id.Id | courseCatalogId | the Id of the CourseCatalog | |
| Errors | ALREADY_EXISTS | courseRegistrationId is already assigned to
courseCatalogId | |
| NOT_FOUND | courseRegistrationId or courseCatalogId not found | ||
| NULL_ARGUMENT | courseRegistrationId or courseCatalogId is
null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | unassignCourseRegistrationFromCourseCatalog | ||
| Description |
Removes a | ||
| Parameters | osid.id.Id | courseRegistrationId | the Id of the CourseRegistration |
osid.id.Id | courseCatalogId | the Id of the CourseCatalog | |
| Errors | NOT_FOUND | courseRegistrationId or courseCatalogId not found
or courseRegistrationId not assigned to
courseCatalogId | |
| NULL_ARGUMENT | courseRegistrationId or courseCatalogId is
null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | reassignCourseRegistrationToCourseCatalog | ||
| Description |
Moves a | ||
| Parameters | osid.id.Id | courseRegistrationId | the Id of the CourseRegistration |
osid.id.Id | fromCourseCatalogId | the Id of the current CourseCatalog | |
osid.id.Id | toCourseCatalogId | the Id of the destination CourseCatalog | |
| Errors | ALREADY_EXISTS | courseRegistrationId already assigned to
tocourseCatalogId | |
| NOT_FOUND | courseRegistrationId, fromCourseCatalogId , or
toCourseCatalogeId not found or courseRegistrationId
not mapped to fromCourseCatalogId | ||
| NULL_ARGUMENT | courseRegistrationId, fromCourseCatalogId , or
toCourseCatalogId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |