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

This session defines methods for retrieving conferrals.

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
  • isolated academy view: All conferral methods in this session operate, retrieve and pertain to conferrals defined explicitly in the current academy. Using an isolated view is useful for managing conferrals with the ConferralAdminSession.
  • federated academy view: All conferral lookup methods in this session operate, retrieve and pertain to all conferrals defined in this academy and any other academies implicitly available in this academy through academy inheritence.
  • effective conferral view: All conferral lookup methods return conferrals where the current dates falls in between the effective dates inclusive.
  • any effective conferral view: Conferrals of any effective date are returned.

The methods useFederatedAcademyView() and useIsolatedAcademyView() behave as a radio group and one should be selected before invoking any lookup methods.

MethodgetAcademyId
Description

Gets the Academy Id associated with this session.

Returnosid.id.Idthe Academy Id associated with this session
CompliancemandatoryThis method must be implemented.
MethodgetAcademy
Description

Gets the Academy associated with this session.

Returnosid.recognition.Academythe academy
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodcanLookupConferrals
Description

Tests if this user can lookup conferrals. 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 these operations.

Returnboolean false if conferral lookup methods are not authorized, true otherwise
CompliancemandatoryThis method must be implemented.
MethoduseComparativeConferralView
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.
MethodusePlenaryConferralView
Description

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

Federates the view for methods in this session. A federated view will include conferrals in academies which are children of this academy in the academy hierarchy.

CompliancemandatoryThis method is must be implemented.
MethoduseIsolatedAcademyView
Description

Isolates the view for methods in this session. An isolated view restricts retrievals to this academy only.

CompliancemandatoryThis method is must be implemented.
MethoduseEffectiveConferralView
Description

Only conferrals whose effective dates are current are returned by methods in this session.

CompliancemandatoryThis method is must be implemented.
MethoduseAnyEffectiveConferralView
Description

All conferrals of any effective dates are returned by all methods in this session.

CompliancemandatoryThis method is must be implemented.
MethodgetConferral
Description

Gets the Conferral specified by its Id.

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

In effective mode, conferrals are returned that are currently effective. In any effective mode, effective conferrals and those currently expired are returned.

Parametersosid.id.IdconferralIdthe Id of the Conferral to retrieve
Returnosid.recognition.Conferralthe returned Conferral
ErrorsNOT_FOUNDno Conferral found with the given Id
NULL_ARGUMENT conferralId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetConferralsByIds
Description

Gets a ConferralList corresponding to the given IdList.

In plenary mode, the returned list contains all of the conferrals 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 conferrals may be omitted from the list and may present the elements in any order including returning a unique set.

In effective mode, conferrals are returned that are currently effective. In any effective mode, effective conferrals and those currently expired are returned.

Parametersosid.id.IdListconferralIdsthe list of Ids to retrieve
Returnosid.recognition.ConferralListthe returned Conferral list
ErrorsNOT_FOUNDan Id was not found
NULL_ARGUMENT conferralIds is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetConferralsByGenusType
Description

Gets a ConferralList corresponding to the given conferral genus Type which does not include conferrals of genus types derived from the specified Type.

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

In effective mode, conferrals are returned that are currently effective. In any effective mode, effective conferrals and those currently expired are returned.

Parametersosid.type.TypeconferralGenusTypea conferral genus type
Returnosid.recognition.ConferralListthe returned Conferral list
ErrorsNULL_ARGUMENT conferralGenusType is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetConferralsByParentGenusType
Description

Gets a ConferralList corresponding to the given conferral genus Type and include any additional conferrals with genus types derived from the specified Type.

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

In effective mode, conferrals are returned that are currently effective. In any effective mode, effective conferrals and those currently expired are returned.

Parametersosid.type.TypeconferralGenusTypea conferral genus type
Returnosid.recognition.ConferralListthe returned Conferral list
ErrorsNULL_ARGUMENT conferralGenusType is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetConferralsByRecordType
Description

Gets a ConferralList containing the given conferral record Type.

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

In effective mode, conferrals are returned that are currently effective. In any effective mode, effective conferrals and those currently expired are returned.

Parametersosid.type.TypeconferralRecordTypea conferral record type
Returnosid.recognition.ConferralListthe returned Conferral list
ErrorsNULL_ARGUMENT conferralRecordType is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetConferralsOnDate
Description

Gets a list of conferrals effective during the entire given date range inclusive but not confined to the date range.

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

In effective mode, conferrals are returned that are currently effective. In any effective mode, effective conferrals and those currently expired are returned.

Parametersosid.calendaring.DateTimefromthe starting date
osid.calendaring.DateTimetothe ending date
Returnosid.recognition.ConferralListthe returned ConferralList
ErrorsINVALID_ARGUMENT from is greater than to
NULL_ARGUMENT from or to is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetConferralsForRecipient
Description

Gets a list of conferrals corresponding to a resource Id.

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

In effective mode, conferrals are returned that are currently effective. In any effective mode, effective conferrals and those currently expired are returned.

