com.atlassian.jira.issue.link
Class IssueLinkTypeDestroyerImpl

java.lang.Object
  extended bycom.atlassian.jira.issue.link.IssueLinkTypeDestroyerImpl
All Implemented Interfaces:
IssueLinkTypeDestroyer

public class IssueLinkTypeDestroyerImpl
extends Object
implements IssueLinkTypeDestroyer


Constructor Summary
IssueLinkTypeDestroyerImpl(IssueLinkTypeManager issueLinkTypeManager, IssueLinkManager issueLinkManager)
           
 
Method Summary
 void removeIssueLinkType(Long issueLinkTypeId, IssueLinkType swapLinkType, User remoteUser)
          Removes an issueLinkType from the datastore.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IssueLinkTypeDestroyerImpl

public IssueLinkTypeDestroyerImpl(IssueLinkTypeManager issueLinkTypeManager,
                                  IssueLinkManager issueLinkManager)
Method Detail

removeIssueLinkType

public void removeIssueLinkType(Long issueLinkTypeId,
                                IssueLinkType swapLinkType,
                                User remoteUser)
                         throws RemoveException
Description copied from interface: IssueLinkTypeDestroyer
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.

Specified by:
removeIssueLinkType in interface IssueLinkTypeDestroyer
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-2006 Atlassian. All Rights Reserved.