@Internal
public interface AttachmentHelper
Modifier and Type | Method and Description |
---|---|
void |
populateFieldValuesHolder(String formToken,
Map<String,Object> fieldValuesHolder)
Populates
fieldValuesHolder from request parameters. |
void |
processAttachments(MutableIssue mutableIssue,
Map<String,Object> fieldValuesHolder)
Process attachments.
|
void |
requireResources()
Requires drag and drop resources used to handle image pasting and upload in javascript.
|
void |
validate(OperationContext operationContext,
ErrorCollection errorCollectionToAddTo,
I18nHelper i18n,
String formToken,
Issue issue,
Map<String,Object> fieldValuesHolder)
Validates file upload parameters passed from request.
|
void requireResources()
void populateFieldValuesHolder(String formToken, @Nonnull Map<String,Object> fieldValuesHolder)
fieldValuesHolder
from request parameters.formToken
- fieldValuesHolder
- void validate(@Nonnull OperationContext operationContext, @Nonnull ErrorCollection errorCollectionToAddTo, @Nonnull I18nHelper i18n, String formToken, @Nonnull Issue issue, @Nonnull Map<String,Object> fieldValuesHolder)
operationContext
- errorCollectionToAddTo
- i18n
- formToken
- issue
- fieldValuesHolder
- Copyright © 2002-2024 Atlassian. All Rights Reserved.