com.atlassian.jira.issue.link
Interface IssueLinkTypeDestroyer

All Known Implementing Classes:
IssueLinkTypeDestroyerImpl

@PublicApi
public interface IssueLinkTypeDestroyer


Method Summary
 void removeIssueLinkType(Long issueLinkTypeId, IssueLinkType swapLinkType, com.atlassian.crowd.embedded.api.User remoteUser)
          Removes an issueLinkType from the datastore.
 

Method Detail

removeIssueLinkType

void removeIssueLinkType(Long issueLinkTypeId,
                         IssueLinkType swapLinkType,
                         com.atlassian.crowd.embedded.api.User remoteUser)
                         throws RemoveException
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


Copyright © 2002-2012 Atlassian. All Rights Reserved.