OSID Logo
OSID Specifications
grading transform package
Version 3.0.0
Release Candidate Preview
Interfaceosid.grading.transform.GradeSystemTransformLookupSession
Implementsosid.OsidSession
Description

The session defines methods for retrieving GradeSystemTransformations.

Two views are defined in this session:

  • comparative view: elements may be silently omitted or re-ordered
  • plenary view: provides a complete set or is an error condition
  • federated gradebook view: lookups include grade system transformations from this gradebook and other gradebooks which are children of this gradebook in the gradebook hierarchy
  • isolated gradebook view: lookups include only those grade system transformations defined in this gradebook
  • active grade system transormations view: All grade system transormation lookup methods return active grade system transormations.
  • any status grade system transormations view: Grade system transormations of any active or inactive status are returned from methods.

Grades system transformations may have an additional records indicated by their respective record types. The record may not be accessed through a cast of the object.

MethodgetGradebookId
Description

Gets the Gradebook Id associated with this session.

Returnosid.id.Idthe Gradebook Id associated with this session
CompliancemandatoryThis method must be implemented.
MethodgetGradebook
Description

Gets the Gradebook associated with this session.

Returnosid.grading.Gradebookthe Gradebook associated with this session
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodcanLookupGradeSystemTransforms
Description

Tests if this user can lookup grade articulations. A return of true does not guarantee successful authorization. A return of false indicates that it is known all 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 articulation lookup methods are not authorized, true otherwise
CompliancemandatoryThis method must be implemented.
MethoduseFederatedGradebookView
Description

Federates the view for methods in this session. A federated view will include notifications for grade system transformations in gradebooks which are children of this gradebook in the gradebook hierarchy.

CompliancemandatoryThis method is must be implemented.
MethoduseIsolatedGradebookView
Description

Isolates the view for methods in this session. An isolated view restricts grade system transformations to this gradebook only.

CompliancemandatoryThis method is must be implemented.
MethoduseComparativeGradeSystemTransformView
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.

CompliancemandatoryThis method is must be implemented.
MethodusePlenaryGradeSystemTransformView
Description

A complete view of the GradeSystemTransform 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.

CompliancemandatoryThis method is must be implemented.
MethoduseActiveGradeSystemTransformView
Description

Only active grade system transformations are returned by methods in this session.

CompliancemandatoryThis method is must be implemented.
MethoduseAnyStatusGradeSystemTransformView
Description

All active and inactive grade system transformations are returned by methods in this session.

CompliancemandatoryThis method is must be implemented.
MethodgetGradeSystemTransform
Description

Gets the GradeSystemTransform specified by its Id. In plenary mode, the exact Id is found or a NOT_FOUND results. Otherwise, the returned GradeSystemTransform may have a different Id than requested, such as the case where a duplicate Id was assigned to a GradeSystemTransform and retained for compatibility.

Parametersosid.id.IdgradeSystemTransformId Id of the GradeSystemTransform
Returnosid.grading.transform.GradeSystemTransformthe grade system transorm
ErrorsNOT_FOUND gradeSystemTransformId not found
NULL_ARGUMENT gradeSystemTransformId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method is must be implemented.
MethodgetGradeSystemTransformsByIds
Description

Gets a GradeSystemTransformList corresponding to the given IdList. In plenary mode, the returned list contains all of the transforms specified in the Id list, in the order of the list, including duplicates, or an error results if an Id in the supplied list is not found or inaccessible. Otherwise, inaccessible GradeSystemTransforms may be omitted from the list and may present the elements in any order including returning a unique set.

Parametersosid.id.IdListgradeSystemTransformIdListthe list of Ids to retrieve
Returnosid.grading.transform.GradeSystemTransformListthe returned GradeSystemTransform list
ErrorsNOT_FOUNDan Id was not found
NULL_ARGUMENT gradeSystemTransformIdList is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetGradeSystemTransformsByGenusType
Description

Gets a GradeSystemTransformList corresponding to the given grade system transform genus Type which does not include transforms of genus types derived from the specified Type. In plenary mode, the returned list contains all known transforms or an error results. Otherwise, the returned list may contain only those transforms that are accessible through this session.

Parametersosid.type.TypegradeSystemTransformGenusTypea grade system transform genus type
Returnosid.grading.transform.GradeSystemTransformListthe returned GradeSystemTransform list
ErrorsNULL_ARGUMENT gradeSystemTransformGenusType is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetGradeSystemTransformsByParentGenusType
Description

Gets a GradeSystemTransformList corresponding to the given grade system transform genus Type and include any additional transforms with genus types derived from the specified Type. In plenary mode, the returned list contains all known transforms or an error results. Otherwise, the returned list may contain only those transforms that are accessible through this session.

Parametersosid.type.TypegradeSystemTransformGenusTypea grade system transform genus type
Returnosid.grading.transform.GradeSystemTransformListthe returned GradeSystemTransform list
ErrorsNULL_ARGUMENT gradeSystemTransformGenusType is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetGradeSystemTransformsByRecordType
Description

Gets a GradeSystemTransformList containing the given grade record Type. In plenary mode, the returned list contains all known transforms or an error results. Otherwise, the returned list may contain only those transforms that are accessible through this session.

Parametersosid.type.TypegradeSystemTransformRecordTypea grade system transform record type
Returnosid.grading.transform.GradeSystemTransformListthe returned GradeSystemTransform list
ErrorsNULL_ARGUMENT gradeSystemTransformGenusType is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetGradeSystemTransformsBySource
Description

Gets the grade system transforms from the source grade system. In plenary mode, the returned list contains all known grade system transforms or an error results. Otherwise, the returned list may contain only those grade system transforms that are accessible through this session.

Parametersosid.id.IdsourceGradeSystemIdthe source grade system
Returnosid.grading.transform.GradeSystemTransformListthe returned GradeSystemTransform list
ErrorsNOT_FOUND sourceGradeSystemId not found
NULL_ARGUMENT sourceGradeSystemId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetGradeSystemTransformBySystems
Description

Gets a grade system transform by its source and target grade systems. In plenary mode, the returned list contains all known grade system transforms or an error results. Otherwise, the returned list may contain only those grade system transforms that are accessible through this session.

Parametersosid.id.IdsourceGradeSystemIdthe source grade system
osid.id.IdtargetGradeSystemIdthe target grade system
Returnosid.grading.transform.GradeSystemTransformthe returned GradeSystemTransform
ErrorsNOT_FOUNDtransform not found
NULL_ARGUMENT sourceGradeSystemId or targetGradeSystemId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetGradeSystemTransforms
Description

Gets all GradeSystemTransforms. In plenary mode, the returned list contains all known grade system transforms or an error results. Otherwise, the returned list may contain only those grade system transforms that are accessible through this session.

Returnosid.grading.transform.GradeSystemTransformLista GradeSystemTransformList
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.