Interface RaceProcessorEnablerSearchSession
- All Superinterfaces:
AutoCloseable, Closeable, OsidSession, OsidSession, RaceProcessorEnablerQuerySession
This session provides methods for searching among
RaceProcessorEnabler objects. The search query is constructed using the
RaceProcessorEnableryQuery .
getRaceProcessorEnablersByQuery() is the basic search method and
returns a list of RaceProcessorEnablers . A more advanced search
may be performed with getRaceProcessorEnablersBySearch() .It
accepts a RaceProcessorEnablerSearch in addition to the query for
the purpose of specifying additional options affecting the entire search,
such as voting. getRaceProcessorEnablersBySearch() returns a
RaceProcessorEnablerSearchResults that can be used to access the
resulting RaceProcessorEnablerList or be used to perform a search
within the result set through RaceProcessorEnablerSearch .
This session defines views that offer differing behaviors for searching.
- federated polls view: searches include race processor enablers in polls of which this polls is an ancestor in the polls hierarchy
- isolated polls view: searches are restricted to race processor enablers in this polls
RaceProcessorEnablers may have a query record indicated by their
respective query record types. The record is accessed via the
RaceProcessorEnablerQuery .-
Method Summary
Modifier and TypeMethodDescriptiongetRaceProcessorEnablerQueryFromInspector(RaceProcessorEnablerQueryInspector raceProcessorEnablerQueryInspector) Gets a race processor enabler query from an inspector.getRaceProcessorEnablersBySearch(RaceProcessorEnablerQuery raceProcessorEnablerQuery, RaceProcessorEnablerSearch raceProcessorEnablerSearch) Gets the search results matching the given search query using the given search.Gets a race processor enabler search.Gets a race processor enabler search order.Methods inherited from interface OsidSession
closeMethods inherited from interface OsidSession
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionsModifier and TypeMethodDescriptionGets the agent authenticated to this session.Gets theIdof the agent authenticated to this session.Gets the rate of the service clock.getDate()Gets the service date which may be the current date or the effective date in which this session exists.Gets the effective agent in use by this session.Gets theIdof the effective agent in use by this session.Gets theDisplayTextformatTypepreference in effect for this session.Gets the locale indicating the localization preferences in effect for this session.booleanTests if an agent is authenticated to this session.Starts a new transaction for this sesson.booleanTests for the availability of transactions.Methods inherited from interface RaceProcessorEnablerQuerySession
canSearchRaceProcessorEnablers, getPolls, getPollsId, getRaceProcessorEnablerQuery, getRaceProcessorEnablersByQuery, useFederatedPollsView, useIsolatedPollsViewModifier and TypeMethodDescriptionbooleanTests if this user can performRaceProcessorEnablerlookups.getPolls()Gets thePollsassociated with this session.Gets thePollsIdassociated with this session.Gets a race processor enabler query.getRaceProcessorEnablersByQuery(RaceProcessorEnablerQuery raceProcessorEnablerQuery) Gets a list ofRaceProcessorEnablersmatching the given race processor enabler query.voidFederates the view for methods in this session.voidIsolates the view for methods in this session.
-
Method Details
-
getRaceProcessorEnablerSearch
RaceProcessorEnablerSearch getRaceProcessorEnablerSearch()Gets a race processor enabler search.- Returns:
- the race processor enabler search
- Compliance:
mandatory- This method must be implemented.
-
getRaceProcessorEnablerSearchOrder
RaceProcessorEnablerSearchOrder getRaceProcessorEnablerSearchOrder()Gets a race processor enabler search order. TheRaceProcessorEnablerSearchOrderis supplied to aRaceProcessorEnablerSearchto specify the ordering of results.- Returns:
- the race processor enabler search order
- Compliance:
mandatory- This method must be implemented.
-
getRaceProcessorEnablersBySearch
RaceProcessorEnablerSearchResults getRaceProcessorEnablersBySearch(RaceProcessorEnablerQuery raceProcessorEnablerQuery, RaceProcessorEnablerSearch raceProcessorEnablerSearch) throws OperationFailedException, PermissionDeniedException Gets the search results matching the given search query using the given search.- Parameters:
raceProcessorEnablerQuery- the race processor enabler queryraceProcessorEnablerSearch- the race processor enabler search- Returns:
- the returned search results
- Throws:
NullArgumentException-raceProcessorEnablerQueryorraceProcessorEnablerSearchisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failureUnsupportedException-raceProcessorEnablerQueryorraceProcessorEnablerSearchis not of this service- Compliance:
mandatory- This method must be implemented.
-
getRaceProcessorEnablerQueryFromInspector
RaceProcessorEnablerQuery getRaceProcessorEnablerQueryFromInspector(RaceProcessorEnablerQueryInspector raceProcessorEnablerQueryInspector) Gets a race processor enabler query from an inspector. The inspector is available from aRaceProcessorEnablerSearchResults.- Parameters:
raceProcessorEnablerQueryInspector- a race processor enabler query inspector- Returns:
- the race processor enabler query
- Throws:
NullArgumentException-raceProcessorEnablerQueryInspectorisnullUnsupportedException-raceProcessorEnablerQueryInspectoris not of this service- Compliance:
mandatory- This method must be implemented.
-