Interface | osid.grading.GradeSystemGradebookAssignmentSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods to re-assign grade systems to
Moving or adding a reference of a | ||
Method | canAssignGradeSystem | ||
Description |
Tests if this user can alter grade system/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 | canAssignGradeSystemsToGradebook | ||
Description |
Tests if this user can alter grade system/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 system 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 | getAssignableGradebookIdsForGradeSystem | ||
Description |
Gets a list of gradebooks including and under the given gradebook node in which a specific grade system can be assigned. | ||
Parameters | osid.id.Id | gradebookId | the Id of the Gradebook |
osid.id.Id | gradeSystemId | the Id of the GradeSystem | |
Return | osid.id.IdList | list of assignable gradebook Ids | |
Errors | NULL_ARGUMENT | gradebookId or gradeSystemId is null
| |
OPERATION_FAILED | unable to complete request | ||
Compliance | mandatory | This method must be implemented. | |
Method | assignGradeSystemToGradebook | ||
Description |
Adds an existing | ||
Parameters | osid.id.Id | gradeSystemId | the Id of the GradeSystem |
osid.id.Id | gradebookId | the Id of the Gradebook | |
Errors | ALREADY_EXISTS | gradeSystemId is already assigned to gradebookId
| |
NOT_FOUND | gradeSystemId or gradebookId not found | ||
NULL_ARGUMENT | gradeSystemId or gradebookId is null
| ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | unassignGradeSystemFromGradebook | ||
Description |
Removes a | ||
Parameters | osid.id.Id | gradeSystemId | the Id of the GradeSystem |
osid.id.Id | gradebookId | the Id of the Gradebook | |
Errors | NOT_FOUND | gradeSystemId or gradebookId not found or
gradeSystemId not assigned to gradebookId | |
NULL_ARGUMENT | gradeSystemId or gradebookId is null
| ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |