Package | Description |
---|---|
com.atlassian.jira.issue.attachment | |
com.atlassian.jira.issue.attachment.store |
Modifier and Type | Method and Description |
---|---|
AttachmentKey |
AttachmentKey.Builder.build() |
static AttachmentKey |
AttachmentKeys.from(Attachment attachment) |
static AttachmentKey |
AttachmentKeys.from(Attachment attachment,
Issue issue) |
static AttachmentKey |
AttachmentKeys.from(Project project,
Issue issue,
Attachment attachment) |
static AttachmentKey |
AttachmentKeys.from(String originalProjectKey,
String issueKey,
Attachment attachment) |
static AttachmentKey |
AttachmentKeys.from(String originalProjectKey,
String issueKey,
String fileName,
Long id) |
AttachmentKey |
AttachmentKeyMapper.fromAttachment(Attachment attachment) |
AttachmentKey |
StoreAttachmentBean.getAttachmentKey() |
Modifier and Type | Method and Description |
---|---|
io.atlassian.util.concurrent.Promise<io.atlassian.fugue.Unit> |
BackwardCompatibleAttachmentStore.copyAttachment(AttachmentKey sourceAttachmentKey,
AttachmentKey newAttachmentKey) |
io.atlassian.util.concurrent.Promise<io.atlassian.fugue.Unit> |
StreamAttachmentStore.copyAttachment(AttachmentKey sourceAttachmentKey,
AttachmentKey newAttachmentKey)
Copies attachment identified by
oldAttachmentKey to be identified also by newAttachmentKey . |
io.atlassian.util.concurrent.Promise<io.atlassian.fugue.Unit> |
BackwardCompatibleAttachmentStore.deleteAttachment(AttachmentKey attachmentKey) |
io.atlassian.util.concurrent.Promise<io.atlassian.fugue.Unit> |
StreamAttachmentStore.deleteAttachment(AttachmentKey attachmentKey)
Delete the attachment identified by provided attachmentKey.
|
io.atlassian.util.concurrent.Promise<Boolean> |
BackwardCompatibleAttachmentStore.exists(AttachmentKey attachmentKey) |
io.atlassian.util.concurrent.Promise<Boolean> |
StreamAttachmentStore.exists(AttachmentKey attachmentKey)
Checks if attachment exists.
|
<A> io.atlassian.util.concurrent.Promise<A> |
BackwardCompatibleAttachmentStore.getAttachment(AttachmentKey attachmentKey,
java.util.function.Function<InputStream,A> inputStreamProcessor) |
<A> io.atlassian.util.concurrent.Promise<A> |
StreamAttachmentStore.getAttachment(AttachmentKey attachmentKey,
java.util.function.Function<InputStream,A> inputStreamProcessor)
Retrieve data for a given attachment.
|
<A> io.atlassian.util.concurrent.Promise<A> |
BackwardCompatibleAttachmentStore.getAttachmentData(AttachmentKey attachmentKey,
java.util.function.Function<AttachmentGetData,A> attachmentGetDataProcessor) |
<A> io.atlassian.util.concurrent.Promise<A> |
StreamAttachmentStore.getAttachmentData(AttachmentKey attachmentKey,
java.util.function.Function<AttachmentGetData,A> attachmentGetDataProcessor)
Retrieve data for a given attachment.
|
File |
FileBasedAttachmentStore.getAttachmentFile(AttachmentKey attachmentKey)
Returns the physical File for the given Attachment.
|
static File |
FileAttachments.getAttachmentFileHolder(AttachmentKey attachment,
File rootDir)
Returns a file that refers to an attachment specified by the given attachment key and the attachment root directory.
|
static File |
FileAttachments.getDefaultAttachmentFileHolder(AttachmentKey attachment,
File rootDir)
Returns a file that refers to the default location of an attachment specified by the given attachment key
and the attachment root directory.
|
io.atlassian.util.concurrent.Promise<io.atlassian.fugue.Unit> |
BackwardCompatibleAttachmentStore.moveAttachment(AttachmentKey oldAttachmentKey,
AttachmentKey newAttachmentKey) |
io.atlassian.util.concurrent.Promise<io.atlassian.fugue.Unit> |
StreamAttachmentStore.moveAttachment(AttachmentKey oldAttachmentKey,
AttachmentKey newAttachmentKey)
Move attachment identified by
oldAttachmentKey to be identified by newAttachmentKey and will be not
reachable under oldAttachmentKey anymore. |
io.atlassian.util.concurrent.Promise<io.atlassian.fugue.Unit> |
BackwardCompatibleAttachmentStore.moveTemporaryToAttachment(TemporaryAttachmentId temporaryAttachmentId,
AttachmentKey destinationKey) |
io.atlassian.util.concurrent.Promise<io.atlassian.fugue.Unit> |
StreamAttachmentStore.moveTemporaryToAttachment(TemporaryAttachmentId temporaryAttachmentId,
AttachmentKey destinationKey)
Moving temporary attachment created by
StreamAttachmentStore.putTemporaryAttachment(java.io.InputStream, long) to real attachment. |
StoreAttachmentBean.Builder |
StoreAttachmentBean.Builder.withKey(AttachmentKey destinationKey) |
Modifier and Type | Method and Description |
---|---|
io.atlassian.util.concurrent.Promise<io.atlassian.fugue.Unit> |
DefaultFileSystemAttachmentStore.copyAttachment(AttachmentKey sourceAttachmentKey,
AttachmentKey newAttachmentKey) |
io.atlassian.util.concurrent.Promise<io.atlassian.fugue.Unit> |
DefaultFileSystemAttachmentStore.deleteAttachment(AttachmentKey attachmentKey) |
io.atlassian.util.concurrent.Promise<Boolean> |
DefaultFileSystemAttachmentStore.exists(AttachmentKey attachmentKey) |
<A> io.atlassian.util.concurrent.Promise<A> |
DefaultFileSystemAttachmentStore.getAttachment(AttachmentKey attachmentKey,
java.util.function.Function<InputStream,A> inputStreamProcessor) |
<A> io.atlassian.util.concurrent.Promise<A> |
DefaultFileSystemAttachmentStore.getAttachmentData(AttachmentKey attachmentKey,
java.util.function.Function<AttachmentGetData,A> attachmentGetDataProcessor) |
File |
DefaultFileSystemAttachmentStore.getAttachmentFile(AttachmentKey attachmentKey)
Returns the physical File for the given attachment key.
|
io.atlassian.util.concurrent.Promise<io.atlassian.fugue.Unit> |
DefaultFileSystemAttachmentStore.moveAttachment(AttachmentKey oldAttachmentKey,
AttachmentKey newAttachmentKey) |
io.atlassian.util.concurrent.Promise<io.atlassian.fugue.Unit> |
DefaultFileSystemAttachmentStore.moveTemporaryToAttachment(TemporaryAttachmentId temporaryAttachmentId,
AttachmentKey destinationKey) |
Copyright © 2002-2022 Atlassian. All Rights Reserved.