Package | Description |
---|---|
com.atlassian.jira.issue.attachment | |
com.atlassian.jira.issue.attachment.store.temporary | |
com.atlassian.jira.web.action.issue |
Modifier and Type | Method and Description |
---|---|
TemporaryWebAttachment |
TemporaryWebAttachmentFactory.create(TemporaryAttachmentId temporaryAttachmentId,
String filename,
String contentType,
String formToken,
long size) |
Modifier and Type | Method and Description |
---|---|
io.atlassian.fugue.Either<AttachmentError,TemporaryWebAttachment> |
DefaultTemporaryWebAttachmentManager.createTemporaryWebAttachment(InputStream stream,
String fileName,
String contentType,
long size,
io.atlassian.fugue.Either<Issue,Project> target,
String formToken,
ApplicationUser user) |
io.atlassian.fugue.Either<AttachmentError,TemporaryWebAttachment> |
TemporaryWebAttachmentManager.createTemporaryWebAttachment(InputStream stream,
String fileName,
String contentType,
long size,
io.atlassian.fugue.Either<Issue,Project> target,
String formToken,
ApplicationUser user)
Creates new temporary attachment that may be later converted into real attachment.
|
Collection<TemporaryWebAttachment> |
TemporaryAttachmentMonitorStore.getByFormToken(String formToken) |
io.atlassian.fugue.Option<TemporaryWebAttachment> |
TemporaryAttachmentMonitorStore.getById(TemporaryAttachmentId temporaryAttachmentId) |
io.atlassian.fugue.Option<TemporaryWebAttachment> |
DefaultTemporaryWebAttachmentManager.getTemporaryWebAttachment(String temporaryAttachmentId) |
io.atlassian.fugue.Option<TemporaryWebAttachment> |
TemporaryWebAttachmentManager.getTemporaryWebAttachment(String temporaryAttachmentId)
Gets temporary web attachment by string ID, which was produced by
getStringId() . |
Collection<TemporaryWebAttachment> |
DefaultTemporaryWebAttachmentManager.getTemporaryWebAttachmentsByFormToken(String formToken) |
Collection<TemporaryWebAttachment> |
TemporaryWebAttachmentManager.getTemporaryWebAttachmentsByFormToken(String formToken)
Gets all temporary attachments associated with given form token.
|
io.atlassian.fugue.Option<TemporaryWebAttachment> |
TemporaryAttachmentMonitorStore.removeById(TemporaryAttachmentId temporaryAttachmentId) |
Modifier and Type | Method and Description |
---|---|
boolean |
TemporaryAttachmentMonitorStore.putIfAbsent(TemporaryWebAttachment temporaryWebAttachment) |
void |
DefaultTemporaryWebAttachmentManager.updateTemporaryWebAttachment(String temporaryAttachmentId,
TemporaryWebAttachment updated) |
void |
TemporaryWebAttachmentManager.updateTemporaryWebAttachment(String temporaryAttachmentId,
TemporaryWebAttachment updated)
Updates existing temporary attachment object to new state.
|
Modifier and Type | Method and Description |
---|---|
Collection<TemporaryWebAttachment> |
TemporaryAttachmentMonitorStoreImpl.getByFormToken(String formToken) |
io.atlassian.fugue.Option<TemporaryWebAttachment> |
TemporaryAttachmentMonitorStoreImpl.getById(TemporaryAttachmentId temporaryAttachmentId) |
io.atlassian.fugue.Option<TemporaryWebAttachment> |
TemporaryAttachmentMonitorStoreImpl.removeById(TemporaryAttachmentId temporaryAttachmentId) |
Modifier and Type | Method and Description |
---|---|
boolean |
TemporaryAttachmentMonitorStoreImpl.putIfAbsent(TemporaryWebAttachment temporaryWebAttachment) |
Modifier and Type | Method and Description |
---|---|
Collection<TemporaryWebAttachment> |
TemporaryWebAttachmentsMonitor.getByFormToken(String formToken)
Gets all temporary attachments with given from token.
|
Collection<TemporaryWebAttachment> |
DefaultTemporaryWebAttachmentsMonitor.getByFormToken(String formToken) |
io.atlassian.fugue.Option<TemporaryWebAttachment> |
TemporaryWebAttachmentsMonitor.getById(String temporaryAttachmentId)
Retrieves temporary attachment by id.
|
io.atlassian.fugue.Option<TemporaryWebAttachment> |
DefaultTemporaryWebAttachmentsMonitor.getById(String temporaryAttachmentId) |
io.atlassian.fugue.Option<TemporaryWebAttachment> |
TemporaryWebAttachmentsMonitor.removeById(String temporaryAttachmentId)
Removes temporary attachment with given id from monitor.
|
io.atlassian.fugue.Option<TemporaryWebAttachment> |
DefaultTemporaryWebAttachmentsMonitor.removeById(String temporaryAttachmentId) |
Modifier and Type | Method and Description |
---|---|
void |
TemporaryWebAttachmentsMonitor.add(TemporaryWebAttachment temporaryAttachment)
Adds new temporary attachment.
|
void |
DefaultTemporaryWebAttachmentsMonitor.add(TemporaryWebAttachment temporaryAttachment) |
Copyright © 2002-2022 Atlassian. All Rights Reserved.