public class

IssueLinkTypeDestroyerImpl

extends Object
implements IssueLinkTypeDestroyer
java.lang.Object
   ↳ com.atlassian.jira.issue.link.IssueLinkTypeDestroyerImpl

Summary

Public Constructors
IssueLinkTypeDestroyerImpl(IssueLinkTypeManager issueLinkTypeManager, IssueLinkManager issueLinkManager)
Public Methods
void removeIssueLinkType(Long issueLinkTypeId, IssueLinkType swapLinkType, ApplicationUser remoteUser)
Removes an issueLinkType from the datastore.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.issue.link.IssueLinkTypeDestroyer

Public Constructors

public IssueLinkTypeDestroyerImpl (IssueLinkTypeManager issueLinkTypeManager, IssueLinkManager issueLinkManager)

Public Methods

public void removeIssueLinkType (Long issueLinkTypeId, IssueLinkType swapLinkType, ApplicationUser remoteUser)

Removes an issueLinkType from the datastore. If a swapLinkType is passed (not null) the exsting issue links of the issueLinkType are changed to the swapLinkType. If swapLinkType is null, all issue links are removed.

Parameters
issueLinkTypeId the id of the issue link type top delete
swapLinkType If null issue links are removed, if not null the issue links are changed to this issue link type
remoteUser the remote user performing the delete operation (needed for change item creating)