public interface FrontOfficeSearchSession extends FrontOfficeQuerySession
This session provides methods for searching among FrontOffice
objects. The search query is constructed using the
FrontOfficeQuery.
getFrontOfficesByQuery()
is the basic search method and
returns a list of FrontOffices.
A more advanced search may
be performed with getFrontOfficesBySearch().
It accepts a
FrontOfficeSearch
in addition to the query for the purpose
of specifying additional options affecting the entire search, such as
ordering. getFrontOfficesBySearch()
returns a
FrontOfficeSearchResults
that can be used to access the resulting
FrontOfficeList
or be used to perform a search within the
result set through FrontOfficeSearch.
FrontOffices may have a query record indicated by their respective
record types. The query record is accessed via the
FrontOfficeQuery.
Modifier and Type | Method and Description |
---|---|
FrontOfficeQuery |
getFrontOfficeQueryFromInspector(FrontOfficeQueryInspector frontOfficeQueryInspector)
Gets a front office query from an inspector.
|
FrontOfficeSearchResults |
getFrontOfficesBySearch(FrontOfficeQuery frontOfficeQuery,
FrontOfficeSearch frontOfficeSearch)
Gets the search results matching the given search query using the
given search.
|
FrontOfficeSearch |
getFrontOfficeSearch()
Gets a front office search.
|
FrontOfficeSearchOrder |
getFrontOfficeSearchOrder()
Gets a front office search order.
|
canSearchFrontOffices, getFrontOfficeQuery, getFrontOfficesByQuery
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactions
close
FrontOfficeSearch getFrontOfficeSearch()
mandatory
- This method must be implemented. FrontOfficeSearchOrder getFrontOfficeSearchOrder()
FrontOfficeSearchOrder
is supplied to a FrontOfficeSearch
to specify
the ordering of results.mandatory
- This method must be implemented. FrontOfficeSearchResults getFrontOfficesBySearch(FrontOfficeQuery frontOfficeQuery, FrontOfficeSearch frontOfficeSearch) throws OperationFailedException, PermissionDeniedException
frontOfficeQuery
- the front office queryfrontOfficeSearch
- the front office searchNullArgumentException
- frontOfficeQuery
or frontOfficeSearch
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureUnsupportedException
- frontOfficeQuery
or frontOfficeSearch
is not of this servicemandatory
- This method must be implemented. FrontOfficeQuery getFrontOfficeQueryFromInspector(FrontOfficeQueryInspector frontOfficeQueryInspector)
FrontOfficeSearchResults.
frontOfficeQueryInspector
- a front office query inspectorNullArgumentException
-
frontOfficeQueryInspector
is null
UnsupportedException
- frontOfficeQueryInspector
is not of this servicemandatory
- This method must be implemented.