Interface | osid.voting.rules.RaceConstrainerEnablerRuleLookupSession | ||
---|---|---|---|
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 | canLookupRaceConstrainerEnablerRules | ||
Description |
Tests if this user can perform lookups of race
constrainer enabler/race constrainer 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 | useComparativeRaceConstrainerEnablerRuleView | ||
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 | usePlenaryRaceConstrainerEnablerRuleView | ||
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 constrainer 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 | getRaceConstrainerEnablerIdsForRaceConstrainer | ||
Description |
Gets the | ||
Parameters | osid.id.Id | raceConstrainerId | Id of the RaceConstrainer |
Return | osid.id.IdList | the race constrainer enabler Ids | |
Errors | NOT_FOUND | raceConstrainerId is not found | |
NULL_ARGUMENT | raceConstrainerId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getRaceConstrainerEnablersForRaceConstrainer | ||
Description |
Gets the | ||
Parameters | osid.id.Id | raceConstrainerId | Id of the RaceConstrainer |
Return | osid.voting.rules.RaceConstrainerEnablerList | the race constrainer enablers | |
Errors | NOT_FOUND | raceConstrainerId is not found | |
NULL_ARGUMENT | raceConstrainerId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getRaceConstrainerIdsForRaceConstrainerEnabler | ||
Description |
Gets the | ||
Parameters | osid.id.Id | raceConstrainerEnablerId | Id of a RaceConstrainerEnabler |
Return | osid.id.IdList | list of race constrainer Ids | |
Errors | NOT_FOUND | raceConstrainerEnablerId is not found | |
NULL_ARGUMENT | raceConstrainerEnablerId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getRaceConstrainersForRaceConstrainerEnabler | ||
Description |
Gets the | ||
Parameters | osid.id.Id | raceConstrainerEnablerId | Id of a RaceConstrainerEnabler |
Return | osid.voting.rules.RaceConstrainerList | list of race constrainers | |
Errors | NOT_FOUND | raceConstrainerEnablerId is not found | |
NULL_ARGUMENT | raceConstrainerEnablerId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |