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)
           
 

Method Detail

createIssueLink

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

void removeIssueLink(IssueLink issueLink,
                     com.opensymphony.user.User remoteUser)
                     throws RemoveException
Removes given issue link

Parameters:
issueLink - the issue link to remove
remoteUser - needed for creation of change items
Throws:
RemoveException - if error occurs during creation of change items

removeIssueLinks

int removeIssueLinks(org.ofbiz.core.entity.GenericValue issue,
                     com.opensymphony.user.User remoteUser)
                     throws RemoveException
Throws:
RemoveException

getLinkCollection

LinkCollection getLinkCollection(org.ofbiz.core.entity.GenericValue issue,
                                 com.opensymphony.user.User remoteUser)

getIssueLinks

java.util.Collection getIssueLinks(java.lang.Long issueLinkTypeId)

getOutwardLinks

java.util.List getOutwardLinks(java.lang.Long sourceId)

getInwardLinks

java.util.List getInwardLinks(java.lang.Long destinationId)

moveIssueLink

void moveIssueLink(java.util.List issueList,
                   java.lang.Long currentSequence,
                   java.lang.Long sequence)

resetSequences

void resetSequences(java.util.List issueLinks)

getIssueLink

IssueLink getIssueLink(java.lang.Long sourceId,
                       java.lang.Long destinationId,
                       java.lang.Long issueLinkTypeId)

changeIssueLinkType

void changeIssueLinkType(IssueLink issueLink,
                         IssueLinkType swapLinkType,
                         com.opensymphony.user.User remoteUser)
                         throws RemoveException
Throws:
RemoveException


Copyright © 2002-2006 Atlassian. All Rights Reserved.