OSID Logo
OSID Specifications
recognition package
Version 3.1.0
Interfaceosid.recognition.ConferralLookupSession
Implementsosid.OsidSession
Used Byosid.recognition.RecognitionManager
osid.recognition.RecognitionProxyManager
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.Id the Academy Id associated with this session
Compliancemandatory This method must be implemented.
MethodgetAcademy
Description

Gets the Academy associated with this session.

Returnosid.recognition.Academy the academy
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This 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
Compliancemandatory This 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.

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

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

Compliancemandatory This method is must be implemented.
MethoduseIsolatedAcademyView
Description

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

Compliancemandatory This method is must be implemented.
MethoduseEffectiveConferralView
Description

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

Compliancemandatory This method is must be implemented.
MethoduseAnyEffectiveConferralView
Description

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

Compliancemandatory This 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.IdconferralId the Id of the Conferral to retrieve
Returnosid.recognition.Conferral the returned Conferral
ErrorsNOT_FOUND no Conferral found with the given Id
NULL_ARGUMENT conferralId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This 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.IdListconferralIds the list of Ids to retrieve
Returnosid.recognition.ConferralList the returned Conferral list
ErrorsNOT_FOUND an Id was not found
NULL_ARGUMENT conferralIds is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This 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.TypeconferralGenusType a conferral genus type
Returnosid.recognition.ConferralList the returned Conferral list
ErrorsNULL_ARGUMENT conferralGenusType is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This 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.TypeconferralGenusType a conferral genus type
Returnosid.recognition.ConferralList the returned Conferral list
ErrorsNULL_ARGUMENT conferralGenusType is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This 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.TypeconferralRecordType a conferral record type
Returnosid.recognition.ConferralList the returned Conferral list
ErrorsNULL_ARGUMENT conferralRecordType is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This 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.DateTimefrom the starting date
osid.calendaring.DateTimeto the ending date
Returnosid.recognition.ConferralList the returned ConferralList
ErrorsINVALID_ARGUMENT from is greater than to
NULL_ARGUMENT from or to is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This 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.IdresourceId the Id of the resource
Returnosid.recognition.ConferralList the returned ConferralList
ErrorsNULL_ARGUMENT resourceId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This 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.IdresourceId a resource Id
osid.calendaring.DateTimefrom from date
osid.calendaring.DateTimeto to date
Returnosid.recognition.ConferralList the returned ConferralList
ErrorsINVALID_ARGUMENT to is less than from
NULL_ARGUMENT resourceId, from, or to is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This 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.IdawardId the Id of the award
Returnosid.recognition.ConferralList the returned ConferralList
ErrorsNULL_ARGUMENT awardId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This 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.IdawardId an award Id
osid.calendaring.DateTimefrom from date
osid.calendaring.DateTimeto to date
Returnosid.recognition.ConferralList the returned ConferralList
ErrorsINVALID_ARGUMENT to is less than from
NULL_ARGUMENT awardId, from, or to is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This 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.IdresourceId the Id of the resource
osid.id.Idawardid the Id of the award
Returnosid.recognition.ConferralList the returned ConferralList
ErrorsNULL_ARGUMENT resourceId or awardId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This 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.IdresourceId a resource Id
osid.id.Idawardid an award Id
osid.calendaring.DateTimefrom from date
osid.calendaring.DateTimeto to date
Returnosid.recognition.ConferralList the returned ConferralList
ErrorsINVALID_ARGUMENT to is less than from
NULL_ARGUMENT resourceId, awardid, from, or to is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This 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.IdreferenceId the Id of the reference
Returnosid.recognition.ConferralList the returned ConferralList
ErrorsNULL_ARGUMENT referenceId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This 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.IdreferenceId a reference Id
osid.calendaring.DateTimefrom from date
osid.calendaring.DateTimeto to date
Returnosid.recognition.ConferralList the returned ConferralList
ErrorsINVALID_ARGUMENT to is less than from
NULL_ARGUMENT referenceId, from or to is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This 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.IdconvocationId the Id of the convocation
Returnosid.recognition.ConferralList the returned ConferralList
ErrorsNULL_ARGUMENT convocationId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This 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.IdconvocationId a convocation Id
osid.calendaring.DateTimefrom from date
osid.calendaring.DateTimeto to date
Returnosid.recognition.ConferralList the returned ConferralList
ErrorsINVALID_ARGUMENT to is less than from
NULL_ARGUMENT convocationId, from, or to is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This 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.ConferralList a list of conferrals
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.