public interface ParticipantSearchSession extends ParticipantQuerySession
This session provides methods for searching Participant
objects. The search query is constructed using the
ParticipantQuery.
The participant record Type
also
specifies the record for the participant query.
getParticipantsByQuery()
is the basic search method and
returns a list of Participant
elements. A more advanced
search may be performed with getParticipantsBySearch().
It
accepts a ParticipantSearch
in addition to the query for
the purpose of specifying additional options affecting the entire search,
such as ordering. getParticipantsBySearch()
returns a
ParticipantSearchResults
that can be used to access the
resulting ParticipantList
or be used to perform a search
within the result set through ParticipantSearch.
This session defines views that offer differing behaviors for searching.
Participants may have a query record indicated by their respective
record types. The query record is accessed via the
ParticipantQuery.
The returns in this session may not be cast
directly to these interfaces.
Modifier and Type | Method and Description |
---|---|
ParticipantQuery |
getParticipantQueryFromInspector(ParticipantQueryInspector participantQueryInspector)
Gets the participant query inspector.
|
ParticipantSearchResults |
getParticipantsBySearch(ParticipantQuery participantQuery,
ParticipantSearch participantSearch)
Gets the search results matching the given search.
|
ParticipantSearch |
getParticipantSearch()
Gets a participant search.
|
ParticipantSearchOrder |
getParticipantSearchOrder()
Gets a participant search order.
|
canSearchParticipants, getCatalogue, getCatalogueId, getParticipantQuery, getParticipantsByQuery, useFederatedCatalogueView, useIsolatedCatalogueView
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactions
close
ParticipantSearch getParticipantSearch()
mandatory
- This method must be implemented. ParticipantSearchOrder getParticipantSearchOrder()
ParticipantSearchOrder
is supplied to a ParticipantSearch
to specify
the ordering of results.mandatory
- This method must be implemented. ParticipantSearchResults getParticipantsBySearch(ParticipantQuery participantQuery, ParticipantSearch participantSearch) throws OperationFailedException, PermissionDeniedException
participantQuery
- the participant queryparticipantSearch
- the participant searchNullArgumentException
- participantQuery
or participantSearch
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureUnsupportedException
- participantQuery
or participantSearch
is not of this servicemandatory
- This method must be implemented. ParticipantQuery getParticipantQueryFromInspector(ParticipantQueryInspector participantQueryInspector)
participantQueryInspector
- a participant query inspectorNullArgumentException
-
participantQueryInspector
is null
UnsupportedException
- participantQueryInspector
is not of this servicemandatory
- This method must be implemented.