Interface IssueDeleteHelper
- All Known Implementing Classes:
DefaultIssueDeleteHelper
public interface IssueDeleteHelper
Performs issue deletion.
- Since:
- v4.1
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteIssue
(ApplicationUser 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 Details
-
deleteIssue
void deleteIssue(ApplicationUser user, Issue issue, EventDispatchOption eventDispatchOption, boolean sendMail) throws RemoveException Delete issue in context of given user.- Parameters:
user
- user performing the operationissue
- issue to deleteeventDispatchOption
- event dispatching controlsendMail
- whether or not to send the email- Throws:
RemoveException
- if the removal fails
-
deleteIssueNoEvent
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)
-