com.atlassian.jira.issue.managers
Interface IssueDeleteHelper

All Known Implementing Classes:
DefaultIssueDeleteHelper

public interface IssueDeleteHelper

Performs issue deletion.

Since:
v4.1

Method Summary
 void deleteIssue(com.atlassian.crowd.embedded.api.User user, Issue issue, EventDispatchOption eventDispatchOption, boolean sendMail)
          Delete issue in context of given user.
 void deleteIssueNoEvent(Issue issue)
          Delete issue without firing any events, or sending notifications.
 

Method Detail

deleteIssue

void deleteIssue(com.atlassian.crowd.embedded.api.User user,
                 Issue issue,
                 EventDispatchOption eventDispatchOption,
                 boolean sendMail)
                 throws RemoveException
Delete issue in context of given user.

Parameters:
user - user performing the operation
issue - issue to delete
eventDispatchOption - event dispatching control
sendMail - whether or not to send the email
Throws:
RemoveException - if the removal fails

deleteIssueNoEvent

void deleteIssueNoEvent(Issue issue)
                        throws RemoveException
Delete issue without firing any events, or sending notifications.

This is preferred in some bulk operations, but normally you would call deleteIssue(com.atlassian.crowd.embedded.api.User, com.atlassian.jira.issue.Issue, com.atlassian.jira.event.type.EventDispatchOption, boolean)

Parameters:
issue - issue to delete
Throws:
RemoveException - if the removal fails
See Also:
deleteIssue(com.atlassian.crowd.embedded.api.User, com.atlassian.jira.issue.Issue, com.atlassian.jira.event.type.EventDispatchOption, boolean)


Copyright © 2002-2014 Atlassian. All Rights Reserved.