OSID Logo
OSID Specifications
recognition package
Version 3.0.0
Release Candidate Preview
Interfaceosid.recognition.ConferralAcademySession
Implementsosid.OsidSession
Description

This session provides methods to retrieve Conferral to Academy mappings. A Conferral may appear in multiple Academies. Each Academy 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
MethodcanLookupConferralAcademyMappings
Description

Tests if this user can perform lookups of conferral/academy 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 intendedas 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.
MethoduseComparativeAcademyView
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.
MethodusePlenaryAcademyView
Description

A complete view of the Conferral and Academy 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.
MethodgetConferralIdsByAcademy
Description

Gets the list of Conferral Ids associated with an Academy.

Parametersosid.id.IdacademyId Id of an Academy.
Returnosid.id.IdListlist of related conferral Ids
ErrorsNOT_FOUND academyId is not found
NULL_ARGUMENT academyId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetConferralsByAcademy
Description

Gets the list of Conferrals associated with an Academy.

Parametersosid.id.IdacademyId Id of an Academy
Returnosid.recognition.ConferralListlist of related conferrals
ErrorsNOT_FOUND academyId is not found
NULL_ARGUMENT academyId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetConferralIdsByAcademies
Description

Gets the list of Conferral Ids corresponding to a list of Academy objects.

Parametersosid.id.IdListacademyIdslist of academy Ids
Returnosid.id.IdListlist of conferral Ids
ErrorsNULL_ARGUMENT academyIds is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetConferralsByAcademies
Description

Gets the list of Conferrals corresponding to a list of Academies.

Parametersosid.id.IdListacademyIdslist of academy Ids
Returnosid.recognition.ConferralListlist of conferrals
ErrorsNULL_ARGUMENT academyIds is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetAcademyIdsByConferral
Description

Gets the list of Academy Ids mapped to a Conferral.

Parametersosid.id.IdconferralId Id of a Conferral
Returnosid.id.IdListlist of academy Ids
ErrorsNOT_FOUND conferralId is not found
NULL_ARGUMENT conferralId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetAcademiesByConferral
Description

Gets the list of Academy objects mapped to a Conferral.

Parametersosid.id.IdconferralId Id of a Conferral
Returnosid.recognition.AcademyListlist of academies
ErrorsNOT_FOUND conferralId is not found
NULL_ARGUMENT conferralId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.