Interface | osid.voting.rules.RaceProcessorRuleLookupSession | ||
---|---|---|---|
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 | canLookupRaceProcessorRules | ||
Description |
Tests if this user can perform lookups of race
processor/race 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 | useComparativeRaceProcessorRuleView | ||
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 | usePlenaryRaceProcessorRuleView | ||
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 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 | getRaceProcessorIdsForRace | ||
Description |
Gets the | ||
Parameters | osid.id.Id | raceId | Id of the Race |
Return | osid.id.IdList | the race processor Ids | |
Errors | NOT_FOUND | raceId is not found | |
NULL_ARGUMENT | raceId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getRaceProcessorsForRace | ||
Description |
Gets the | ||
Parameters | osid.id.Id | raceId | Id of the Auction |
Return | osid.voting.rules.RaceProcessorList | the race processors | |
Errors | NOT_FOUND | raceId is not found | |
NULL_ARGUMENT | raceId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getRaceIdsForRaceProcessor | ||
Description |
Gets the | ||
Parameters | osid.id.Id | raceProcessorId | Id of a RaceProcessor |
Return | osid.id.IdList | list of race 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 | getRacesForRaceProcessor | ||
Description |
Gets the | ||
Parameters | osid.id.Id | raceProcessorId | Id of a RaceProcessor |
Return | osid.voting.RaceList | list of races | |
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. |