com.atlassian.greenhopper.service.issuelink
Class EpicServiceImpl

java.lang.Object
  extended by com.atlassian.greenhopper.service.issuelink.EpicServiceImpl
All Implemented Interfaces:
EpicService

@Service
public class EpicServiceImpl
extends java.lang.Object
implements EpicService


Constructor Summary
EpicServiceImpl()
           
 
Method Summary
 ServiceOutcome<java.lang.Void> associateEpicToStory(com.atlassian.crowd.embedded.api.User user, com.atlassian.jira.issue.Issue epic, com.atlassian.jira.issue.Issue story)
          Associate a story to an epic
 ServiceOutcome<java.lang.Void> associateStoriesWithEpic(com.atlassian.crowd.embedded.api.User user, com.atlassian.jira.issue.Issue epic, java.util.Set<com.atlassian.jira.issue.Issue> stories)
          Associate one or more stories with an epic.
 ServiceOutcome<java.lang.Void> disassociateStoriesFromEpic(com.atlassian.crowd.embedded.api.User user, java.util.Set<com.atlassian.jira.issue.Issue> stories)
          Disassociates the stories from the epic they are associated with.
 ServiceOutcome<java.util.List<com.atlassian.jira.issue.Issue>> getEpics(com.atlassian.crowd.embedded.api.User user)
          Get all epics in the system that a user can see.
 ServiceOutcome<java.util.Collection<com.atlassian.jira.issue.Issue>> getStoriesForEpic(com.atlassian.crowd.embedded.api.User user, com.atlassian.jira.issue.Issue epic)
          Get all the stories associated with an epic.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EpicServiceImpl

public EpicServiceImpl()
Method Detail

associateEpicToStory

public ServiceOutcome<java.lang.Void> associateEpicToStory(com.atlassian.crowd.embedded.api.User user,
                                                           @NotNull
                                                           com.atlassian.jira.issue.Issue epic,
                                                           @NotNull
                                                           com.atlassian.jira.issue.Issue story)
Description copied from interface: EpicService
Associate a story to an epic

Specified by:
associateEpicToStory in interface EpicService
Returns:

associateStoriesWithEpic

public ServiceOutcome<java.lang.Void> associateStoriesWithEpic(com.atlassian.crowd.embedded.api.User user,
                                                               @NotNull
                                                               com.atlassian.jira.issue.Issue epic,
                                                               @NotNull
                                                               java.util.Set<com.atlassian.jira.issue.Issue> stories)
Description copied from interface: EpicService
Associate one or more stories with an epic.

Specified by:
associateStoriesWithEpic in interface EpicService
Returns:

disassociateStoriesFromEpic

public ServiceOutcome<java.lang.Void> disassociateStoriesFromEpic(com.atlassian.crowd.embedded.api.User user,
                                                                  java.util.Set<com.atlassian.jira.issue.Issue> stories)
Description copied from interface: EpicService
Disassociates the stories from the epic they are associated with.

Specified by:
disassociateStoriesFromEpic in interface EpicService
Returns:

getStoriesForEpic

public ServiceOutcome<java.util.Collection<com.atlassian.jira.issue.Issue>> getStoriesForEpic(com.atlassian.crowd.embedded.api.User user,
                                                                                              com.atlassian.jira.issue.Issue epic)
Description copied from interface: EpicService
Get all the stories associated with an epic.

Specified by:
getStoriesForEpic in interface EpicService
Returns:

getEpics

public ServiceOutcome<java.util.List<com.atlassian.jira.issue.Issue>> getEpics(com.atlassian.crowd.embedded.api.User user)
Description copied from interface: EpicService
Get all epics in the system that a user can see.

Specified by:
getEpics in interface EpicService
Returns:


Copyright © 2007-2012 Atlassian. All Rights Reserved.