public interface ProfileEntrySearchSession extends ProfileEntryQuerySession
This session provides methods for searching ProfileEntry
objects. The search query is constructed using the
ProfileEntryQuery.
getProfileEntriesByQuery()
is the basic search method
and returns a list of ProfileEntries.
A more advanced
search may be performed with getProfileEntriesBySearch().
It accepts an ProfileEntrySearch
in addition to the query
for the purpose of specifying additional options affecting the entire
search, such as ordering. getProfileEntriesBySearch()
returns an ProfileEntrySearchResults
that can be used to
access the resulting ProfileEntryList
or be used to perform
a search within the result set through ProfileEntrySearch.
This session defines views that offer differing behaviors for searching.
Profiles
of which this profile is a ancestor in the
profile hierarchy Profile
Modifier and Type | Method and Description |
---|---|
ProfileEntrySearchResults |
getProfileEntriesBySearch(ProfileEntryQuery profileEntryQuery,
ProfileEntrySearch profileEntrySearch)
Gets the search results matching the given search query using the
given search.
|
ProfileEntryQuery |
getProfileEntryQueryFromInspector(ProfileEntryQueryInspector profileEntryQueryInspector)
Gets a profile entry query from an inspector.
|
ProfileEntrySearch |
getProfileEntrySearch()
Gets a profile entry search.
|
ProfileEntrySearchOrder |
getProfileEntrySearchOrder()
Gets a profile entry search order.
|
canSearchProfileEntries, getProfile, getProfileEntriesByQuery, getProfileEntryQuery, getProfileId, useExplicitProfileEntryView, useFederatedProfileView, useImplicitProfileEntryView, useIsolatedProfileView
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactions
close
ProfileEntrySearch getProfileEntrySearch()
mandatory
- This method must be implemented. ProfileEntrySearchOrder getProfileEntrySearchOrder()
ProfileEntrySearchOrder
is supplied to an ProfileEntrySearch
to specify
the ordering of results.mandatory
- This method must be implemented. ProfileEntrySearchResults getProfileEntriesBySearch(ProfileEntryQuery profileEntryQuery, ProfileEntrySearch profileEntrySearch) throws OperationFailedException, PermissionDeniedException
profileEntryQuery
- the profile entry queryprofileEntrySearch
- the profile entry searchNullArgumentException
- profileEntryQuery
or profileEntrySearch
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureUnsupportedException
- profileEntryQuery
or profileEntrySearch
is not of this servicemandatory
- This method must be implemented. ProfileEntryQuery getProfileEntryQueryFromInspector(ProfileEntryQueryInspector profileEntryQueryInspector)
PofileEntrySearchResults.
profileEntryQueryInspector
- a profile entry query inspectorNullArgumentException
-
profileEntryQueryInspector
is null
UnsupportedException
- pofileEntryQueryInspector
is not of this servicemandatory
- This method must be implemented.