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

This session defines methods to receive notifications on adds/changes to Convocations. 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.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.
MethodcanRegisterForConvocationNotifications
Description

Tests if this user can register for Convocation 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
Compliancemandatory This method must be implemented.
MethoduseFederatedAcademyView
Description

Federates the view for methods in this session. A federated view will include convocations 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.
MethodreliableConvocationNotifications
Description

Reliable notifications are desired. In reliable mode, notifications are to be acknowledged using acknowledgeConvocationNotification().

Compliancemandatory This method is must be implemented.
MethodunreliableConvocationNotifications
Description

Unreliable notifications are desired. In unreliable mode, notifications do not need to be acknowledged.

Compliancemandatory This method is must be implemented.
MethodacknowledgeConvocationNotification
Description

Acknowledge a convocation notification.

Parametersosid.id.IdnotificationId the Id of the notification
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForNewConvocations
Description

Register for notifications of new convocations. ConvocationReceiver.newConvocations() is invoked when a new Convocation is created.

ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForChangedConvocations
Description

Registers for notification of updated convocations. ConvocationReceiver.changedConvocations() is invoked when a convocation is changed.

ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForChangedConvocation
Description

Registers for notification of an updated convocation. ConvocationReceiver.changedConvocations() is invoked when the specified convocation is changed.

Parametersosid.id.IdconvocationId the Id of the Convocation to monitor
ErrorsNULL_ARGUMENT convocationId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForDeletedConvocations
Description

Registers for notification of deleted convocations. ConvocationReceiver.deletedConvocations() is invoked when a convocation is deleted.

ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForDeletedConvocation
Description

Registers for notification of a deleted convocation. ConvocationReceiver.deletedConvocations() is invoked when the specified convocation is deleted.

Parametersosid.id.IdconvocationId the Id of the Convocation to monitor
ErrorsNULL_ARGUMENT convocationId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.