| Interface | osid.grading.GradeEntryGradebookAssignmentSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Used By | osid.grading.GradingManager | ||
osid.grading.GradingProxyManager | |||
| Description |
This session provides methods to re-assign grade entries to
Moving or adding a reference of a | ||
| Method | canAssignGradeEntry | ||
| Description |
Tests if this user can alter grade entry/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 | canAssignGradeEntriesToGradebook | ||
| Description |
Tests if this user can alter grade entry/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 entry 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 | getAssignableGradebookIdsForGradeEntry | ||
| Description |
Gets a list of gradebooks including and under the given gradebook node in which a specific grade entry can be assigned. | ||
| Parameters | osid.id.Id | gradebookId | the Id of the Gradebook |
osid.id.Id | gradeEntryId | the Id of the GradeEntry | |
| Return | osid.id.IdList | list of assignable gradebook Ids | |
| Errors | NULL_ARGUMENT | gradebookId or gradeEntryId is null | |
| OPERATION_FAILED | unable to complete request | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | assignGradeEntryToGradebook | ||
| Description |
Adds an existing | ||
| Parameters | osid.id.Id | gradeEntryId | the Id of the GradeEntry |
osid.id.Id | gradebookId | the Id of the Gradebook | |
| Errors | ALREADY_EXISTS | gradeEntryId is already assigned to gradebookId | |
| NOT_FOUND | gradeEntryId or gradebookId not found | ||
| NULL_ARGUMENT | gradeEntryId or gradebookId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | unassignGradeEntryFromGradebook | ||
| Description |
Removes a | ||
| Parameters | osid.id.Id | gradeEntryId | the Id of the GradeEntry |
osid.id.Id | gradebookId | the Id of the Gradebook | |
| Errors | NOT_FOUND | gradeEntryId or gradebookId not found or
gradeEntryId not assigned to gradebookId | |
| NULL_ARGUMENT | gradeEntryId or gradebookId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | reassignGradeEntryToGradebook | ||
| Description |
Moves a | ||
| Parameters | osid.id.Id | gradeEntryId | the Id of the GradeEntry |
osid.id.Id | fromGradebookId | the Id of the current Gradebook | |
osid.id.Id | toGradebookId | the Id of the destination Gradebook | |
| Errors | ALREADY_EXISTS | gradeEntryId already assigned to toGradebookId | |
| NOT_FOUND | gradeEntryId, fromGradebookId , or toGradebookId
not found or gradeEntryId not mapped to
fromGradebookId | ||
| NULL_ARGUMENT | gradeEntryId, fromGradebookId , or toGradebookId
is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |