@Service public class QueryServiceImpl extends Object implements QueryService
| Constructor and Description |
|---|
QueryServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
ServiceOutcome<Set<com.atlassian.jira.project.Project>> |
getExplicitProjectsForRapidViewFilterQuery(com.atlassian.jira.user.ApplicationUser user,
RapidView rapidView)
Find all projects for a given rapid view filter query which are explicitly mentioned in the jql query.
|
ServiceOutcome<Set<com.atlassian.jira.project.Project>> |
getProjectsForRapidViewFilterQuery(com.atlassian.jira.user.ApplicationUser user,
RapidView rapidView)
Find all projects for a given rapid view filter query.
|
ServiceOutcome<Set<com.atlassian.jira.project.Project>> |
getProjectsForRapidViewIssuesOverrideSecurity(com.atlassian.jira.user.ApplicationUser user,
RapidView rapidView)
Find all projects for a given rapid view by looking at the issues matched by the rapid view query.
|
List<com.atlassian.jira.project.Project> |
getProjectsInProjectClauseOnlyQuery(com.atlassian.jira.user.ApplicationUser user,
com.atlassian.query.Query projectBasedQuery)
Return the projects which are included in this query.
|
boolean |
isProjectClauseOnlyQuery(com.atlassian.query.Query query)
Determine whether this query is "project based"; i.e.
|
public boolean isProjectClauseOnlyQuery(@Nullable com.atlassian.query.Query query)
QueryServiceisProjectClauseOnlyQuery in interface QueryServicequery - the query; may be nullpublic List<com.atlassian.jira.project.Project> getProjectsInProjectClauseOnlyQuery(com.atlassian.jira.user.ApplicationUser user, @NotNull com.atlassian.query.Query projectBasedQuery)
QueryServiceQueryContext information.getProjectsInProjectClauseOnlyQuery in interface QueryServiceuser - the user performing the queryprojectBasedQuery - the query; must not be null and must be a project-based querypublic ServiceOutcome<Set<com.atlassian.jira.project.Project>> getProjectsForRapidViewFilterQuery(com.atlassian.jira.user.ApplicationUser user, @NotNull RapidView rapidView)
QueryServicegetProjectsForRapidViewFilterQuery in interface QueryServicepublic ServiceOutcome<Set<com.atlassian.jira.project.Project>> getExplicitProjectsForRapidViewFilterQuery(com.atlassian.jira.user.ApplicationUser user, @NotNull RapidView rapidView)
QueryServicegetExplicitProjectsForRapidViewFilterQuery in interface QueryServicepublic ServiceOutcome<Set<com.atlassian.jira.project.Project>> getProjectsForRapidViewIssuesOverrideSecurity(com.atlassian.jira.user.ApplicationUser user, RapidView rapidView)
QueryServicegetProjectsForRapidViewIssuesOverrideSecurity in interface QueryServiceCopyright © 2007–2015 Atlassian. All rights reserved.