Interface | osid.voting.rules.RaceProcessorEnablerRuleLookupSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods to retrieve This lookup session defines several views:
| ||
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 | canLookupRaceProcessorEnablerRules | ||
Description |
Tests if this user can perform lookups of race
processor enabler/race processor mappings. A return of
true does not guarantee successful authorization. A return
of false indicates that it is known lookup methods in this
session will result in a | ||
Return | boolean | false if looking up mappings is not authorized, true
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | useComparativeRaceProcessorEnablerRuleView | ||
Description |
The returns from the lookup methods may omit or translate elements based on this session, such as authorization, and not result in an error. This view is used when greater interoperability is desired at the expense of precision. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | usePlenaryRaceProcessorEnablerRuleView | ||
Description |
A complete view of the | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useFederatedPollsView | ||
Description |
Federates the view for methods in this session. A federated view will include race processor 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 lookups to this polls only. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getRaceProcessorEnablerIdsForRaceProcessor | ||
Description |
Gets the | ||
Parameters | osid.id.Id | raceProcessorId | Id of the RaceProcessor |
Return | osid.id.IdList | the race processor enabler Ids | |
Errors | NOT_FOUND | raceProcessorId is not found | |
NULL_ARGUMENT | raceProcessorId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getRaceProcessorEnablersForRaceProcessor | ||
Description |
Gets the | ||
Parameters | osid.id.Id | raceProcessorId | Id of the RaceProcessor |
Return | osid.voting.rules.RaceProcessorEnablerList | the race processor enablers | |
Errors | NOT_FOUND | raceProcessorId is not found | |
NULL_ARGUMENT | raceProcessorId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getRaceProcessorIdsForRaceProcessorEnabler | ||
Description |
Gets the | ||
Parameters | osid.id.Id | raceProcessorEnablerId | Id of a RaceProcessorEnabler |
Return | osid.id.IdList | list of race processor Ids | |
Errors | NOT_FOUND | raceProcessorEnablerId is not found | |
NULL_ARGUMENT | raceProcessorEnablerId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getRaceProcessorsForRaceProcessorEnabler | ||
Description |
Gets the | ||
Parameters | osid.id.Id | raceProcessorEnablerId | Id of a RaceProcessorEnabler |
Return | osid.voting.rules.RaceProcessorList | list of race processors | |
Errors | NOT_FOUND | raceProcessorEnablerId is not found | |
NULL_ARGUMENT | raceProcessorEnablerId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |