Interface | osid.grading.GradeSystemLookupSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
The session defines methods for retrieving Two views are defined in this session:
Grades and grade systems may have an additional records indicated by their respective record types. The record may not be accessed through a cast of the object. | ||
Method | getGradebookId | ||
Description |
Gets the | ||
Return | osid.id.Id | the GradeSystem Id associated with this session | |
Compliance | mandatory | This method must be implemented. | |
Method | getGradebook | ||
Description |
Gets the | ||
Return | osid.grading.Gradebook | the Gradebook associated with this session | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | canLookupGradeSystems | ||
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 | useComparativeGradeSystemView | ||
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 | usePlenaryGradeSystemView | ||
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 grade entries 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 | getGradeSystem | ||
Description |
Gets the | ||
Parameters | osid.id.Id | gradeSystemId | Id of the GradeSystem |
Return | osid.grading.GradeSystem | the grade system | |
Errors | NOT_FOUND | gradeSystemId not found | |
NULL_ARGUMENT | gradeSystemId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getGradeSystemByGrade | ||
Description |
Gets the | ||
Parameters | osid.id.Id | gradeId | Id of a Grade |
Return | osid.grading.GradeSystem | the grade system | |
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 | getGradeSystemsByIds | ||
Description |
Gets a | ||
Parameters | osid.id.IdList | gradeSystemIds | the list of Ids to retrieve |
Return | osid.grading.GradeSystemList | the returned GradeSystem list | |
Errors | NOT_FOUND | an Id was not found | |
NULL_ARGUMENT | gradeSystemIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getGradeSystemsByGenusType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | gradeSystemGenusType | a grade system genus type |
Return | osid.grading.GradeSystemList | the returned GradeSystem list | |
Errors | NULL_ARGUMENT | gradeSystemGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getGradeSystemsByParentGenusType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | gradeSystemGenusType | a grade system genus type |
Return | osid.grading.GradeSystemList | the returned GradeSystem list | |
Errors | NULL_ARGUMENT | gradeSystemGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getGradeSystemsByRecordType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | gradeSystemRecordType | a grade system record type |
Return | osid.grading.GradeSystemList | the returned GradeSystem list | |
Errors | NULL_ARGUMENT | gradeSystemGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getGradeSystems | ||
Description |
Gets all | ||
Return | osid.grading.GradeSystemList | a GradeSystemList | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |