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

This session defines methods to receive notifications on adds/changes to Conferral objects. This session is intended for consumers needing to synchronize their state with this service without the use of polling. Notifications are cancelled when this session is closed.

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.
MethodcanRegisterForConferralNotifications
Description

Tests if this user can register for Conferral notifications. 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 notification operations.

Returnboolean false if notification methods are not authorized, true otherwise
CompliancemandatoryThis method 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.
MethodregisterForNewConferrals
Description

Register for notifications of new conferrals. ConferralReceiver.newConferrals() is invoked when a new Conferral is created.

ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodregisterForNewConferralsForRecipient
Description

Register for notifications of new conferrals for the given recipient Id. ConferralReceiver.newConferrals() is invoked when a new Conferral is created.

Parametersosid.id.IdresourceIdthe Id of the recipient to monitor
ErrorsNULL_ARGUMENT resourceId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodregisterForNewConferralsForAward
Description

Register for notifications of new conferrals for the given reference Id. ConferralReceiver.newConferrals() is invoked when a new Conferral is created.

Parametersosid.id.IdawardIdthe Id of the award to monitor
ErrorsNULL_ARGUMENT awardId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodregisterForNewConferralsByConvocation
Description

Register for notifications of new conferrals for the given convocation Id. ConferralReceiver.newConferrals() is invoked when a new Conferral is created.

Parametersosid.id.IdconvocationIdthe Id of the convocation to monitor
ErrorsNULL_ARGUMENT convocationId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodregisterForChangedConferrals
Description

Registers for notification of updated conferrals. ConferralReceiver.changedConferrals() is invoked when a conferral is changed.

ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodregisterForChangedConferralsForRecipient
Description

Register for notifications of changed conferrals for the given recipient Id. ConferralReceiver.changedConferrals() is invoked when a Conferral for the recipient is changed.

Parametersosid.id.IdresourceIdthe Id of the resource to monitor
ErrorsNULL_ARGUMENT resourceId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodregisterForChangedConferralsForAward
Description

Register for notifications of changed conferrals for the given award Id. ConferralReceiver.changedConferrals() is invoked when a Conferral for the award is changed.

Parametersosid.id.IdawardIdthe Id of the award to monitor
ErrorsNULL_ARGUMENT awardId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodregisterForChangedConferralsByConvocation
Description

Register for notifications of changed conferrals for the given award Id. ConferralReceiver.changedConferrals() is invoked when a Conferral for the convocation is changed.

Parametersosid.id.IdconvocationIdthe Id of the convocation to monitor
ErrorsNULL_ARGUMENT convocationId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodregisterForChangedConferral
Description

Registers for notification of an updated conferral. ConferralReceiver.changedConferrals() is invoked when the specified conferral is changed.

Parametersosid.id.IdconferralIdthe Id of the Conferral to monitor
ErrorsNULL_ARGUMENT conferralId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodregisterForDeletedConferrals
Description

Registers for notification of deleted conferrals. ConferralReceiver.deletedConferrals() is invoked when a conferral is deleted.

ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodregisterForDeletedConferralsForRecipient
Description

Register for notifications of deleted conferrals for the given recipient Id. ConferralReceiver.deletedConferrals() is invoked when a Conferral for the recipient is deleted.

Parametersosid.id.IdresourceIdthe Id of the recipient to monitor
ErrorsNULL_ARGUMENT recipientId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodregisterForDeletedConferralsForAward
Description

Register for notifications of deleted conferrals for the given award Id. ConferralReceiver.deletedConferrals() is invoked when a Conferral for the award is deleted.

Parametersosid.id.IdawardIdthe Id of the award to monitor
ErrorsNULL_ARGUMENT awardId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodregisterForDeletedConferralsByConvocation
Description

Register for notifications of deleted conferrals for the given convocation Id. ConferralReceiver.deletedConferrals() is invoked when a Conferral for the convocation is deleted.

Parametersosid.id.IdconvocationIdthe Id of the convocation to monitor
ErrorsNULL_ARGUMENT convocationId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodregisterForDeletedConferral
Description

Registers for notification of a deleted conferral. ConferralReceiver.deletedConferrals() is invoked when the specified conferral is deleted.

Parametersosid.id.IdconferralIdthe Id of the Conferral to monitor
ErrorsNULL_ARGUMENT conferralId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.