Interface | osid.voting.rules.RaceConstrainerLookupSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods for retrieving This session defines views that offer differing behaviors when retrieving multiple objects.
Generally, the comparative view should be used for most
applications as it permits operation even if there is data
that cannot be accessed. The methods | ||
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 | canLookupRaceConstrainers | ||
Description |
Tests if this user can perform | ||
Return | boolean | false if lookup methods are not authorized, true
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | useComparativeRaceConstrainerView | ||
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 | usePlenaryRaceConstrainerView | ||
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 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 | useActiveRaceConstrainerView | ||
Description |
Only active race constrainer are returned by methods in this session. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useAnyStatusRaceConstrainerView | ||
Description |
All active and inactive race constrainers are returned by methods in this session. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getRaceConstrainer | ||
Description |
Gets the In active mode, race constrainers are returned that are currently active. In any status mode, active and inactive race constrainer are returned. | ||
Parameters | osid.id.Id | raceConstrainerId | Id of the RaceConstrainer |
Return | osid.voting.rules.RaceConstrainer | the race constrainer | |
Errors | NOT_FOUND | raceConstrainerId not found | |
NULL_ARGUMENT | raceConstrainerId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getRaceConstrainersByIds | ||
Description |
Gets a In active mode, race constrainers are returned that are currently active. In any status mode, active and inactive race constrainer are returned. | ||
Parameters | osid.id.IdList | raceConstrainerIds | the list of Ids to retrieve |
Return | osid.voting.rules.RaceConstrainerList | the returned RaceConstrainer list | |
Errors | NOT_FOUND | a Id was not found | |
NULL_ARGUMENT | raceConstrainerIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getRaceConstrainersByGenusType | ||
Description |
Gets a In active mode, race constrainers are returned that are currently active. In any status mode, active and inactive race constrainer are returned. | ||
Parameters | osid.type.Type | raceConstrainerGenusType | a race constrainer genus type |
Return | osid.voting.rules.RaceConstrainerList | the returned RaceConstrainer list | |
Errors | NULL_ARGUMENT | raceConstrainerGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getRaceConstrainersByParentGenusType | ||
Description |
Gets a In active mode, race constrainers are returned that are currently active. In any status mode, active and inactive race constrainer are returned. | ||
Parameters | osid.type.Type | raceConstrainerGenusType | a race constrainer genus type |
Return | osid.voting.rules.RaceConstrainerList | the returned RaceConstrainer list | |
Errors | NULL_ARGUMENT | raceConstrainerGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getRaceConstrainersByRecordType | ||
Description |
Gets a In active mode, race constrainers are returned that are currently active. In any status mode, active and inactive race constrainer are returned. | ||
Parameters | osid.type.Type | raceConstrainerRecordType | a race constrainer record type |
Return | osid.voting.rules.RaceConstrainerList | the returned RaceConstrainer list | |
Errors | NULL_ARGUMENT | raceConstrainerRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getRaceConstrainers | ||
Description |
Gets all In plenary mode, the returned list contains all known race constrainer or an error results. Otherwise, the returned list may contain only those race constrainer that are accessible through this session. In active mode, race constrainers are returned that are currently active. In any status mode, active and inactive race constrainer are returned. | ||
Return | osid.voting.rules.RaceConstrainerList | the returned RaceConstrainer list | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |