| Interface | osid.grading.GradeLookupSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Used By | osid.grading.GradingManager | ||
osid.grading.GradingProxyManager | |||
| Description |
This session provides methods for retrieving
This session defines views that offer differing behaviors when retrieving multiple objects.
Generally, the comparative view should be used for most
applications as it permits operation even if there is data
that cannot be accessed. The methods
| ||
| Method | getGradebookId | ||
| Description |
Gets the | ||
| Return | osid.id.Id | the Gradebook Id associated with this session | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getGradebook | ||
| Description |
Gets the | ||
| Return | osid.grading.Gradebook | the gradebook | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canLookupGrades | ||
| Description |
Tests if this user can perform | ||
| Return | boolean | false if lookup methods are not authorized, true
otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | useComparativeGradeView | ||
| Description |
The returns from the lookup methods may omit or translate elements based on this session, such as authorization, and not result in an error. This view is used when greater interoperability is desired at the expense of precision. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | usePlenaryGradeView | ||
| Description |
A complete view of the | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useFederatedGradebookView | ||
| Description |
Federates the view for methods in this session. A federated view will include grades in gradebooks which are children of this gradebook in the gradebook hierarchy. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useIsolatedGradebookView | ||
| Description |
Isolates the view for methods in this session. An isolated view restricts lookups to this gradebook only. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getGrade | ||
| Description |
Gets the In plenary mode, the exact | ||
| Parameters | osid.id.Id | gradeId | Id of the Grade |
| Return | osid.grading.Grade | the grade | |
| Errors | NOT_FOUND | gradeId not found | |
| NULL_ARGUMENT | gradeId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getGradesByIds | ||
| Description |
Gets a In plenary mode, the returned list contains all of the
grades specified in the | ||
| Parameters | osid.id.IdList | gradeIds | the list of Ids to retrieve |
| Return | osid.grading.GradeList | the returned Grade list | |
| Errors | NOT_FOUND | an Id was not found | |
| NULL_ARGUMENT | gradeIds is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getGradesByGenusType | ||
| Description |
Gets a In plenary mode, the returned list contains all known grades or an error results. Otherwise, the returned list may contain only those grades that are accessible through this session. | ||
| Parameters | osid.type.Type | gradeGenusType | a grade genus type |
| Return | osid.grading.GradeList | the returned Grade list | |
| Errors | NULL_ARGUMENT | gradeGenusType is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getGradesByParentGenusType | ||
| Description |
Gets a In plenary mode, the returned list contains all known grades or an error results. Otherwise, the returned list may contain only those grades that are accessible through this session. | ||
| Parameters | osid.type.Type | gradeGenusType | a grade genus type |
| Return | osid.grading.GradeList | the returned Grade list | |
| Errors | NULL_ARGUMENT | gradeGenusType is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getGradesByRecordType | ||
| Description |
Gets a In plenary mode, the returned list contains
all known grades or an error results. Otherwise, the
returned list may contain only those grades that are
accessible through this session.
| ||
| Parameters | osid.type.Type | gradeRecordType | a grade record type |
| Return | osid.grading.GradeList | the returned Grade list | |
| Errors | NULL_ARGUMENT | gradeRecordType is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getGradesForGradeSystem | ||
| Description |
Gets a In plenary mode, the returned list contains all known grades or an error results. Otherwise, the returned list may contain only those grades that are accessible through this session. | ||
| Parameters | osid.id.Id | gradeSystemId | a grade system Id |
| Return | osid.grading.GradeList | the returned Grade list | |
| Errors | NULL_ARGUMENT | gradeSystemId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getGrades | ||
| Description |
Gets all In plenary mode, the returned list contains all known grades or an error results. Otherwise, the returned list may contain only those grades that are accessible through this session. | ||
| Return | osid.grading.GradeList | a list of Grades | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |