java.lang.Object | |
↳ | com.atlassian.jira.issue.search.managers.DefaultSearchHandlerManager |
Default JIRA implementation of SearchHandlerManager
.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return all the active searchers in JIRA.
| |||||||||||
Return a collection of
ClauseHandler s registered against the passed JQL clause
name. | |||||||||||
Return a collection of
ClauseHandler s registered against the passed JQL clause
name. | |||||||||||
Gets the field ids that are associated with the provided jqlClauseName.
| |||||||||||
Gets the field ids that are associated with the provided jqlClauseName.
| |||||||||||
Get the
ClauseNames associated with the provided field name. | |||||||||||
Get a searcher by the searchers name.
| |||||||||||
Get all searcher groups with the
IssueSearcher that are applicable for the context. | |||||||||||
Get all searcher groups.
| |||||||||||
Get searchers that are applicable for a given context.
| |||||||||||
Return a collection of
IssueSearcher s registered against the
passed JQL clause name. | |||||||||||
Return a collection of
IssueSearcher s registered against the
passed JQL clause name. | |||||||||||
Get all the available clause handlers that the searcher can see.
| |||||||||||
Get all the available clause names that the searcher can see.
| |||||||||||
Refreshes the
SearchHandlerManager . |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Return all the active searchers in JIRA. It will not return the searchers unless they are associated with a field.
Return a collection of ClauseHandler
s registered against the passed JQL clause
name. This will only return the handlers that the user has permission to see as specified by the com.atlassian.jira.jql.permission.ClausePermissionHandler#hasPermissionToUseClause(User)
method. The reason this is returning a collection is that custom fields can have the same JQL clause name and
therefore resolve to multiple clause handlers. This will never be the case for System fields; we don't allow it!
user | that will be used to perform a permission check. |
---|---|
jqlClauseName | the clause name to search for. |
Return a collection of ClauseHandler
s registered against the passed JQL clause
name. This will return all available handlers, regardless of permissions. The reason this is returning a collection
is that custom fields can have the same JQL clause name and therefore resolve to multiple clause handlers. This
will never be the case for System fields; we don't allow it!
jqlClauseName | the clause name to search for. |
---|
Gets the field ids that are associated with the provided jqlClauseName. The reason this returns a collection is that custom fields can have the same JQL clause name and therefore resolve to multiple field ids. This will only return the fields associated with clause handlers that the user has permission to see as specified by the com.atlassian.jira.jql.permission.ClausePermissionHandler#hasPermissionToUseClause(com.atlassian.crowd.embedded.api.User) method.
searcher | that will be used to perform a permission check. |
---|---|
jqlClauseName | the clause name to find the field id for. |
Gets the field ids that are associated with the provided jqlClauseName. The reason this returns a collection is that custom fields can have the same JQL clause name and therefore resolve to multiple field ids.
jqlClauseName | the clause name to find the field id for. |
---|
Get the ClauseNames
associated with the provided field name.
A collection can be returned because it is possible for multiple clause handlers to register against the same field.
fieldId | the getId() . |
---|
ClauseNames
associated with the provided field name. Empty collection
is returned when the field has no JQL names (i.e. no clause handlers) associated with it.
Get a searcher by the searchers name.
id | the string identifier returned by com.atlassian.jira.issue.search.searchers.IssueSearcher#getSearchInformation()#getId() |
---|
Get all searcher groups with the IssueSearcher
that are applicable for the context. com.atlassian.jira.issue.search.searchers.IssueSearcher#getSearchRenderer()#isShown(SearchContext) method. Note
that the SearcherGroup
will still appear even if no IssueSearcher
are shown for the group.
searchContext | for the searcher groups. |
---|
SearcherGroup
Get all searcher groups. Note that the SearcherGroup
will
still appear even if no IssueSearcher
are shown for the group.
SearcherGroup
Get searchers that are applicable for a given context. This is found through the com.atlassian.jira.issue.search.searchers.IssueSearcher#getSearchRenderer()#isShown(com.atlassian.jira.issue.search.SearchContext) method.
searcher | performing this action. |
---|---|
context | for the list of searchers. Must not be null |
IssueSearcher
Return a collection of IssueSearcher
s registered against the
passed JQL clause name. This will only return the IssueSearchers that the user has permission to see as specified
by the com.atlassian.jira.issue.search.searchers.renderer.SearchRenderer#isShown(User, com.atlassian.jira.issue.search.SearchContext)
method.
user | that will be used to perform a permission check. |
---|---|
jqlClauseName | the clause name to search for. |
searchContext | the search context under which the searchers must be shown |
Return a collection of IssueSearcher
s registered against the
passed JQL clause name. This will only return the IssueSearchers that the user has permission to see as specified
by the com.atlassian.jira.issue.search.searchers.renderer.SearchRenderer#isShown(User, com.atlassian.jira.issue.search.SearchContext)
method.
user | that will be used to perform a permission check. |
---|---|
jqlClauseName | the clause name to search for. |
Get all the available clause handlers that the searcher can see.
searcher | that will be used to perform a permission check. |
---|
ClauseHandler
visible to the user. Empty collection
is returned when the can see no clauses.
Get all the available clause names that the searcher can see.
searcher | that will be used to perform a permission check. |
---|
ClauseNames
visible to the user. Empty collection
is returned when the can see no clauses.