| Interface | osid.recognition.ConferralAcademyAssignmentSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Used By | osid.recognition.RecognitionManager | ||
osid.recognition.RecognitionProxyManager | |||
| Description |
This session provides methods to re-assign
Adding a reference of a | ||
| Method | canAssignConferrals | ||
| Description |
Tests if this user can alter conferral/academy
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 | canAssignConferralsToAcademy | ||
| Description |
Tests if this user can alter conferral/academy
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 | academyId | the Id of the Academy |
| Return | boolean | false if mapping is not authorized, true
otherwise | |
| Errors | NULL_ARGUMENT | academyId is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssignableAcademyIds | ||
| Description |
Gets a list of academies including and under the given academy node in which any conferral can be assigned. | ||
| Parameters | osid.id.Id | academyId | the Id of the Academy |
| Return | osid.id.IdList | list of assignable academy Ids | |
| Errors | NULL_ARGUMENT | academyId is null | |
| OPERATION_FAILED | unable to complete request | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssignableAcademyIdsForConferral | ||
| Description |
Gets a list of academies including and under the given academy node in which a specific conferral can be assigned. | ||
| Parameters | osid.id.Id | academyId | the Id of the Academy |
osid.id.Id | conferralId | the Id of the Conferral | |
| Return | osid.id.IdList | list of assignable academy Ids | |
| Errors | NULL_ARGUMENT | academyId or conferralId is null | |
| OPERATION_FAILED | unable to complete request | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | assignConferralToAcademy | ||
| Description |
Adds an existing | ||
| Parameters | osid.id.Id | conferralId | the Id of the Conferral |
osid.id.Id | academyId | the Id of the Academy | |
| Errors | ALREADY_EXISTS | conferralId is already assigned to academyId | |
| NOT_FOUND | conferralId or academyId not found | ||
| NULL_ARGUMENT | conferralId or academyId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | unassignConferralFromAcademy | ||
| Description |
Removes a | ||
| Parameters | osid.id.Id | conferralId | the Id of the Conferral |
osid.id.Id | academyId | the Id of the Academy | |
| Errors | NOT_FOUND | conferralId or academyId not found or
conferralId not assigned to academyId | |
| NULL_ARGUMENT | conferralId or academyId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | reassignConferralToAcademy | ||
| Description |
Moves a | ||
| Parameters | osid.id.Id | conferralId | the Id of the Conferral |
osid.id.Id | fromAcademyId | the Id of the current Academy | |
osid.id.Id | toAcademyId | the Id of the destination Academy | |
| Errors | ALREADY_EXISTS | conferralId already assigned to toAcademyId | |
| NOT_FOUND | conferralId, fromAcademyId , or toAcademyId not
found or conferralId not mapped to fromAcademyId | ||
| NULL_ARGUMENT | conferralId, fromAcademyId , or toAcademyId is
null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |