Interface | osid.grading.GradebookLookupSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
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. For example, a browsing application
may only need to examine the Gradebooks may have an additional records indicated by
their respective record types. The record may not be accessed
through a cast of the | ||
Method | canLookupGradebooks | ||
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 | useComparativeGradebookView | ||
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 | usePlenaryGradebookView | ||
Description |
A complete view of the | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getGradebook | ||
Description |
Gets the | ||
Parameters | osid.id.Id | gradebookId | Id of the Gradebook |
Return | osid.grading.Gradebook | the gradebook | |
Errors | NOT_FOUND | gradebookId not found | |
NULL_ARGUMENT | gradebookId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getGradebooksByIds | ||
Description |
Gets a | ||
Parameters | osid.id.IdList | gradebookIds | the list of Ids to retrieve |
Return | osid.grading.GradebookList | the returned Gradebook list | |
Errors | NOT_FOUND | an Id was not found | |
NULL_ARGUMENT | gradebookIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getGradebooksByGenusType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | gradebookGenusType | a gradebook genus type |
Return | osid.grading.GradebookList | the returned Gradebook list | |
Errors | NULL_ARGUMENT | gradebookGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getGradebooksByParentGenusType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | gradebookGenusType | a gradebook genus type |
Return | osid.grading.GradebookList | the returned Gradebook list | |
Errors | NULL_ARGUMENT | gradebookGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getGradebooksByRecordType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | gradebookRecordType | a gradebook record type |
Return | osid.grading.GradebookList | the returned Gradebook list | |
Errors | NULL_ARGUMENT | gradebookRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getGradebooksByProvider | ||
Description |
Gets a | ||
Parameters | osid.id.Id | resourceId | a resource Id |
Return | osid.grading.GradebookList | the returned Gradebook list | |
Errors | NULL_ARGUMENT | resourceId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getGradebooks | ||
Description |
Gets all | ||
Return | osid.grading.GradebookList | a GradebookList | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |