@PublicApi public interface

IssueLinkTypeDestroyer

com.atlassian.jira.issue.link.IssueLinkTypeDestroyer
Known Indirect Subclasses

@PublicApi

This interface is designed for plugins to consume (call its methods).

Clients of @PublicApi can expect that programs compiled against a given version will remain binary compatible with later versions of the @PublicApi as per each product's API policy as long as the client does not implement/extend @PublicApi interfaces or classes (refer to each product's API policy for the exact guarantee---usually binary compatibility is guaranteed at least across minor versions).

Note: since @PublicApi interfaces and classes are not designed to be implemented or extended by clients, we may perform certain types of binary-incompatible changes to these classes and interfaces, but these will not affect well-behaved clients that do not extend/implement these types (in general, only classes and interfaces annotated with @PublicSpi are safe to extend/implement).

Summary

Public Methods
void removeIssueLinkType(Long issueLinkTypeId, IssueLinkType swapLinkType, User remoteUser)
Removes an issueLinkType from the datastore.

Public Methods

public void removeIssueLinkType (Long issueLinkTypeId, IssueLinkType swapLinkType, User 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)
Throws
RemoveException if the problem occurs during change item creation or persistence