@javax.inject.Named class AttachmentSupport extends java.lang.Object
Constructor and description |
---|
AttachmentSupport(com.atlassian.jira.bc.issue.attachment.AttachmentService attachmentService, com.atlassian.jira.security.JiraAuthenticationContext authenticationContext, com.atlassian.jira.issue.AttachmentManager attachmentManager, com.atlassian.jira.config.properties.ApplicationProperties applicationProperties, com.atlassian.sal.api.ApplicationProperties salApplicationProperties) |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
addAttachment(com.atlassian.jira.issue.Issue issue, java.lang.String[] paths) |
|
void |
addAttachment(com.atlassian.jira.issue.Issue issue, java.io.File[] files) |
|
void |
delete(com.atlassian.jira.issue.attachment.Attachment attachment) |
|
void |
deleteOverrideSecurity(com.atlassian.jira.issue.attachment.Attachment attachment) |
|
java.lang.String |
getDownloadUrl(com.atlassian.jira.issue.attachment.Attachment attachment) |
<T> |
T |
withInputStream(com.atlassian.jira.issue.attachment.Attachment attachment, com.atlassian.jira.util.io.InputStreamConsumer<T> consumer) |
<T> |
T |
withInputStream(com.atlassian.jira.issue.attachment.TemporaryWebAttachment attachment, com.atlassian.jira.util.io.InputStreamConsumer<T> consumer) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |