|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.greenhopper.service.rapid.RapidViewQueryServiceImpl
@Service public class RapidViewQueryServiceImpl
Implementation of RapidViewQueryService
Field Summary | |
---|---|
protected LoggerWrapper |
log
|
Constructor Summary | |
---|---|
RapidViewQueryServiceImpl()
|
Method Summary | |
---|---|
ServiceOutcome<com.atlassian.query.Query> |
getActiveSprintsForPlanModeQuery(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView)
Query used to find issues and active sprints for display in Plan mode. |
ServiceOutcome<com.atlassian.query.Query> |
getBacklogQuery(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView)
Query used to find issues on the Plan mode without the subtasks This query consists of the saved filter, the mapped statuses, the plan mode query. |
ServiceOutcome<com.atlassian.query.Query> |
getBacklogQuery(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
boolean withSubtasks)
Query used to find issues on the Plan mode. |
ServiceOutcome<com.atlassian.query.Query> |
getMappedRapidViewQuery(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView)
Get the base rapid view query plus the statuses which are mapped. |
ServiceOutcome<com.atlassian.query.Query> |
getOpenSprintQuery(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
java.lang.Long sprintId)
Query used to find an open sprint for a given rapid board. |
ServiceOutcome<com.atlassian.fugue.Pair<java.util.List<Sprint>,java.util.Set<java.lang.Long>>> |
getOpenSprintsAndBacklogProjects(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView)
Get the list of open sprints for a given rapid view |
ServiceOutcome<com.atlassian.query.Query> |
getOpenSprintsQuery(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView)
Query used to find open sprints for a given rapid board. |
ServiceOutcome<com.atlassian.query.Query> |
getPlanModeIssuesQuery(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView)
Finds all issues for the plan mode. |
ServiceOutcome<ClauseToAdd> |
getQuickFilterClause(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
java.util.Set<java.lang.Long> activeQuickFilterIds)
Get the Quick Filter clause from a set of active quick filter ids |
ServiceOutcome<com.atlassian.query.Query> |
getRapidViewQuery(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView)
Get the base rapid view query. |
ServiceOutcome<com.atlassian.query.Query> |
getScrumBoardQueryForVisibleIssues(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView)
Attempts to build the query which will help determine if issues are viewable in the interface of a scrum board. |
ServiceOutcome<ClauseToAdd> |
getSprintFilterClause(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
java.util.Set<java.lang.Long> activeSprintIds)
Get the Sprints clause from a set of active sprint ids |
ServiceOutcome<com.atlassian.query.clause.Clause> |
getStatusMappingClause(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView)
Get the status mapping clause for a given RapidView |
ServiceOutcome<com.atlassian.query.Query> |
getWorkModeQuery(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView)
Get the query for the work mode. |
ServiceOutcome<com.atlassian.query.Query> |
getWorkModeQuery(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
Column column)
Get the query for the work mode and a given column. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final LoggerWrapper log
Constructor Detail |
---|
public RapidViewQueryServiceImpl()
Method Detail |
---|
@Nonnull public ServiceOutcome<com.atlassian.query.Query> getRapidViewQuery(com.atlassian.crowd.embedded.api.User user, RapidView rapidView)
RapidViewQueryService
getRapidViewQuery
in interface RapidViewQueryService
@Nonnull public ServiceOutcome<com.atlassian.query.clause.Clause> getStatusMappingClause(com.atlassian.crowd.embedded.api.User user, RapidView rapidView)
RapidViewQueryService
getStatusMappingClause
in interface RapidViewQueryService
@Nonnull public ServiceOutcome<com.atlassian.query.Query> getMappedRapidViewQuery(com.atlassian.crowd.embedded.api.User user, RapidView rapidView)
RapidViewQueryService
getMappedRapidViewQuery
in interface RapidViewQueryService
@Nonnull public ServiceOutcome<com.atlassian.query.Query> getWorkModeQuery(com.atlassian.crowd.embedded.api.User user, RapidView rapidView)
RapidViewQueryService
getWorkModeQuery
in interface RapidViewQueryService
@Nonnull public ServiceOutcome<com.atlassian.query.Query> getWorkModeQuery(com.atlassian.crowd.embedded.api.User user, RapidView rapidView, Column column)
RapidViewQueryService
getWorkModeQuery
in interface RapidViewQueryService
@Nonnull public ServiceOutcome<com.atlassian.query.Query> getBacklogQuery(com.atlassian.crowd.embedded.api.User user, RapidView rapidView)
RapidViewQueryService
getBacklogQuery
in interface RapidViewQueryService
@Nonnull public ServiceOutcome<com.atlassian.query.Query> getBacklogQuery(com.atlassian.crowd.embedded.api.User user, RapidView rapidView, boolean withSubtasks)
RapidViewQueryService
getBacklogQuery
in interface RapidViewQueryService
public ServiceOutcome<com.atlassian.query.Query> getActiveSprintsForPlanModeQuery(com.atlassian.crowd.embedded.api.User user, RapidView rapidView)
RapidViewQueryService
getActiveSprintsForPlanModeQuery
in interface RapidViewQueryService
@Nonnull public ServiceOutcome<com.atlassian.query.Query> getPlanModeIssuesQuery(com.atlassian.crowd.embedded.api.User user, RapidView rapidView)
RapidViewQueryService
getPlanModeIssuesQuery
in interface RapidViewQueryService
@Nonnull public ServiceOutcome<com.atlassian.query.Query> getOpenSprintsQuery(com.atlassian.crowd.embedded.api.User user, RapidView rapidView)
RapidViewQueryService
getOpenSprintsQuery
in interface RapidViewQueryService
@Nonnull public ServiceOutcome<com.atlassian.query.Query> getOpenSprintQuery(com.atlassian.crowd.embedded.api.User user, RapidView rapidView, java.lang.Long sprintId)
RapidViewQueryService
getOpenSprintQuery
in interface RapidViewQueryService
@Nonnull public ServiceOutcome<com.atlassian.fugue.Pair<java.util.List<Sprint>,java.util.Set<java.lang.Long>>> getOpenSprintsAndBacklogProjects(com.atlassian.crowd.embedded.api.User user, RapidView rapidView)
RapidViewQueryService
getOpenSprintsAndBacklogProjects
in interface RapidViewQueryService
@Nonnull public ServiceOutcome<ClauseToAdd> getQuickFilterClause(com.atlassian.crowd.embedded.api.User user, RapidView rapidView, java.util.Set<java.lang.Long> activeQuickFilterIds)
RapidViewQueryService
getQuickFilterClause
in interface RapidViewQueryService
@Nonnull public ServiceOutcome<ClauseToAdd> getSprintFilterClause(com.atlassian.crowd.embedded.api.User user, RapidView rapidView, java.util.Set<java.lang.Long> activeSprintIds)
RapidViewQueryService
getSprintFilterClause
in interface RapidViewQueryService
public ServiceOutcome<com.atlassian.query.Query> getScrumBoardQueryForVisibleIssues(com.atlassian.crowd.embedded.api.User user, RapidView rapidView)
RapidViewQueryService
getScrumBoardQueryForVisibleIssues
in interface RapidViewQueryService
user
- the userrapidView
- the rapid view
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |