| Interface | osid.voting.rules.RaceConstrainerEnablerSmartPollsSession | ||
|---|---|---|---|
| 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 | getRaceConstrainerEnablerQuery | ||
| Description |
Gets a race constrainer enabler query. | ||
| Return | osid.voting.rules.RaceConstrainerEnablerQuery | the race constrainer enabler query | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getRaceConstrainerEnablerSearchOrder | ||
| Description |
Gets a race constrainer enabler search order. | ||
| Return | osid.voting.rules.RaceConstrainerEnablerSearchOrder | the race constrainer enabler search order | |
| Compliance | mandatory | This method must be implemented. | |
| Method | applyRaceConstrainerEnablerQuery | ||
| Description |
Applies a race constrainer enabler query to this polls. | ||
| Parameters | osid.voting.rules.RaceConstrainerEnablerQuery | raceConstrainerEnablerQuery | the race constrainer enabler query |
| Errors | NULL_ARGUMENT | raceConstrainerEnablerQuery is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| UNSUPPORTED | raceConstrainerEnablerQuery not of this service | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | inspectRaceConstrainerEnablerQuery | ||
| Description |
Gets a race constrainer enabler query inspector for this polls. | ||
| Return | osid.voting.rules.RaceConstrainerEnablerQueryInspector | the race constrainer enabler query inspector | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure occurred | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | applyRaceConstrainerEnablerSequencing | ||
| Description |
Applies a race constrainer enabler search order to this polls. | ||
| Parameters | osid.voting.rules.RaceConstrainerEnablerSearchOrder | raceConstrainerEnablerSearchOrder | the race constrainer enabler search order |
| Errors | NULL_ARGUMENT | raceConstrainerEnablerSearchOrder is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| UNSUPPORTED | raceConstrainerEnablerSearchOrder not of this service | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getRaceConstrainerEnablerQueryFromInspector | ||
| Description |
Gets a race constrainer enabler query from an inspector. | ||
| Parameters | osid.voting.rules.RaceConstrainerEnablerQueryInspector | raceConstrainerEnablerQueryInspector | a race constrainer enabler query inspector |
| Return | osid.voting.rules.RaceConstrainerEnablerQuery | the race constrainer enabler query | |
| Errors | NULL_ARGUMENT | raceConstrainerEnablerQueryInspector is null | |
| UNSUPPORTED | raceConstrainerEnablerQueryInspector is not of this service | ||
| Compliance | mandatory | This method must be implemented. | |