| Interface | osid.financials.ActivityNotificationSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Used By | osid.financials.FinancialsManager | ||
osid.financials.FinancialsProxyManager | |||
| Description |
This session defines methods to receive notifications on
adds/changes to The two views defined in this session correspond to the
views in the | ||
| Method | getBusinessId | ||
| Description |
Gets the | ||
| Return | osid.id.Id | the Business Id associated with this session | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getBusiness | ||
| Description |
Gets the | ||
| Return | osid.financials.Business | the business | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canRegisterForActivityNotifications | ||
| Description |
Tests if this user can register for
| ||
| Return | boolean | false if notification methods are not authorized,
true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | useFederatedBusinessView | ||
| Description |
Federates the view for methods in this session. A federated view will include activities in catalogs which are children of this catalog in the business hierarchy. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useIsolatedBusinessView | ||
| Description |
Isolates the view for methods in this session. An isolated view restricts notifications to this business only. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | reliableActivityNotifications | ||
| Description |
Reliable notifications are desired. In reliable mode,
notifications are to be acknowledged using
| ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | unreliableActivityNotifications | ||
| Description |
Unreliable notifications are desired. In unreliable mode, notifications do not need to be acknowledged. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | acknowledgeActivityNotification | ||
| Description |
Acknowledge an activity notification. | ||
| Parameters | osid.id.Id | notificationId | the Id of the notification |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForNewActivities | ||
| Description |
Register for notifications of new activities.
| ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedActivities | ||
| Description |
Registers for notification of updated activities.
| ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedActivity | ||
| Description |
Registers for notification of an updated activity.
| ||
| Parameters | osid.id.Id | activityId | the Id of the Activity to monitor |
| Errors | NULL_ARGUMENT | activityId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedActivities | ||
| Description |
Registers for notification of deleted activities.
| ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedActivity | ||
| Description |
Registers for notification of a deleted activity.
| ||
| Parameters | osid.id.Id | activityId | the Id of the Activity to monitor |
| Errors | NULL_ARGUMENT | activityId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedActivityHierarchy | ||
| Description |
Registers for notification of an updated activity
hierarchy structure.
| ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedActivityHierarchyForAncestors | ||
| Description |
Registers for notification of an updated activity
hierarchy structure.
| ||
| Parameters | osid.id.Id | activityId | the Id of the Activity node to monitor |
| Errors | NULL_ARGUMENT | activityId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedActivityHierarchyForDescendants | ||
| Description |
Registers for notification of an updated activity
hierarchy structure.
| ||
| Parameters | osid.id.Id | activityId | the Id of the Activity node to monitor |
| Errors | NULL_ARGUMENT | activityId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |