Interface | osid.voting.rules.RaceProcessorEnablerLookupSession | ||
---|---|---|---|
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 | canLookupRaceProcessorEnablers | ||
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 | useComparativeRaceProcessorEnablerView | ||
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 | usePlenaryRaceProcessorEnablerView | ||
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 | useActiveRaceProcessorEnablerView | ||
Description |
Only active race processor enablers are returned by methods in this session. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useAnyStatusRaceProcessorEnablerView | ||
Description |
All active and inactive race processor enablers are returned by methods in this session. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getRaceProcessorEnabler | ||
Description |
Gets the In active mode, race processor enablers are returned that are currently active. In any status mode, active and inactive race processor enablers are returned. | ||
Parameters | osid.id.Id | raceProcessorEnablerId | Id of the RaceProcessorEnabler |
Return | osid.voting.rules.RaceProcessorEnabler | the race processor enabler | |
Errors | NOT_FOUND | raceProcessorEnablerId not found | |
NULL_ARGUMENT | raceProcessorEnablerId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getRaceProcessorEnablersByIds | ||
Description |
Gets a In active mode, race processor enablers are returned that are currently active. In any status mode, active and inactive race processor enablers are returned. | ||
Parameters | osid.id.IdList | raceProcessorEnablerIds | the list of Ids to retrieve |
Return | osid.voting.rules.RaceProcessorEnablerList | the returned RaceProcessorEnabler list | |
Errors | NOT_FOUND | a Id was not found | |
NULL_ARGUMENT | raceProcessorEnablerIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getRaceProcessorEnablersByGenusType | ||
Description |
Gets a In active mode, race processor enablers are returned that are currently active. In any status mode, active and inactive race processor enablers are returned. | ||
Parameters | osid.type.Type | raceProcessorEnablerGenusType | a race processor enabler genus type |
Return | osid.voting.rules.RaceProcessorEnablerList | the returned RaceProcessorEnabler list | |
Errors | NULL_ARGUMENT | raceProcessorEnablerGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getRaceProcessorEnablersByParentGenusType | ||
Description |
Gets a In active mode, race processor enablers are returned that are currently active. In any status mode, active and inactive race processor enablers are returned. | ||
Parameters | osid.type.Type | raceProcessorEnablerGenusType | a race processor enabler genus type |
Return | osid.voting.rules.RaceProcessorEnablerList | the returned RaceProcessorEnabler list | |
Errors | NULL_ARGUMENT | raceProcessorEnablerGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getRaceProcessorEnablersByRecordType | ||
Description |
Gets a In active mode, race processor enablers are returned that are currently active. In any status mode, active and inactive race processor enablers are returned. | ||
Parameters | osid.type.Type | raceProcessorEnablerRecordType | a race processor enabler record type |
Return | osid.voting.rules.RaceProcessorEnablerList | the returned RaceProcessorEnabler list | |
Errors | NULL_ARGUMENT | raceProcessorEnablerRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getRaceProcessorEnablersOnDate | ||
Description |
Gets a In active mode, race processor enablers are returned that are currently active. In any status mode, active and inactive race processor enablers are returned. | ||
Parameters | osid.calendaring.DateTime | from | a start date |
osid.calendaring.DateTime | to | an end date | |
Return | osid.voting.rules.RaceProcessorEnablerList | the returned RaceProcessorEnabler list | |
Errors | INVALID_ARGUMENT | from is greater tha to | |
NULL_ARGUMENT | from or to is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getRaceProcessorEnablersOnDateWithAgent | ||
Description |
Gets a In active mode, race processor enablers are returned that are currently active. In any status mode, active and inactive race processor enablers are returned. | ||
Parameters | osid.id.Id | agentId | an agent Id |
osid.calendaring.DateTime | from | a start date | |
osid.calendaring.DateTime | to | an end date | |
Return | osid.voting.rules.RaceProcessorEnablerList | the returned RaceProcessorEnabler list | |
Errors | INVALID_ARGUMENT | from is greater tha to | |
NULL_ARGUMENT | agentId, from, or to is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getRaceProcessorEnablers | ||
Description |
Gets all In plenary mode, the returned list contains all known race processor enablers or an error results. Otherwise, the returned list may contain only those race processor enablers that are accessible through this session. In active mode, race processor enablers are returned that are currently active. In any status mode, active and inactive race processor enablers are returned. | ||
Return | osid.voting.rules.RaceProcessorEnablerList | the returned RaceProcessorEnabler list | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |