Interface | osid.grading.calculation.GradebookColumnCalculationLookupSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods for retrieving This session defines views that offer differing behaviors when retrieving multiple objects.
Gradebook column calculations may have an additional
records indicated by their respective record types. The record
may not be accessed through a cast of the | ||
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 associated with this session | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | canLookupGradebookColumnCalculations | ||
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 | useComparativeGradebookColumnCalculationView | ||
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 | usePlenaryGradebookColumnCalculationView | ||
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 gradebook column calculations 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 | useActiveGradebookColumnCalculationView | ||
Description |
Only active gradebook column calculations are returned by methods in this session. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useAnyStatusGradebookColumnCalculationView | ||
Description |
All active and inactive gradebook column calculations are returned by methods in this session. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getGradebookColumnCalculation | ||
Description |
Gets the | ||
Parameters | osid.id.Id | gradebookColumnCalculationId | Id of the GradebookColumnCalculation |
Return | osid.grading.calculation.GradebookColumnCalculation | the gradebook column calculation | |
Errors | NOT_FOUND | gradebookColumnCalculationId not found | |
NULL_ARGUMENT | gradebookColumnCalculationId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getGradebookColumnCalculationsByIds | ||
Description |
Gets a | ||
Parameters | osid.id.IdList | gradebookColumnCalculationIds | the list of Ids to retrieve |
Return | osid.grading.calculation.GradebookColumnCalculationList | the returned GradebookColumnCalculation list | |
Errors | NOT_FOUND | an Id was not found | |
NULL_ARGUMENT | gradeBookColumnCalculationIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getGradebookColumnCalculationsByGenusType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | gradebookColumnCalculationGenusType | a gradebook column calculation genus type |
Return | osid.grading.calculation.GradebookColumnCalculationList | the returned GradebookColumnCalculation list | |
Errors | NULL_ARGUMENT | gradebookColumnCalculationGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getGradebookColumnCalculationsByParentGenusType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | gradebookColumnCalculationGenusType | a gradebook column calculation genus type |
Return | osid.grading.calculation.GradebookColumnCalculationList | the returned GradebookColumnCalculation list | |
Errors | NULL_ARGUMENT | gradebookColumnCalculationGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getGradebookColumnCalculationsByRecordType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | gradebookColumnCalculationRecordType | a gradebook column calculation record type |
Return | osid.grading.calculation.GradebookColumnCalculationList | the returned GradebookColumnCalculation list | |
Errors | NULL_ARGUMENT | gradebookColumnCalculationRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getGradebookColumnCalculationForGradebookColumn | ||
Description |
Gets the | ||
Parameters | osid.id.Id | gradebookColumnId | Id of a GradebookColumn |
Return | osid.grading.calculation.GradebookColumnCalculation | the gradebook column calculation | |
Errors | NOT_FOUND | gradebookColumnId not found | |
NULL_ARGUMENT | gradebookColumnId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getGradebookColumnCalculationsForGradebookColumns | ||
Description |
Gets a | ||
Parameters | osid.id.IdList | gradebookColumnIds | a list of gradebook column Ids |
Return | osid.grading.calculation.GradebookColumnCalculationList | the returned GradebookColumnCalculation list | |
Errors | NOT_FOUND | an Id was not found | |
NULL_ARGUMENT | gradeBookColumnIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getGradebookColumnCalculations | ||
Description |
Gets all gradebook column calculations. In plenary mode, the returned list contains all known gradebook column calculations or an error results. Otherwise, the returned list may contain only those gradebook column calculations that are accessible through this session. | ||
Return | osid.grading.calculation.GradebookColumnCalculationList | a GradebookColumnCalculationList | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |