com.atlassian.greenhopper.service.issuelink
Class EpicServiceImpl
java.lang.Object
com.atlassian.greenhopper.service.issuelink.EpicServiceImpl
- All Implemented Interfaces:
- EpicService
@Service
public class EpicServiceImpl
- extends java.lang.Object
- implements EpicService
Method Summary |
ServiceOutcome<java.lang.Void> |
associateIssuesWithEpic(com.atlassian.crowd.embedded.api.User user,
com.atlassian.jira.issue.Issue epic,
java.util.Set<com.atlassian.jira.issue.Issue> issues)
Associate one or more issues with an epic. |
ServiceOutcome<java.lang.Void> |
disassociateEpicFromIssues(com.atlassian.crowd.embedded.api.User user,
java.util.Set<com.atlassian.jira.issue.Issue> issues)
Disassociates the issues from the epic(s) they are associated with. |
ServiceOutcome<EpicNamesResult> |
listEpicNames(com.atlassian.crowd.embedded.api.User user,
java.lang.String searchTerm,
int maxResults,
com.atlassian.jira.project.Project prioritizedProject)
Returns a result object containing the matching epic names. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EpicServiceImpl
public EpicServiceImpl()
associateIssuesWithEpic
@Nonnull
public ServiceOutcome<java.lang.Void> associateIssuesWithEpic(com.atlassian.crowd.embedded.api.User user,
@Nonnull
com.atlassian.jira.issue.Issue epic,
@Nonnull
java.util.Set<com.atlassian.jira.issue.Issue> issues)
- Description copied from interface:
EpicService
- Associate one or more issues with an epic.
- Specified by:
associateIssuesWithEpic
in interface EpicService
- Parameters:
user
- the user performing the operationepic
- the epicissues
- the issues
- Returns:
- the outcome
disassociateEpicFromIssues
@Nonnull
public ServiceOutcome<java.lang.Void> disassociateEpicFromIssues(com.atlassian.crowd.embedded.api.User user,
@Nonnull
java.util.Set<com.atlassian.jira.issue.Issue> issues)
- Description copied from interface:
EpicService
- Disassociates the issues from the epic(s) they are associated with.
- Specified by:
disassociateEpicFromIssues
in interface EpicService
- Parameters:
user
- the user performing the operationissues
- the issues
- Returns:
- the outcome
listEpicNames
@Nonnull
public ServiceOutcome<EpicNamesResult> listEpicNames(com.atlassian.crowd.embedded.api.User user,
java.lang.String searchTerm,
int maxResults,
com.atlassian.jira.project.Project prioritizedProject)
- Description copied from interface:
EpicService
- Returns a result object containing the matching epic names.
- Specified by:
listEpicNames
in interface EpicService
searchTerm
- The search term to be used to find matching epic names. Matching will occur agains the epic's key and namemaxResults
- The maximum amount of matching epic names to be returned.prioritizedProject
- Optional. If search term is blank, the returned epic names will be selected if they belong to the prioritized project
- Returns:
Copyright © 2007-2014 Atlassian. All Rights Reserved.