@Internal @ParametersAreNonnullByDefault public interface TemporaryWebAttachmentsMonitor
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.
|
com.atlassian.fugue.Option<TemporaryWebAttachment> |
getById(String temporaryAttachmentId)
Retrieves temporary attachment by id.
|
com.atlassian.fugue.Option<TemporaryWebAttachment> |
removeById(String temporaryAttachmentId)
Removes temporary attachment with given id from monitor.
|
com.atlassian.fugue.Option<TemporaryWebAttachment> getById(String temporaryAttachmentId)
temporaryAttachmentId
- temporary attachment id.com.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-2015 Atlassian. All Rights Reserved.