public interface PollsSearchSession extends PollsQuerySession
This session provides methods for searching among Polls
objects. The search query is constructed using the PollsQuery.
getPollsByQuery()
is the basic search method and
returns a list of Polls
objects.A more advanced search may
be performed with getPollsBySearch().
It accepts a
PollsSearch
in addition to the query for the purpose of specifying
additional options affecting the entire search, such as ordering.
getPollsBySearch()
returns a PollsSearchResults
that can be used to access the resulting PollsList
or be
used to perform a search within the result set through PollsSearch.
Polls may have a polls query record indicated by their respective
record types. The polls query record is accessed via the
PollsQuery.
Modifier and Type | Method and Description |
---|---|
PollsQuery |
getPollsQueryFromInspector(PollsQueryInspector pollsQueryInspector)
Gets a polls query from an inspector.
|
PollsSearchResults |
getPollssBySearch(PollsQuery pollsQuery,
PollsSearch pollsSearch)
Gets the search results matching the given search query using the
given search.
|
PollsSearch |
getPollsSearch()
Gets a polls search.
|
PollsSearchOrder |
getPollsSearchOrder()
Gets a polls search order.
|
canSearchPolls, getPollsByQuery, getPollsQuery
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactions
close
PollsSearch getPollsSearch()
mandatory
- This method must be implemented. PollsSearchOrder getPollsSearchOrder()
PollsSearchOrder
is
supplied to a PollsSearch
to specify the ordering of
results.mandatory
- This method must be implemented. PollsSearchResults getPollssBySearch(PollsQuery pollsQuery, PollsSearch pollsSearch) throws OperationFailedException, PermissionDeniedException
pollsQuery
- the polls querypollsSearch
- the polls searchNullArgumentException
- pollsQuery
or
pollsSearch
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureUnsupportedException
- pollsQuery
or
pollsSearch
is not of this servicemandatory
- This method must be implemented. PollsQuery getPollsQueryFromInspector(PollsQueryInspector pollsQueryInspector)
PollsSearchResults.
pollsQueryInspector
- a polls query inspectorNullArgumentException
- pollsQueryInspector
is null
UnsupportedException
- pollsQueryInspector
is not of this servicemandatory
- This method must be implemented.