public interface QueueSearchSession extends QueueQuerySession
This session provides methods for searching among Queue
objects. The search query is constructed using the QueueQuery.
getQueuesByQuery()
is the basic search method and
returns a list of Queues.
A more advanced search may be
performed with getQueuesBySearch().
It accepts a
QueueSearch
in addition to the query for the purpose of specifying
additional options affecting the entire search, such as ordering.
getQueuesBySearch()
returns a QueueSearchResults
that can be used to access the resulting QueueList
or be
used to perform a search within the result set through QueueSearch.
This session defines views that offer differing behaviors for searching.
Queues may have a query record indicated by their respective record
types. The query record is accessed via the QueueQuery.
Modifier and Type | Method and Description |
---|---|
QueueQuery |
getQueueQueryFromInspector(QueueQueryInspector queueQueryInspector)
Gets a queue query from an inspector.
|
QueueSearchResults |
getQueuesBySearch(QueueQuery queueQuery,
QueueSearch queueSearch)
Gets the search results matching the given search query using the
given search.
|
QueueSearch |
getQueueSearch()
Gets a queue search.
|
QueueSearchOrder |
getQueueSearchOrder()
Gets a queue search order.
|
canSearchQueues, getFrontOffice, getFrontOfficeId, getQueueQuery, getQueuesByQuery, useFederatedFrontOfficeView, useIsolatedFrontOfficeView
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactions
close
QueueSearch getQueueSearch()
mandatory
- This method must be implemented. QueueSearchOrder getQueueSearchOrder()
QueueSearchOrder
is
supplied to a QueueSearch
to specify the ordering of
results.mandatory
- This method must be implemented. QueueSearchResults getQueuesBySearch(QueueQuery queueQuery, QueueSearch queueSearch) throws OperationFailedException, PermissionDeniedException
queueQuery
- the queue queryqueueSearch
- the queue searchNullArgumentException
- queueQuery
or
queueSearch
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureUnsupportedException
- queueQuery
or
queueSearch
is not of this servicemandatory
- This method must be implemented. QueueQuery getQueueQueryFromInspector(QueueQueryInspector queueQueryInspector)
QueueSearchResults.
queueQueryInspector
- a queue query inspectorNullArgumentException
- queueQueryInspector
is null
UnsupportedException
- queueQueryInspector
is not of this servicemandatory
- This method must be implemented.