com.atlassian.jira.issue.link
Class IssueLinkTypeDestroyerImpl
java.lang.Object
com.atlassian.jira.issue.link.IssueLinkTypeDestroyerImpl
- All Implemented Interfaces:
- IssueLinkTypeDestroyer
public class IssueLinkTypeDestroyerImpl
- extends Object
- implements IssueLinkTypeDestroyer
Method Summary |
void |
removeIssueLinkType(Long issueLinkTypeId,
IssueLinkType swapLinkType,
com.atlassian.crowd.embedded.api.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 |
IssueLinkTypeDestroyerImpl
public IssueLinkTypeDestroyerImpl(IssueLinkTypeManager issueLinkTypeManager,
IssueLinkManager issueLinkManager)
removeIssueLinkType
public void removeIssueLinkType(Long issueLinkTypeId,
IssueLinkType swapLinkType,
com.atlassian.crowd.embedded.api.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 deleteswapLinkType
- If null issue links are removed, if not null the issue links are changed to this
issue link typeremoteUser
- 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-2013 Atlassian. All Rights Reserved.