Interface | osid.voting.rules.RaceConstrainerEnablerLookupSession | ||
---|---|---|---|
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 | canLookupRaceConstrainerEnablers | ||
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 | useComparativeRaceConstrainerEnablerView | ||
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 | usePlenaryRaceConstrainerEnablerView | ||
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 | useActiveRaceConstrainerEnablerView | ||
Description |
Only active race constrainer enablers are returned by methods in this session. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useAnyStatusRaceConstrainerEnablerView | ||
Description |
All active and inactive race constrainer enablers are returned by methods in this session. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getRaceConstrainerEnabler | ||
Description |
Gets the In active mode, race constrainer enablers are returned that are currently active. In any status mode, active and inactive race constrainer enablers are returned. | ||
Parameters | osid.id.Id | raceConstrainerEnablerId | Id of the RaceConstrainerEnabler |
Return | osid.voting.rules.RaceConstrainerEnabler | the race constrainer enabler | |
Errors | NOT_FOUND | raceConstrainerEnablerId not found | |
NULL_ARGUMENT | raceConstrainerEnablerId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getRaceConstrainerEnablersByIds | ||
Description |
Gets a In active mode, race constrainer enablers are returned that are currently active. In any status mode, active and inactive race constrainer enablers are returned. | ||
Parameters | osid.id.IdList | raceConstrainerEnablerIds | the list of Ids to retrieve |
Return | osid.voting.rules.RaceConstrainerEnablerList | the returned RaceConstrainerEnabler list | |
Errors | NOT_FOUND | a Id was not found | |
NULL_ARGUMENT | raceConstrainerEnablerIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getRaceConstrainerEnablersByGenusType | ||
Description |
Gets a In active mode, race constrainer enablers are returned that are currently active. In any status mode, active and inactive race constrainer enablers are returned. | ||
Parameters | osid.type.Type | raceConstrainerEnablerGenusType | a race constrainer enabler genus type |
Return | osid.voting.rules.RaceConstrainerEnablerList | the returned RaceConstrainerEnabler list | |
Errors | NULL_ARGUMENT | raceConstrainerEnablerGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getRaceConstrainerEnablersByParentGenusType | ||
Description |
Gets a In active mode, race constrainer enablers are returned that are currently active. In any status mode, active and inactive race constrainer enablers are returned. | ||
Parameters | osid.type.Type | raceConstrainerEnablerGenusType | a race constrainer enabler genus type |
Return | osid.voting.rules.RaceConstrainerEnablerList | the returned RaceConstrainerEnabler list | |
Errors | NULL_ARGUMENT | raceConstrainerEnablerGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getRaceConstrainerEnablersByRecordType | ||
Description |
Gets a In active mode, race constrainer enablers are returned that are currently active. In any status mode, active and inactive race constrainer enablers are returned. | ||
Parameters | osid.type.Type | raceConstrainerEnablerRecordType | a race constrainer enabler record type |
Return | osid.voting.rules.RaceConstrainerEnablerList | the returned RaceConstrainerEnabler list | |
Errors | NULL_ARGUMENT | raceConstrainerEnablerRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getRaceConstrainerEnablersOnDate | ||
Description |
Gets a In active mode, race constrainer enablers are returned that are currently active. In any status mode, active and inactive race constrainer enablers are returned. | ||
Parameters | osid.calendaring.DateTime | from | a start date |
osid.calendaring.DateTime | to | an end date | |
Return | osid.voting.rules.RaceConstrainerEnablerList | the returned RaceConstrainerEnabler 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 | getRaceConstrainerEnablersOnDateWithAgent | ||
Description |
Gets a In active mode, race constrainer enablers are returned that are currently active. In any status mode, active and inactive race constrainer 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.RaceConstrainerEnablerList | the returned RaceConstrainerEnabler 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 | getRaceConstrainerEnablers | ||
Description |
Gets all In plenary mode, the returned list contains all known race constrainer enablers or an error results. Otherwise, the returned list may contain only those race constrainer enablers that are accessible through this session. In active mode, race constrainer enablers are returned that are currently active. In any status mode, active and inactive race constrainer enablers are returned. | ||
Return | osid.voting.rules.RaceConstrainerEnablerList | the returned RaceConstrainerEnabler list | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |