public interface IssueSearchSession extends IssueQuerySession
This session provides methods for searching among Issue
objects. The search query is constructed using the IssueQuery.
getIssuesByQuery()
is the basic search method and
returns a list of Issues.
A more advanced search may be
performed with getIssuesBySearch().
It accepts an
IssueSearch
in addition to the query for the purpose of specifying
additional options affecting the entire search, such as ordering.
getIssuesBySearch()
returns an IssueSearchResults
that can be used to access the resulting IssueList
or be
used to perform a search within the result set through IssueSearch.
This session defines views that offer differing behaviors for searching.
Issues may have a query record indicated by their respective record
types. The query record is accessed via the IssueQuery.
Modifier and Type | Method and Description |
---|---|
IssueQuery |
getIssueQueryFromInspector(IssueQueryInspector issueQueryInspector)
Gets an issue query from an inspector.
|
IssueSearchResults |
getIssuesBySearch(IssueQuery issueQuery,
IssueSearch issueSearch)
Gets the search results matching the given search query using the
given search.
|
IssueSearch |
getIssueSearch()
Gets an issue search.
|
IssueSearchOrder |
getIssueSearchOrder()
Gets an issue search order.
|
canSearchIssues, getFrontOffice, getFrontOfficeId, getIssueQuery, getIssuesByQuery, useFederatedFrontOfficeView, useIsolatedFrontOfficeView
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactions
close
IssueSearch getIssueSearch()
mandatory
- This method must be implemented. IssueSearchOrder getIssueSearchOrder()
IssueSearchOrder
is
supplied to an IssueSearch
to specify the ordering of
results.mandatory
- This method must be implemented. IssueSearchResults getIssuesBySearch(IssueQuery issueQuery, IssueSearch issueSearch) throws OperationFailedException, PermissionDeniedException
issueQuery
- the issue queryissueSearch
- the issue searchNullArgumentException
- issueQuery
or
issueSearch
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureUnsupportedException
- issueQuery
or
issueSearch
is not of this servicemandatory
- This method must be implemented. IssueQuery getIssueQueryFromInspector(IssueQueryInspector issueQueryInspector)
IssueSearchResults.
issueQueryInspector
- an issue query inspectorNullArgumentException
- issueQueryInspector
is null
UnsupportedException
- issueQueryInspector
is not of this servicemandatory
- This method must be implemented.