com.atlassian.jira.issue.managers
Class DefaultIssueAttachmentDeleteHelper
java.lang.Object
com.atlassian.jira.issue.managers.DefaultIssueAttachmentDeleteHelper
- All Implemented Interfaces:
- IssueAttachmentDeleteHelper
public final class DefaultIssueAttachmentDeleteHelper
- extends Object
- implements IssueAttachmentDeleteHelper
Manager for deleting attachments for a given issue including any thumbnails for those attachments.
- Since:
- v6.3
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultIssueAttachmentDeleteHelper
public DefaultIssueAttachmentDeleteHelper(AttachmentManager attachmentManager,
AttachmentStore attachmentStore,
ThumbnailAccessor thumbnailAccessor)
deleteAttachmentsForIssue
public com.atlassian.util.concurrent.Promise<Void> deleteAttachmentsForIssue(Issue issue)
- Description copied from interface:
IssueAttachmentDeleteHelper
- Deletes attachments for the specified issue, including any thumbnails.
- Specified by:
deleteAttachmentsForIssue
in interface IssueAttachmentDeleteHelper
- Parameters:
issue
- The issue for which to delete attachments.
- Returns:
- A promise that contains a RemoveException if there is an error deleting attachments.
Copyright © 2002-2014 Atlassian. All Rights Reserved.