| Interface | osid.voting.rules.RaceConstrainerSmartPollsSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description |
This session manages queries and sequencing to create
"smart" dynamic polls. a This | ||
| 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 | canManageSmartPolls | ||
| Description |
Tests if this user can manage smart polls. A return of
true does not guarantee successful authorization. A return
of false indicates that it is known methods in this
session will result in a | ||
| Return | boolean | false if smart polls management is not authorized,
true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getRaceConstrainerQuery | ||
| Description |
Gets a race constrainer query. | ||
| Return | osid.voting.rules.RaceConstrainerQuery | the race constrainer query | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getRaceConstrainerSearchOrder | ||
| Description |
Gets a race constrainer search order. | ||
| Return | osid.voting.rules.RaceConstrainerSearchOrder | the race constrainer search order | |
| Compliance | mandatory | This method must be implemented. | |
| Method | applyRaceConstrainerQuery | ||
| Description |
Applies a race constrainer query to this polls. | ||
| Parameters | osid.voting.rules.RaceConstrainerQuery | raceConstrainerQuery | the race constrainer query |
| Errors | NULL_ARGUMENT | raceConstrainerQuery is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| UNSUPPORTED | raceConstrainerQuery not of this service | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | inspectRaceConstrainerQuery | ||
| Description |
Gets a race constrainer query inspector for this polls. | ||
| Return | osid.voting.rules.RaceConstrainerQueryInspector | the race constrainer query inspector | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure occurred | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | applyRaceConstrainerSequencing | ||
| Description |
Applies a race constrainer search order to this polls. | ||
| Parameters | osid.voting.rules.RaceConstrainerSearchOrder | raceConstrainerSearchOrder | the race constrainer search order |
| Errors | NULL_ARGUMENT | raceConstrainerSearchOrder is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| UNSUPPORTED | raceConstrainerSearchOrder not of this service | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getRaceConstrainerQueryFromInspector | ||
| Description |
Gets a race constrainer query from an inspector. | ||
| Parameters | osid.voting.rules.RaceConstrainerQueryInspector | raceConstrainerQueryInspector | a race constrainer query inspector |
| Return | osid.voting.rules.RaceConstrainerQuery | the race constrainer query | |
| Errors | NULL_ARGUMENT | raceConstrainerQueryInspector is null | |
| UNSUPPORTED | raceConstrainerQueryInspector is not of this service | ||
| Compliance | mandatory | This method must be implemented. | |