public class BackwardCompatibleTemporaryAttachmentUtil extends Object
Be warned: this class pretends to be smart, but in fact it keeps the fingers crossed on any action it performs.
Constructor and Description |
---|
BackwardCompatibleTemporaryAttachmentUtil(TemporaryAttachmentsMonitorLocator temporaryAttachmentsMonitorLocator,
TemporaryWebAttachmentManager temporaryWebAttachmentManager,
AttachmentManager attachmentManager,
I18nHelper.BeanFactory i18nFactory) |
Modifier and Type | Method and Description |
---|---|
boolean |
allAttachmentsExists(List<String> temporaryAttachmentEntryIds) |
void |
clearTemporaryAttachmentsByFormToken(String formToken) |
AttachmentsBulkOperationResult<ChangeItemBean> |
convertTemporaryAttachments(ApplicationUser user,
Issue issue,
List<String> temporaryAttachmentsIds) |
Collection<?> |
getTemporaryWebAttachmentsByFormToken(String formToken) |
public BackwardCompatibleTemporaryAttachmentUtil(TemporaryAttachmentsMonitorLocator temporaryAttachmentsMonitorLocator, TemporaryWebAttachmentManager temporaryWebAttachmentManager, AttachmentManager attachmentManager, I18nHelper.BeanFactory i18nFactory)
public AttachmentsBulkOperationResult<ChangeItemBean> convertTemporaryAttachments(ApplicationUser user, Issue issue, List<String> temporaryAttachmentsIds)
public Collection<?> getTemporaryWebAttachmentsByFormToken(String formToken)
public void clearTemporaryAttachmentsByFormToken(String formToken)
Copyright © 2002-2018 Atlassian. All Rights Reserved.