com.atlassian.jira.issue.link
Interface IssueLinkManager
- All Known Implementing Classes:
- DefaultIssueLinkManager
- public interface IssueLinkManager
The implementations of this class are used to manage issue link types and issue links
Method Summary |
void |
changeIssueLinkType(IssueLink issueLink,
IssueLinkType swapLinkType,
com.opensymphony.user.User remoteUser)
|
void |
createIssueLink(java.lang.Long sourceId,
java.lang.Long destinationId,
java.lang.Long issueLinkTypeId,
java.lang.Long sequence,
com.opensymphony.user.User remoteUser)
|
java.util.List |
getInwardLinks(java.lang.Long destinationId)
|
IssueLink |
getIssueLink(java.lang.Long sourceId,
java.lang.Long destinationId,
java.lang.Long issueLinkTypeId)
|
java.util.Collection |
getIssueLinks(java.lang.Long issueLinkTypeId)
|
LinkCollection |
getLinkCollection(org.ofbiz.core.entity.GenericValue issue,
com.opensymphony.user.User remoteUser)
|
java.util.List |
getOutwardLinks(java.lang.Long sourceId)
|
void |
moveIssueLink(java.util.List issueList,
java.lang.Long currentSequence,
java.lang.Long sequence)
|
void |
removeIssueLink(IssueLink issueLink,
com.opensymphony.user.User remoteUser)
Removes given issue link |
int |
removeIssueLinks(org.ofbiz.core.entity.GenericValue issue,
com.opensymphony.user.User remoteUser)
|
void |
resetSequences(java.util.List issueLinks)
|
createIssueLink
public void createIssueLink(java.lang.Long sourceId,
java.lang.Long destinationId,
java.lang.Long issueLinkTypeId,
java.lang.Long sequence,
com.opensymphony.user.User remoteUser)
throws CreateException
- Throws:
CreateException
removeIssueLink
public void removeIssueLink(IssueLink issueLink,
com.opensymphony.user.User remoteUser)
throws RemoveException
- Removes given issue link
- Parameters:
issueLink
- the issue link to removeremoteUser
- needed for creation of change items
- Throws:
RemoveException
- if error occurs during creation of change items
removeIssueLinks
public int removeIssueLinks(org.ofbiz.core.entity.GenericValue issue,
com.opensymphony.user.User remoteUser)
throws RemoveException
- Throws:
RemoveException
getLinkCollection
public LinkCollection getLinkCollection(org.ofbiz.core.entity.GenericValue issue,
com.opensymphony.user.User remoteUser)
getIssueLinks
public java.util.Collection getIssueLinks(java.lang.Long issueLinkTypeId)
getOutwardLinks
public java.util.List getOutwardLinks(java.lang.Long sourceId)
getInwardLinks
public java.util.List getInwardLinks(java.lang.Long destinationId)
moveIssueLink
public void moveIssueLink(java.util.List issueList,
java.lang.Long currentSequence,
java.lang.Long sequence)
resetSequences
public void resetSequences(java.util.List issueLinks)
getIssueLink
public IssueLink getIssueLink(java.lang.Long sourceId,
java.lang.Long destinationId,
java.lang.Long issueLinkTypeId)
changeIssueLinkType
public void changeIssueLinkType(IssueLink issueLink,
IssueLinkType swapLinkType,
com.opensymphony.user.User remoteUser)
throws RemoveException
- Throws:
RemoveException
Copyright © 2002-2005 Atlassian. All Rights Reserved.