OSID Logo
OSID Specifications
learning package
Version 3.1.0
Interfaceosid.learning.ProficiencyObjectiveBankSession
Implementsosid.OsidSession
Used Byosid.learning.LearningManager
osid.learning.LearningProxyManager
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
Compliancemandatory This 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.

Compliancemandatory This 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.

Compliancemandatory This 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.IdList list of related proficiency Ids
ErrorsNOT_FOUND objectiveBankId is not found
NULL_ARGUMENT objectiveBankId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodgetProficienciesByObjectiveBank
Description

Gets the list of Proficiencies associated with a ObjectiveBank.

Parametersosid.id.IdobjectiveBankId Id of the ObjectiveBank
Returnosid.learning.ProficiencyList list of related proficiencies
ErrorsNOT_FOUND objectiveBankId is not found
NULL_ARGUMENT objectiveBankId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodgetProficiencyIdsByObjectiveBanks
Description

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

Parametersosid.id.IdListobjectiveBankIds list of objectiveBank Ids
Returnosid.id.IdList list of proficiency Ids
ErrorsNULL_ARGUMENT objectiveBankIds is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodgetProficienciesByObjectiveBanks
Description

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

Parametersosid.id.IdListobjectiveBankIds list of objectiveBank Ids
Returnosid.learning.ProficiencyList list of proficiencies
ErrorsNULL_ARGUMENT objectiveBankIds is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodgetObjectiveBankIdsByProficiency
Description

Gets the ObjectiveBank Ids mapped to a Proficiency.

Parametersosid.id.IdproficiencyId Id of a Proficiency
Returnosid.id.IdList list of objective banks
ErrorsNOT_FOUND proficiencyId is not found
NULL_ARGUMENT proficiencyId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodgetObjectiveBanksByProficiency
Description

Gets the ObjectiveBanks mapped to a Proficiency.

Parametersosid.id.IdproficiencyId Id of a Proficiency
Returnosid.learning.ObjectiveBankList list of objective banks
ErrorsNOT_FOUND proficiencyId is not found
NULL_ARGUMENT proficiencyId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.