Parametersosid.id.IdresourceIdthe Id of the resource
Returnosid.recognition.ConferralListthe returned ConferralList
ErrorsNULL_ARGUMENT resourceId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetConferralsForRecipientOnDate
Description

Gets a list of all conferrals corresponding to a resource Id and effective during the entire given date range inclusive but not confined to the date range.

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

In effective mode, conferrals are returned that are currently effective. In any effective mode, effective conferrals and those currently expired are returned.

Parametersosid.id.IdresourceIda resource Id
osid.calendaring.DateTimefromfrom date
osid.calendaring.DateTimetoto date
Returnosid.recognition.ConferralListthe returned ConferralList
ErrorsINVALID_ARGUMENT to is less than from
NULL_ARGUMENT resourceId, from, or to is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetConferralsForAward
Description

Gets a list of all conferrals corresponding to an award Id.

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

In effective mode, conferrals are returned that are currently effective. In any effective mode, effective conferrals and those currently expired are returned.

Parametersosid.id.IdawardIdthe Id of the award
Returnosid.recognition.ConferralListthe returned ConferralList
ErrorsNULL_ARGUMENT awardId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetConferralsForAwardOnDate
Description

Gets a list of all conferrals corresponding to an award Id and effective during the entire given date range inclusive but not confined to the date range.

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

In effective mode, conferrals are returned that are currently effective. In any effective mode, effective conferrals and those currently expired are returned.

Parametersosid.id.IdawardIdan award Id
osid.calendaring.DateTimefromfrom date
osid.calendaring.DateTimetoto date
Returnosid.recognition.ConferralListthe returned ConferralList
ErrorsINVALID_ARGUMENT to is less than from
NULL_ARGUMENT awardId, from, or to is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetConferralsForRecipientAndAward
Description

Gets a list of conferralsfor the given resource and award.

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

In effective mode, conferrals are returned that are currently effective. In any effective mode, effective conferrals and those currently expired are returned.

Parametersosid.id.IdresourceIdthe Id of the resource
osid.id.Idawardidthe Id of the award
Returnosid.recognition.ConferralListthe returned ConferralList
ErrorsNULL_ARGUMENT resourceId or awardId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetConferralsForRecipientAndAwardOnDate
Description

Gets a list of all conferrals for the given resource, award, and effective during the entire given date range inclusive but not confined to the date range.

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

In effective mode, conferrals are returned that are currently effective. In any effective mode, effective conferrals and those currently expired are returned.

Parametersosid.id.IdresourceIda resource Id
osid.id.Idawardidan award Id
osid.calendaring.DateTimefromfrom date
osid.calendaring.DateTimetoto date
Returnosid.recognition.ConferralListthe returned ConferralList
ErrorsINVALID_ARGUMENT to is less than from
NULL_ARGUMENT resourceId, awardid, from, or to is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetConferralsByReference
Description

Gets a list of conferrals corresponding to a reference Id.

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

In effective mode, conferrals are returned that are currently effective. In any effective mode, effective conferrals and those currently expired are returned.

Parametersosid.id.IdreferenceIdthe Id of the reference
Returnosid.recognition.ConferralListthe returned ConferralList
ErrorsNULL_ARGUMENT referenceId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetConferralsByReferenceOnDate
Description

Gets a list of all conferrals corresponding to a reference Id and effective during the entire given date range inclusive but not confined to the date range.

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

In effective mode, conferrals are returned that are currently effective. In any effective mode, effective conferrals and those currently expired are returned.

Parametersosid.id.IdreferenceIda reference Id
osid.calendaring.DateTimefromfrom date
osid.calendaring.DateTimetoto date
Returnosid.recognition.ConferralListthe returned ConferralList
ErrorsINVALID_ARGUMENT to is less than from
NULL_ARGUMENT referenceId, from or to is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetConferralsByConvocation
Description

Gets a list of all conferrals corresponding to a convocation Id.

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

In effective mode, conferrals are returned that are currently effective. In any effective mode, effective conferrals and those currently expired are returned.

Parametersosid.id.IdconvocationIdthe Id of the convocation
Returnosid.recognition.ConferralListthe returned ConferralList
ErrorsNULL_ARGUMENT convocationId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetConferralsByConvocationOnDate
Description

Gets a list of all conferrals corresponding to a convocation Id and effective during the entire given date range inclusive but not confined to the date range.

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

In effective mode, conferrals are returned that are currently effective. In any effective mode, effective conferrals and those currently expired are returned.

Parametersosid.id.IdconvocationIda convocation Id
osid.calendaring.DateTimefromfrom date
osid.calendaring.DateTimetoto date
Returnosid.recognition.ConferralListthe returned ConferralList
ErrorsINVALID_ARGUMENT to is less than from
NULL_ARGUMENT convocationId, from, or to is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetConferrals
Description

Gets all conferrals.

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

In effective mode, conferrals are returned that are currently effective. In any effective mode, effective conferrals and those currently expired are returned.

Returnosid.recognition.ConferralLista list of conferrals
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.