@Internal @ParametersAreNonnullByDefault public interface TemporaryWebAttachmentsMonitor
Please do not use this class directly outside {com.atlassian.jira.web.util.TemporaryWebAttachmentManager} implementation.
Modifier and Type | Method and Description |
---|---|
void |
add(TemporaryWebAttachment temporaryAttachment)
Adds new temporary attachment.
|
void |
cleanByFormToken(String formToken)
Removes all attachments from monitor and from attachment store, matched by form token.
|
Collection<TemporaryWebAttachment> |
getByFormToken(String formToken)
Gets all temporary attachments with given from token.
|
io.atlassian.fugue.Option<TemporaryWebAttachment> |
getById(String temporaryAttachmentId)
Retrieves temporary attachment by id.
|
io.atlassian.fugue.Option<TemporaryWebAttachment> |
removeById(String temporaryAttachmentId)
Removes temporary attachment with given id from monitor.
|
io.atlassian.fugue.Option<TemporaryWebAttachment> getById(String temporaryAttachmentId)
temporaryAttachmentId
- temporary attachment id.io.atlassian.fugue.Option<TemporaryWebAttachment> removeById(String temporaryAttachmentId)
temporaryAttachmentId
- Temporary Attachment Id which will be removed.void add(TemporaryWebAttachment temporaryAttachment)
temporaryAttachment
- temporary attachment.Collection<TemporaryWebAttachment> getByFormToken(String formToken)
formToken
- form tokenvoid cleanByFormToken(String formToken)
Copyright © 2002-2024 Atlassian. All Rights Reserved.