| Interface | osid.grading.GradeGradebookAssignmentSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Used By | osid.grading.GradingManager | ||
osid.grading.GradingProxyManager | |||
| Description |
This session provides methods to re-assign
Adding a reference of a | ||
| Method | canAssignGrades | ||
| Description |
Tests if this user can alter grade/gradebook 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 | canAssignGradeToGradebook | ||
| Description |
Tests if this user can alter grade/gradebook 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 | gradebookId | the Id of the Gradebook |
| Return | boolean | false if mapping is not authorized, true
otherwise | |
| Errors | NULL_ARGUMENT | gradebookId is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssignableGradebookIds | ||
| Description |
Gets a list of gradebooks including and under the given gradebook node in which any grade can be assigned. | ||
| Parameters | osid.id.Id | gradebookId | the Id of the Gradebook |
| Return | osid.id.IdList | list of assignable gradebook Ids | |
| Errors | NULL_ARGUMENT | gradebookId is null | |
| OPERATION_FAILED | unable to complete request | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssignableGradebookIdsForGrade | ||
| Description |
Gets a list of gradebooks including and under the given gradebook node in which a specific grade can be assigned. | ||
| Parameters | osid.id.Id | gradebookId | the Id of the Gradebook |
osid.id.Id | gradeId | the Id of the Grade | |
| Return | osid.id.IdList | list of assignable gradebook Ids | |
| Errors | NULL_ARGUMENT | gradebookId or gradeId is null | |
| OPERATION_FAILED | unable to complete request | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | assignGradeToGradebook | ||
| Description |
Adds an existing | ||
| Parameters | osid.id.Id | gradeId | the Id of the Grade |
osid.id.Id | gradebookId | the Id of the Gradebook | |
| Errors | ALREADY_EXISTS | gradeId is already assigned to gradebookId | |
| NOT_FOUND | gradeId or gradebookId not found | ||
| NULL_ARGUMENT | gradeId or gradebookId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | unassignGradeFromGradebook | ||
| Description |
Removes a | ||
| Parameters | osid.id.Id | gradeId | the Id of the Grade |
osid.id.Id | gradebookId | the Id of the Gradebook | |
| Errors | NOT_FOUND | gradeId or gradebookId not found or
gradeId not assigned to gradebookId | |
| NULL_ARGUMENT | gradeId or gradebookId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | reassignGradeToGradebook | ||
| Description |
Moves a | ||
| Parameters | osid.id.Id | gradeId | the Id of the Grade |
osid.id.Id | fromGradebookId | the Id of the current Gradebook | |
osid.id.Id | toGradebookId | the Id of the destination Gradebook | |
| Errors | ALREADY_EXISTS | gradeId already assigned to togradebookId | |
| NOT_FOUND | gradeId, fromGradebookId , or toGradebookeId not
found or gradeId not mapped to fromGradebookId | ||
| NULL_ARGUMENT | gradeId, fromGradebookId , or toGradebookId is
null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |