| Interface | osid.voting.PollsNotificationSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Used By | osid.voting.VotingManager | ||
osid.voting.VotingProxyManager | |||
| Description |
This session defines methods to receive notifications on
adds/changes to | ||
| Method | canRegisterForPollsNotifications | ||
| 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 | reliablePollsNotifications | ||
| Description |
Reliable notifications are desired. In reliable mode,
notifications are to be acknowledged using
| ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | unreliablePollsNotifications | ||
| Description |
Unreliable notifications are desired. In unreliable mode, notifications do not need to be acknowledged. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | acknowledgePollsNotification | ||
| Description |
Acknowledge a polls 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 | registerForNewPolls | ||
| Description |
Register for notifications of new polls.
| ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedPolls | ||
| Description |
Registers for notification of updated polls.
| ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedPolls | ||
| Description |
Registers for notification of an updated polls.
| ||
| Parameters | osid.id.Id | pollsId | the Id of the Polls to monitor |
| Errors | NULL_ARGUMENT | pollsId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedPolls | ||
| Description |
Registers for notification of deleted polls.
| ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedPolls | ||
| Description |
Registers for notification of a deleted polls.
| ||
| Parameters | osid.id.Id | pollsId | the Id of the Polls to monitor |
| Errors | NULL_ARGUMENT | pollsId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedPollsHierarchy | ||
| Description |
Registers for notification of an updated polls
hierarchy structure.
| ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedPollsHierarchyForAncestors | ||
| Description |
Registers for notification of an updated polls
hierarchy structure.
| ||
| Parameters | osid.id.Id | pollsId | the Id of the Polls node to monitor |
| Errors | NULL_ARGUMENT | pollsId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedPollsHierarchyForDescendants | ||
| Description |
Registers for notification of an updated polls
hierarchy structure.
| ||
| Parameters | osid.id.Id | pollsId | the Id of the Polls node to monitor |
| Errors | NULL_ARGUMENT | pollsId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |