public interface OffsetEventSearchSession extends OffsetEventQuerySession
This session provides methods for searching OffsetEvent
objects. The search query is constructed using the
OffsetEventQuery.
The offset event record Type
also
specifies the record for the offset event query.
getOffsetEventsByQuery()
is the basic search method and
returns a list of OffsetEvents.
A more advanced search may
be performed with getOffsetEventsBySearch().
It accepts an
OffsetEventSearch
in addition to the query for the purpose
of specifying additional options affecting the entire search, such as
ordering. getOffsetEventsBySearch()
returns an
OffsetEventSearchResults
that can be used to access the resulting
OffsetEventList
or be used to perform a search within the
result set through OffsetEventSearch.
This session defines views that offer differing behaviors for searching.
Offset events may have a query record indicated by their respective
record types. The query record is accessed via the
OffsetEventQuery.
Modifier and Type | Method and Description |
---|---|
OffsetEventQuery |
getOffsetEventQueryFromInspector(OffsetEventQueryInspector offsetEventQueryInspector)
Gets an offset event query from an inspector.
|
OffsetEventSearchResults |
getOffsetEventsBySearch(OffsetEventQuery offsetEventQuery,
OffsetEventSearch offsetEventSearch)
Gets the search results matching the given search query using the
given search.
|
OffsetEventSearch |
getOffsetEventSearch()
Gets an offset event search.
|
OffsetEventSearchOrder |
getOffsetEventSearchOrder()
Gets an offset event search order.
|
canSearchOffsetEvents, getCalendar, getCalendarId, getOffsetEventQuery, getOffsetEventsByQuery, useFederatedCalendarView, useIsolatedCalendarView
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactions
close
OffsetEventSearch getOffsetEventSearch()
mandatory
- This method must be implemented. OffsetEventSearchOrder getOffsetEventSearchOrder()
OffsetEventSearchOrder
is supplied to an OffsetEventSearch
to specify
the ordering of results.mandatory
- This method must be implemented. OffsetEventSearchResults getOffsetEventsBySearch(OffsetEventQuery offsetEventQuery, OffsetEventSearch offsetEventSearch) throws OperationFailedException, PermissionDeniedException
offsetEventQuery
- the offset event search queryoffsetEventSearch
- the offset event searchNullArgumentException
- offsetEventQuery
or offsetEventSearch
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureUnsupportedException
- offsetEventQuery
is not of this servicemandatory
- This method must be implemented. OffsetEventQuery getOffsetEventQueryFromInspector(OffsetEventQueryInspector offsetEventQueryInspector)
OffsetEventSearchResults.
offsetEventQueryInspector
- an offset event query inspectorNullArgumentException
-
offsetEventQueryInspector
is null
UnsupportedException
- offsetEventQueryInspector
is not of this servicemandatory
- This method must be implemented.