public interface LogEntrySearchSession extends LogEntryQuerySession
This session provides methods for searching among log entries. The
search query is constructed using the LogEntryQuery.
getLogEntriesByQuery()
is the basic search method and
returns a list of log entries. A more advanced search may be performed
with getLogEntriesBySearch().
It accepts a
LogEntrySearch
in addition to the query for the purpose of
specifying additional options affecting the entire search, such as
ordering. getLogEntriesBySearch()
returns a
LogEntrySearchResults
that can be used to access the resulting
LogEntryList
or be used to perform a search within the
result set through LogEntrySearch.
This session defines views that offer differing behaviors for searching.
Modifier and Type | Method and Description |
---|---|
LogEntrySearchResults |
getLogEntriesBySearch(LogEntryQuery logEntryQuery,
LogEntrySearch logEntrySearch)
Gets the search results matching the given search query using the
given search.
|
LogEntryQuery |
getLogEntryQueryFromInspector(LogQueryInspector logEntryQueryInspector)
Gets a log entry query from an inspector.
|
LogEntrySearch |
getLogEntrySearch()
Gets a log entry search.
|
LogEntrySearchOrder |
getLogEntrySearchOrder()
Gets a log entry search order.
|
canSearchLogEntries, getLog, getLogEntriesByQuery, getLogEntryQuery, getLogId, useFederatedLogView, useIsolatedLogView
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactions
close
LogEntrySearch getLogEntrySearch()
mandatory
- This method must be implemented. LogEntrySearchOrder getLogEntrySearchOrder()
LogEntrySearchOrder
is supplied to a LogEntrySearch
to specify the ordering
of results.mandatory
- This method must be implemented. LogEntrySearchResults getLogEntriesBySearch(LogEntryQuery logEntryQuery, LogEntrySearch logEntrySearch) throws OperationFailedException, PermissionDeniedException
logEntryQuery
- the log entry querylogEntrySearch
- the log entry searchNullArgumentException
- logEntryQuery
or
logEntrySearch
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureUnsupportedException
- logEntryQuery
or
logEntrySearch
is not of this servicemandatory
- This method must be implemented. LogEntryQuery getLogEntryQueryFromInspector(LogQueryInspector logEntryQueryInspector)
LogEntrySearchResults.
logEntryQueryInspector
- a log entry query inspectorNullArgumentException
- logEntryQueryInspector
is null
UnsupportedException
- logEntryQueryInspector
is not of this servicemandatory
- This method must be implemented.