com.atlassian.greenhopper.web.rapid.plan
Class PlanningModeServiceImpl
java.lang.Object
com.atlassian.greenhopper.global.AbstractLoggable
com.atlassian.greenhopper.web.rapid.plan.PlanningModeServiceImpl
- All Implemented Interfaces:
- PlanningModeService
@Service
public class PlanningModeServiceImpl
- extends AbstractLoggable
- implements PlanningModeService
Provides data required on the planning mode
Method Summary |
ServiceOutcome<java.util.Map<java.lang.String,java.lang.Integer>> |
calculateEpicIssueCount(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
java.util.List<RapidIssueEntry> backlogIssues,
java.lang.Iterable<RapidIssueEntry> activeSprintsIssues,
java.util.List<RapidIssueEntry> epics)
Fills in the epic issue key for all issues |
ServiceOutcome<PlanningDataModel.OpenSprintEntry> |
getCurrentSprintAndIssues(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
java.lang.Long sprintId,
java.util.Set<java.lang.Long> activeQuickFilters)
Returns a representation of a single currently (open) sprint. |
ServiceOutcome<PlanningModeService.CurrentSprints> |
getCurrentSprintsAndIssues(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
java.util.Set<java.lang.Long> activeQuickFilters)
Returns a representation of the current (open) sprints and their issues for the Plan mode of a Rapid Board. |
ServiceOutcome<java.lang.Iterable<com.atlassian.jira.issue.Issue>> |
getTopRankedIssueInSprint(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
java.util.Set<java.lang.Long> activeQuickFilters)
Get the top ranked issue in the current sprint for a given rapid view. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlanningModeServiceImpl
public PlanningModeServiceImpl()
calculateEpicIssueCount
public ServiceOutcome<java.util.Map<java.lang.String,java.lang.Integer>> calculateEpicIssueCount(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
java.util.List<RapidIssueEntry> backlogIssues,
java.lang.Iterable<RapidIssueEntry> activeSprintsIssues,
java.util.List<RapidIssueEntry> epics)
- Fills in the epic issue key for all issues
- Specified by:
calculateEpicIssueCount
in interface PlanningModeService
getTopRankedIssueInSprint
public ServiceOutcome<java.lang.Iterable<com.atlassian.jira.issue.Issue>> getTopRankedIssueInSprint(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
java.util.Set<java.lang.Long> activeQuickFilters)
- Description copied from interface:
PlanningModeService
- Get the top ranked issue in the current sprint for a given rapid view.
TODO This is an excellent candidate to return a Maybe
- Specified by:
getTopRankedIssueInSprint
in interface PlanningModeService
- Returns:
- An Iterable of Issue, which contains either zero or one issues.
getCurrentSprintAndIssues
@NotNull
public ServiceOutcome<PlanningDataModel.OpenSprintEntry> getCurrentSprintAndIssues(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
java.lang.Long sprintId,
java.util.Set<java.lang.Long> activeQuickFilters)
- Description copied from interface:
PlanningModeService
- Returns a representation of a single currently (open) sprint.
- Specified by:
getCurrentSprintAndIssues
in interface PlanningModeService
- Parameters:
user
- the userrapidView
- the boardsprintId
- the id of the sprint to retrieve
- Returns:
- the representation of current sprints
getCurrentSprintsAndIssues
public ServiceOutcome<PlanningModeService.CurrentSprints> getCurrentSprintsAndIssues(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
java.util.Set<java.lang.Long> activeQuickFilters)
- Description copied from interface:
PlanningModeService
- Returns a representation of the current (open) sprints and their issues for the Plan mode of a Rapid Board.
- Specified by:
getCurrentSprintsAndIssues
in interface PlanningModeService
- Parameters:
user
- the userrapidView
- the board
- Returns:
- the representation of current sprints
Copyright © 2007-2012 Atlassian. All Rights Reserved.