| Interface | osid.grading.GradebookColumnGradebookAssignmentSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description |
This session provides methods to re-assign gradebook
columns to Moving or adding a reference of a | ||
| Method | canAssignGradebookColumns | ||
| Description |
Tests if this user can alter gradebook column/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 | canAssignGradebookColumnsToGradebook | ||
| Description |
Tests if this user can alter gradebook column/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 gradebook | ||
| 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 | getAssignableGradebookIdsForGradebookColumn | ||
| Description |
Gets a list of gradebooks including and under the given gradebook node in which a specific gradebook column can be assigned. | ||
| Parameters | osid.id.Id | gradebookId | the Id of the Gradebook |
osid.id.Id | gradebookColumnId | the Id of the GradebokColumn | |
| Return | osid.id.IdList | list of assignable gradebook Ids | |
| Errors | NULL_ARGUMENT | gradebookId or gradebookColumnId is
null | |
| OPERATION_FAILED | unable to complete request | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | assignGradebookColumnToGradebook | ||
| Description |
Adds an existing | ||
| Parameters | osid.id.Id | gradebookColumnId | the Id of the GradebookColumn |
osid.id.Id | gradebookId | the Id of the Gradebook | |
| Errors | ALREADY_EXISTS | gradebookColumnId is already assigned to gradebookId
| |
| NOT_FOUND | gradebookColumnId or gradebookId not found | ||
| NULL_ARGUMENT | gradebookColumnId or gradebookId is
null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | unassignGradebookColumnFromGradebook | ||
| Description |
Removes a | ||
| Parameters | osid.id.Id | gradebookColumnId | the Id of the GradebookColumn |
osid.id.Id | gradebookId | the Id of the Gradebook | |
| Errors | NOT_FOUND | gradebookColumnId or gradebookId not found or
gradebookColumnId not assigned to gradebookId | |
| NULL_ARGUMENT | gradebookColumnId or gradebookId is
null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |