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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlanningModeServiceImpl
public PlanningModeServiceImpl()
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-2013 Atlassian. All Rights Reserved.