|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.greenhopper.service.query.QueryServiceImpl
@Service public class QueryServiceImpl
Constructor Summary | |
---|---|
QueryServiceImpl()
|
Method Summary | |
---|---|
ServiceOutcome<java.util.Set<com.atlassian.jira.project.Project>> |
getProjectsForRapidViewFilterQuery(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView)
Find all projects for a given rapid view filter query. |
ServiceOutcome<java.util.Set<com.atlassian.jira.project.Project>> |
getProjectsForRapidViewIssuesOverrideSecurity(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView)
Find all projects for a given rapid view by looking at the issues matched by the rapid view query. |
java.util.List<com.atlassian.jira.project.Project> |
getProjectsInProjectClauseOnlyQuery(com.atlassian.crowd.embedded.api.User 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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QueryServiceImpl()
Method Detail |
---|
public boolean isProjectClauseOnlyQuery(@Nullable com.atlassian.query.Query query)
QueryService
isProjectClauseOnlyQuery
in interface QueryService
query
- the query; may be null
public java.util.List<com.atlassian.jira.project.Project> getProjectsInProjectClauseOnlyQuery(com.atlassian.crowd.embedded.api.User user, @NotNull com.atlassian.query.Query projectBasedQuery)
QueryService
QueryContext
information.
getProjectsInProjectClauseOnlyQuery
in interface QueryService
user
- the user performing the queryprojectBasedQuery
- the query; must not be null and must be a project-based query
public ServiceOutcome<java.util.Set<com.atlassian.jira.project.Project>> getProjectsForRapidViewFilterQuery(com.atlassian.crowd.embedded.api.User user, @NotNull RapidView rapidView)
QueryService
getProjectsForRapidViewFilterQuery
in interface QueryService
public ServiceOutcome<java.util.Set<com.atlassian.jira.project.Project>> getProjectsForRapidViewIssuesOverrideSecurity(com.atlassian.crowd.embedded.api.User user, RapidView rapidView)
QueryService
getProjectsForRapidViewIssuesOverrideSecurity
in interface QueryService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |