public interface RaceProcessorRuleLookupSession extends OsidSession
This session provides methods to retrieve RaceProcessor
to Race mappings.
This lookup session defines several views:
| Modifier and Type | Method and Description |
|---|---|
boolean |
canLookupRaceProcessorRules()
Tests if this user can perform lookups of race processor/race
mappings.
|
Polls |
getPolls()
Gets the
Polls associated with this session. |
Id |
getPollsId()
Gets the
Polls Id associated with this
session. |
IdList |
getRaceIdsForRaceProcessor(Id raceProcessorId)
Gets the
Race Ids mapped to a
RaceProcessor. |
IdList |
getRaceProcessorIdsForRace(Id raceId)
Gets the
RaceProcessor Id associated with a
Race. |
RaceProcessorList |
getRaceProcessorsForRace(Id raceId)
Gets the
RaceProcessor associated with a Race. |
RaceList |
getRacesForRaceProcessor(Id raceProcessorId)
Gets the
Races mapped to a RaceProcessor. |
void |
useComparativeRaceProcessorRuleView()
The returns from the lookup methods may omit or translate elements
based on this session, such as authorization, and not result in an
error.
|
void |
useFederatedPollsView()
Federates the view for methods in this session.
|
void |
useIsolatedPollsView()
Isolates the view for methods in this session.
|
void |
usePlenaryRaceProcessorRuleView()
A complete view of the
RaceProcessor and Race
returns is desired. |
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionscloseId getPollsId()
Polls Id associated with this
session. Polls Id associated with this sessionmandatory - This method must be implemented. Polls getPolls() throws OperationFailedException, PermissionDeniedException
Polls associated with this session.OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. boolean canLookupRaceProcessorRules()
PERMISSION_DENIED.
This is intended as a hint to an application that may opt not
to offer lookup operations to unauthorized users. false if looking up mappings is not authorized,
true otherwisemandatory - This method must be implemented. void useComparativeRaceProcessorRuleView()
mandatory - This method is must be implemented. void usePlenaryRaceProcessorRuleView()
RaceProcessor and Race
returns is desired. Methods will return what is requested or
result in an error. This view is used when greater precision is
desired at the expense of interoperability.mandatory - This method is must be implemented. void useFederatedPollsView()
mandatory - This method is must be implemented. void useIsolatedPollsView()
mandatory - This method is must be implemented. IdList getRaceProcessorIdsForRace(Id raceId) throws NotFoundException, OperationFailedException, PermissionDeniedException
RaceProcessor Id associated with a
Race. raceId - Id of the Race Ids NotFoundException - raceId is not foundNullArgumentException - raceId is
null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. RaceProcessorList getRaceProcessorsForRace(Id raceId) throws NotFoundException, OperationFailedException, PermissionDeniedException
RaceProcessor associated with a Race.
raceId - Id of the Auction NotFoundException - raceId is not foundNullArgumentException - raceId is
null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. IdList getRaceIdsForRaceProcessor(Id raceProcessorId) throws NotFoundException, OperationFailedException, PermissionDeniedException
Race Ids mapped to a
RaceProcessor. raceProcessorId - Id of a RaceProcessor
Ids NotFoundException - raceProcessorId is
not foundNullArgumentException - raceProcessorId
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. RaceList getRacesForRaceProcessor(Id raceProcessorId) throws NotFoundException, OperationFailedException, PermissionDeniedException
Races mapped to a RaceProcessor.
raceProcessorId - Id of a RaceProcessor
NotFoundException - raceProcessorId is
not foundNullArgumentException - raceProcessorId
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented.