| Interface | osid.voting.PollsNotificationSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| 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 | 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 | registerForNewPollsAncestors | ||
| Description |
Registers for notification if an ancestor is added to
the specified polls in the polls hierarchy. | ||
| 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 | registerForNewPollsDescendants | ||
| Description |
Registers for notification if a descendant is added to
the specified polls in the polls hierarchy. | ||
| 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 | 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 | registerForDeletedPollsAncestors | ||
| Description |
Registers for notification if an ancestor is removed
from the specified polls in the polls hierarchy. | ||
| 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 | registerForDeletedPollsDescendants | ||
| Description |
Registers for notification if a descendant is removed
from fthe specified polls in the polls hierarchy. | ||
| 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. | |