com.atlassian.greenhopper.service.rapid
Class RapidViewLocationServiceImpl
java.lang.Object
com.atlassian.greenhopper.service.rapid.RapidViewLocationServiceImpl
- All Implemented Interfaces:
- RapidViewLocationService
@Service
public class RapidViewLocationServiceImpl
- extends java.lang.Object
- implements RapidViewLocationService
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected final LoggerWrapper log
RapidViewLocationServiceImpl
public RapidViewLocationServiceImpl()
getRapidViewsForIssue
@NotNull
public ServiceOutcome<java.util.Set<RapidView>> getRapidViewsForIssue(com.atlassian.crowd.embedded.api.User user,
com.atlassian.jira.issue.Issue issue)
- Description copied from interface:
RapidViewLocationService
- Given the issue, look up all the Rapid Boards it appears on. Will only return Boards where the issue can be
seen on the board in some mode. For Kanban Boards, this means that issues must appear in Work mode to qualify
(taking into account the Work mode sub filter).
Calling this method may execute many Lucene queries.
- Specified by:
getRapidViewsForIssue
in interface RapidViewLocationService
- Parameters:
user
- the user performing the lookupissue
- the issue being looked up
- Returns:
- the outcome; the Rapid Boards that the issue appears on.
getRapidViewsForSprint
@NotNull
public ServiceOutcome<java.util.Set<RapidView>> getRapidViewsForSprint(com.atlassian.crowd.embedded.api.User user,
java.lang.Long sprintId)
- Description copied from interface:
RapidViewLocationService
- Given the sprint, look up all the Rapid Boards it appears on.
Calling this method may execute many Lucene queries.
- Specified by:
getRapidViewsForSprint
in interface RapidViewLocationService
- Parameters:
user
- the user performing the lookupsprintId
- the ID of the sprint being looked up
- Returns:
- the outcome; the Rapid Boards that the sprint appears on.
getBoardLocationForIssue
public ServiceOutcome<BoardLocation> getBoardLocationForIssue(com.atlassian.crowd.embedded.api.User user,
com.atlassian.jira.issue.Issue issue,
RapidView rapidView)
- Description copied from interface:
RapidViewLocationService
- Given the issue and a particular
RapidView
, returns the precise location of that issue on the RapidView
.
This is used so that we can redirect the user to exactly where the issue is, and not just dropping them on the board.
- Specified by:
getBoardLocationForIssue
in interface RapidViewLocationService
- Parameters:
user
- the user performing the lookupissue
- the issue being looked uprapidView
- the board being looked up
- Returns:
- the outcome
getBoardLocationForSprint
public ServiceOutcome<BoardLocation> getBoardLocationForSprint(com.atlassian.crowd.embedded.api.User user,
Sprint sprint)
- Description copied from interface:
RapidViewLocationService
- Given the sprint, returns the precise location of that sprint (on any
RapidView
).
- Specified by:
getBoardLocationForSprint
in interface RapidViewLocationService
- Parameters:
user
- the user performing the lookupsprint
- the sprint being looked up
- Returns:
- the outcome
Copyright © 2007-2014 Atlassian. All Rights Reserved.