| Interface | osid.voting.rules.BallotConstrainerEnablerNotificationSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| 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 | getPollsId | ||
| Description |
Gets the | ||
| Return | osid.id.Id | the Polls Id associated with this session | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getPolls | ||
| Description |
Gets the | ||
| Return | osid.voting.Polls | the polls | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canRegisterForBallotConstrainerEnablerNotifications | ||
| 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 | useFederatedPollsView | ||
| Description |
Federates the view for methods in this session. A federated view will include enablers in polls which are children of this polls in the polls hierarchy. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useIsolatedPollsView | ||
| Description |
Isolates the view for methods in this session. An isolated view restricts notifications to this polls only. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | reliableBallotConstrainerEnablerNotifications | ||
| Description |
Reliable notifications are desired. In reliable mode,
notifications are to be acknowledged using | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | unreliableBallotConstrainerEnablerNotifications | ||
| Description |
Unreliable notifications are desired. In unreliable mode, notifications do not need to be acknowledged. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | acknowledgeBallotConstrainerEnablerNotification | ||
| Description |
Acknowledge a ballot constrainer enabler 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 | registerForNewBallotConstrainerEnablers | ||
| Description |
Register for notifications of new ballot constrainer
enablers. | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedBallotConstrainerEnablers | ||
| Description |
Registers for notification of updated polls enabelrs.
| ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedBallotConstrainerEnabler | ||
| Description |
Registers for notification of an updated ballot
constrainer enabler. | ||
| Parameters | osid.id.Id | ballotConstrainerEnablerId | the Id of the BallotConstrainerEnabler to
monitor |
| Errors | NULL_ARGUMENT | ballotConstrainerEnablerId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedBallotConstrainerEnablers | ||
| Description |
Registers for notification of deleted ballot
constrainer enablers. | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedBallotConstrainerEnabler | ||
| Description |
Registers for notification of a deleted ballot
constrainer enabler. | ||
| Parameters | osid.id.Id | ballotConstrainerEnablerId | the Id of the BallotConstrainerEnabler to
monitor |
| Errors | NULL_ARGUMENT | ballotConstrainerEnablerId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |