OSID Logo
OSID Specifications
grading package
Version 3.1.0
Interfaceosid.grading.GradebookColumnGradebookSession
Implementsosid.OsidSession
Used Byosid.grading.GradingManager
osid.grading.GradingProxyManager
Description

This session provides methods to retrieve GradebookColumn to Gradebook mappings. A GradebookColumn may appear in multiple Gradebooks. Each Gradebook may have its own authorizations governing who is allowed to look at it.

This lookup session defines two views:

  • comparative view: elements may be silently omitted or re-ordered
  • plenary view: provides a complete result set or is an error condition
MethoduseComparativeGradebookView
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.

Compliancemandatory This method is must be implemented.
MethodusePlenaryGradebookView
Description

A complete view of the GradebookColumn and Gradebook returns is desired. Methods will return what is requested or result in an error. This view is used when greater precision is desired at the expense of interoperability.

Compliancemandatory This method is must be implemented.
MethodcanLookupGradebookColumnGradebookMappings
Description

Tests if this user can perform lookups of gradebook/column mappings. A return of true does not guarantee successful authorization. A return of false indicates that it is known lookup methods in this session will result in a PERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer lookup operations to unauthorized users.

Returnboolean false if looking up mappings is not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethodgetGradebookColumnIdsByGradebook
Description

Gets the list of GradebookColumn Ids associated with a Gradebook.

Parametersosid.id.IdgradebookId Id of the Gradebook
Returnosid.id.IdList list of related gradebook column Ids
ErrorsNOT_FOUND gradebookId is not found
NULL_ARGUMENT gradebookId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodgetGradebookColumnsByGradebook
Description

Gets the list of gradebook columns associated with a Gradebook.

Parametersosid.id.IdgradebookId Id of the Gradebook
Returnosid.grading.GradebookColumnList list of related gradebook columns
ErrorsNOT_FOUND gradebookId is not found
NULL_ARGUMENT gradebookId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodgetGradebookColumnIdsByGradebooks
Description

Gets the list of GradebookColumnIds corresponding to a list of Gradebooks.

Parametersosid.id.IdListgradebookIds list of gradebook Ids
Returnosid.id.IdList list of gradebook column Ids
ErrorsNULL_ARGUMENT gradebookIds is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodgetGradebookColumnsByGradebooks
Description

Gets the list of gradebook columns corresponding to a list of Gradebooks.

Parametersosid.id.IdListgradebookIds list of gradebook Ids
Returnosid.grading.GradebookColumnList list of gradebook columns
ErrorsNULL_ARGUMENT gradebookIds is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodgetGradebookIdsByGradebookColumn
Description

Gets the list of Gradebook Ids mapped to a GradebookColumn.

Parametersosid.id.IdgradebookColumnId Id of a GradebookColumn
Returnosid.id.IdList list of gradebook Ids
ErrorsNOT_FOUND gradebookColumnId is not found
NULL_ARGUMENT gradebookColumnId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodgetGradebooksByGradebookColumn
Description

Gets the list of Gradebooks mapped to a GradebookColumn.

Parametersosid.id.IdgradebookColumnId Id of a GradebookColumn
Returnosid.grading.GradebookList list of gradebooks
ErrorsNOT_FOUND gradebookColumnId is not found
NULL_ARGUMENT gradebookColumnId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.