OSID Logo
OSID Specifications
recognition package
Version 3.1.0
Interfaceosid.recognition.AwardAcademySession
Implementsosid.OsidSession
Used Byosid.recognition.RecognitionManager
osid.recognition.RecognitionProxyManager
Description

This session provides methods to retrieve Award to Academy mappings. An Award 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
MethodcanLookupAwardAcademyMappings
Description

Tests if this user can perform lookups of award/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
Compliancemandatory This 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.

Compliancemandatory This method is must be implemented.
MethodusePlenaryAcademyView
Description

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

Compliancemandatory This method is must be implemented.
MethodgetAwardIdsByAcademy
Description

Gets the list of Award Ids associated with an Academy.

Parametersosid.id.IdacademyId Id of an Academy.
Returnosid.id.IdList list of related award Ids
ErrorsNOT_FOUND academyId is not found
NULL_ARGUMENT academyId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodgetAwardsByAcademy
Description

Gets the list of Awards associated with an Academy.

Parametersosid.id.IdacademyId Id of an Academy
Returnosid.recognition.AwardList list of related awards
ErrorsNOT_FOUND academyId is not found
NULL_ARGUMENT academyId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodgetAwardIdsByAcademies
Description

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

Parametersosid.id.IdListacademyIds list of academy Ids
Returnosid.id.IdList list of award Ids
ErrorsNULL_ARGUMENT academyIds is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodgetAwardsByAcademies
Description

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

Parametersosid.id.IdListacademyIds list of academy Ids
Returnosid.recognition.AwardList list of awards
ErrorsNULL_ARGUMENT academyIds is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodgetAcademyIdsByAward
Description

Gets the list of Academy Ids mapped to an Award.

Parametersosid.id.IdawardId Id of an Award
Returnosid.id.IdList list of academy Ids
ErrorsNOT_FOUND awardId is not found
NULL_ARGUMENT awardId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodgetAcademiesByAward
Description

Gets the list of Academy objects mapped to an Award.

Parametersosid.id.IdawardId Id of an Award
Returnosid.recognition.AcademyList list of academies
ErrorsNOT_FOUND awardId is not found
NULL_ARGUMENT awardId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.