Class PlanningModeServiceImpl
java.lang.Object
com.atlassian.greenhopper.web.rapid.plan.PlanningModeServiceImpl
- All Implemented Interfaces:
PlanningModeService
Provides data required on the planning mode
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.greenhopper.web.rapid.plan.PlanningModeService
PlanningModeService.CurrentSprints, PlanningModeService.Result
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBacklogIssuesAndSprintAssignment
(com.atlassian.jira.user.ApplicationUser user, RapidView rapidView, Set<Long> activeQuickFilters) Fetches all issues shown on the plan mode.getCurrentSprintAndIssues
(com.atlassian.jira.user.ApplicationUser user, RapidView rapidView, Long sprintId, Set<Long> activeQuickFilters) Returns a representation of a single currently (open) sprint.getCurrentSprintsAndIssues
(com.atlassian.jira.user.ApplicationUser user, RapidView rapidView, Set<Long> activeQuickFilters) Returns a representation of the current (open) sprints and their issues for the Plan mode of a Rapid Board.ServiceOutcome<Iterable<com.atlassian.jira.issue.Issue>>
getTopRankedIssueInSprint
(com.atlassian.jira.user.ApplicationUser user, RapidView rapidView, Set<Long> activeQuickFilters) Get the top ranked issue in the current sprint for a given rapid view.
-
Constructor Details
-
PlanningModeServiceImpl
public PlanningModeServiceImpl()
-
-
Method Details
-
getBacklogIssuesAndSprintAssignment
public ServiceOutcome<PlanningModeService.Result> getBacklogIssuesAndSprintAssignment(com.atlassian.jira.user.ApplicationUser user, RapidView rapidView, Set<Long> activeQuickFilters) Description copied from interface:PlanningModeService
Fetches all issues shown on the plan mode. This includes all issues in an active sprint, but excludes epics- Specified by:
getBacklogIssuesAndSprintAssignment
in interfacePlanningModeService
-
getTopRankedIssueInSprint
public ServiceOutcome<Iterable<com.atlassian.jira.issue.Issue>> getTopRankedIssueInSprint(com.atlassian.jira.user.ApplicationUser user, RapidView rapidView, Set<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 interfacePlanningModeService
- Returns:
- An Iterable of Issue, which contains either zero or one issues.
-
getCurrentSprintAndIssues
@Nonnull public ServiceOutcome<SprintPlanEntry> getCurrentSprintAndIssues(com.atlassian.jira.user.ApplicationUser user, RapidView rapidView, Long sprintId, Set<Long> activeQuickFilters) Description copied from interface:PlanningModeService
Returns a representation of a single currently (open) sprint.- Specified by:
getCurrentSprintAndIssues
in interfacePlanningModeService
- 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.jira.user.ApplicationUser user, RapidView rapidView, Set<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 interfacePlanningModeService
- Parameters:
user
- the userrapidView
- the board- Returns:
- the representation of current sprints
-