public interface EventSearchSession extends EventQuerySession
This session provides methods for searching Event
objects. The search query is constructed using the EventQuery.
The event record Type
also specifies the record for
the event query.
getEventsByQuery()
is the basic search method and
returns a list of Events.
A more advanced search may be
performed with getEventsBySearch().
It accepts an
EventSearch
in addition to the query for the purpose of specifying
additional options affecting the entire search, such as ordering.
getEventsBySearch()
returns an EventSearchResults
that can be used to access the resulting EventList
or be
used to perform a search within the result set through EventSearch.
This session defines views that offer differing behaviors for searching.
Event
Events may have a query record indicated by their respective record
types. The query record is accessed via the EventQuery.
Modifier and Type | Method and Description |
---|---|
EventQuery |
getEventQueryFromInspector(EventQueryInspector eventQueryInspector)
Gets an event query from an inspector.
|
EventSearchResults |
getEventsBySearch(EventQuery eventQuery,
EventSearch eventSearch)
Gets the search results matching the given search query using the
given search.
|
EventSearch |
getEventSearch()
Gets an event search.
|
EventSearchOrder |
getEventSearchOrder()
Gets an event search order.
|
canSearchEvents, getCalendar, getCalendarId, getEventQuery, getEventsByQuery, useDenormalizedEventView, useFederatedCalendarView, useIsolatedCalendarView, useNormalizedEventView, useSequesteredEventView, useUnsequesteredEventView
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactions
close
EventSearch getEventSearch()
mandatory
- This method must be implemented. EventSearchOrder getEventSearchOrder()
EventSearchOrder
is
supplied to an EventSearch
to specify the ordering of
results.mandatory
- This method must be implemented. EventSearchResults getEventsBySearch(EventQuery eventQuery, EventSearch eventSearch) throws OperationFailedException, PermissionDeniedException
eventQuery
- the event search queryeventSearch
- the event searchNullArgumentException
- eventQuery
or
eventSearch
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureUnsupportedException
- eventSearch
or
eventQuery
is not of this servicemandatory
- This method must be implemented. EventQuery getEventQueryFromInspector(EventQueryInspector eventQueryInspector)
EventSearchResults.
eventQueryInspector
- an event query inspectorNullArgumentException
- eventQueryInspector
is null
UnsupportedException
- eventQueryInspector
is not of this servicemandatory
- This method must be implemented.