OSID Logo
OSID Specifications
learning package
Version 3.0.0
Release Candidate Preview
Interfaceosid.learning.ProficiencyObjectiveBankSession
Implementsosid.OsidSession
Description

This session provides methods to retrieve Proficiency to ObjectiveBank mappings. A Proficiency may appear in multiple ObjectiveBank objects. Each objective bank may have its own authorizations governing who is allowed to look at it.

This lookup session defines several views:

  • comparative view: elements may be silently omitted or re-ordered
  • plenary view: provides a complete result set or is an error condition
MethodcanLookupProficiencyObjectiveBankMappings
Description

Tests if this user can perform lookups of proficiency/objective bank 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
CompliancemandatoryThis method must be implemented.
MethoduseComparativeProficiencyObjectiveBankView
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.
MethodusePlenaryProficiencyObjectiveBankView
Description

A complete view of the Proficiency and ObjectiveBank 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.
MethodgetProficiencyIdsByObjectiveBank
Description

Gets the list of Proficiency Ids associated with a ObjectiveBank.

Parametersosid.id.IdobjectiveBankId Id of the ObjectiveBank
Returnosid.id.IdListlist of related proficiency Ids
ErrorsNOT_FOUND objectiveBankId is not found
NULL_ARGUMENT objectiveBankId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetProficienciesByObjectiveBank
Description

Gets the list of Proficiencies associated with a ObjectiveBank.

Parametersosid.id.IdobjectiveBankId Id of the ObjectiveBank
Returnosid.learning.ProficiencyListlist of related proficiencies
ErrorsNOT_FOUND objectiveBankId is not found
NULL_ARGUMENT objectiveBankId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetProficiencyIdsByObjectiveBanks
Description

Gets the list of Proficiency Ids corresponding to a list of ObjectiveBanks.

Parametersosid.id.IdListobjectiveBankIdslist of objectiveBank Ids
Returnosid.id.IdListlist of proficiency Ids
ErrorsNULL_ARGUMENT objectiveBankIds is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetProficienciesByObjectiveBanks
Description

Gets the list of Proficiencies corresponding to a list of ObjectiveBanks.

Parametersosid.id.IdListobjectiveBankIdslist of objectiveBank Ids
Returnosid.learning.ProficiencyListlist of proficiencies
ErrorsNULL_ARGUMENT objectiveBankIds is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetObjectiveBankIdsByProficiency
Description

Gets the ObjectiveBank Ids mapped to a Proficiency.

Parametersosid.id.IdproficiencyId Id of a Proficiency
Returnosid.id.IdListlist of objective banks
ErrorsNOT_FOUND proficiencyId is not found
NULL_ARGUMENT proficiencyId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetObjectiveBanksByProficiency
Description

Gets the ObjectiveBanks mapped to a Proficiency.

Parametersosid.id.IdproficiencyId Id of a Proficiency
Returnosid.learning.ObjectiveBankListlist of objective banks
ErrorsNOT_FOUND proficiencyId is not found
NULL_ARGUMENT proficiencyId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.