public interface RaceProcessorSmartPollsSession extends OsidSession
This session manages queries and sequencing to create "smart" dynamic
polls. a RaceProcessorQuery can be retrieved from this
session and mapped to this Polls to create a virtual
collection of race processors. The race processor may be sequenced using
the RaceProcessorSearchOrder from this session.
This Polls has a default query that matches any race
processor and a default search order that specifies no sequencing. The
queries may be examined using a RaceProcessorQueryInspector.
The query may be modified by converting the inspector back to a
RaceProcessorQuery.
| Modifier and Type | Method and Description |
|---|---|
void |
applyRaceProcessorQuery(RaceProcessorQuery raceProcessorQuery)
Applies a race processor query to this polls.
|
void |
applyRaceProcessorSequencing(RaceProcessorSearchOrder raceProcessorSearchOrder)
Applies a race processor search order to this polls.
|
boolean |
canManageSmartPolls()
Tests if this user can manage smart polls.
|
Polls |
getPolls()
Gets the
Polls associated with this session. |
Id |
getPollsId()
Gets the
Polls Id associated with this
session. |
RaceProcessorQuery |
getRaceProcessorQuery()
Gets a race processor query.
|
RaceProcessorQuery |
getRaceProcessorQueryFromInspector(RaceProcessorQueryInspector raceProcessorQueryInspector)
Gets a race processor query from an inspector.
|
RaceProcessorSearchOrder |
getRaceProcessorSearchOrder()
Gets a race processor search order.
|
RaceProcessorQueryInspector |
inspectRaceProcessorQuery()
Gets a race processor query inspector for this polls.
|
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 canManageSmartPolls()
PERMISSION_DENIED. This is intended as a hint to an
application that may opt not to offer operations to unauthorized
users. false if smart polls management is not
authorized, true otherwisemandatory - This method must be implemented. RaceProcessorQuery getRaceProcessorQuery()
mandatory - This method must be implemented. RaceProcessorSearchOrder getRaceProcessorSearchOrder()
mandatory - This method must be implemented. void applyRaceProcessorQuery(RaceProcessorQuery raceProcessorQuery) throws OperationFailedException, PermissionDeniedException
raceProcessorQuery - the race processor queryNullArgumentException - raceProcessorQuery
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failure
occurredUnsupportedException - raceProcessorQuery
not of this servicemandatory - This method must be implemented. RaceProcessorQueryInspector inspectRaceProcessorQuery() throws OperationFailedException, PermissionDeniedException
OperationFailedException - unable to complete requestPermissionDeniedException - authorization failure
occurredmandatory - This method must be implemented. void applyRaceProcessorSequencing(RaceProcessorSearchOrder raceProcessorSearchOrder) throws OperationFailedException, PermissionDeniedException
raceProcessorSearchOrder - the race processor search orderNullArgumentException - raceProcessorSearchOrder
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failure
occurredUnsupportedException - raceProcessorSearchOrder
not of this servicemandatory - This method must be implemented. RaceProcessorQuery getRaceProcessorQueryFromInspector(RaceProcessorQueryInspector raceProcessorQueryInspector)
raceProcessorQueryInspector - a race processor query inspectorNullArgumentException -
raceProcessorQueryInspector is null UnsupportedException -
raceProcessorQueryInspector is not of this servicemandatory - This method must be implemented.