Modifier and Type | Method and Description |
---|---|
TemporaryAttachmentId |
AttachmentManager.createTemporaryAttachment(InputStream stream,
long size)
Creates new temporary attachment which may be later converted into real attachment.
|
Modifier and Type | Method and Description |
---|---|
void |
AttachmentManager.deleteTemporaryAttachment(TemporaryAttachmentId temporaryAttachmentId)
Removes temporary attachment with given id
|
<T> T |
AttachmentManager.streamTemporaryAttachmentContent(TemporaryAttachmentId attachmentId,
InputStreamConsumer<T> consumer)
Get binary content of temporary attachment
|
Modifier and Type | Method and Description |
---|---|
static TemporaryAttachmentId |
TemporaryAttachmentId.fromString(String temporaryId) |
TemporaryAttachmentId |
ConvertTemporaryAttachmentParams.getTemporaryAttachmentId() |
TemporaryAttachmentId |
TemporaryWebAttachment.getTemporaryAttachmentId() |
Modifier and Type | Method and Description |
---|---|
io.atlassian.util.concurrent.Promise<TemporaryAttachmentId> |
BackwardCompatibleAttachmentStore.putTemporaryAttachment(InputStream inputStream,
long size) |
io.atlassian.util.concurrent.Promise<TemporaryAttachmentId> |
StreamAttachmentStore.putTemporaryAttachment(InputStream inputStream,
long size)
Creates temporaryAttachment in store which can be later moved to attachment via
StreamAttachmentStore.moveTemporaryToAttachment(TemporaryAttachmentId, AttachmentKey) |
Modifier and Type | Method and Description |
---|---|
TemporaryWebAttachment |
TemporaryWebAttachmentFactory.create(TemporaryAttachmentId temporaryAttachmentId,
String filename,
String contentType,
String formToken,
long size) |
io.atlassian.util.concurrent.Promise<io.atlassian.fugue.Unit> |
BackwardCompatibleAttachmentStore.deleteTemporaryAttachment(TemporaryAttachmentId temporaryAttachmentId) |
io.atlassian.util.concurrent.Promise<io.atlassian.fugue.Unit> |
StreamAttachmentStore.deleteTemporaryAttachment(TemporaryAttachmentId temporaryAttachmentId)
Deletes temporary attachment created previously by
StreamAttachmentStore.putTemporaryAttachment(java.io.InputStream, long) . |
io.atlassian.fugue.Option<TemporaryWebAttachment> |
TemporaryAttachmentMonitorStore.getById(TemporaryAttachmentId temporaryAttachmentId) |
<A> io.atlassian.util.concurrent.Promise<A> |
BackwardCompatibleAttachmentStore.getTemporaryAttachment(TemporaryAttachmentId temporaryAttachmentId,
java.util.function.Function<InputStream,A> inputStreamProcessor) |
<A> io.atlassian.util.concurrent.Promise<A> |
StreamAttachmentStore.getTemporaryAttachment(TemporaryAttachmentId temporaryAttachmentId,
java.util.function.Function<InputStream,A> inputStreamProcessor)
Retrieve data for temporary attachment.
|
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. |
io.atlassian.fugue.Option<TemporaryWebAttachment> |
TemporaryAttachmentMonitorStore.removeById(TemporaryAttachmentId temporaryAttachmentId) |
ConvertTemporaryAttachmentParamsBuilder |
ConvertTemporaryAttachmentParamsBuilder.setTemporaryAttachmentId(TemporaryAttachmentId temporaryAttachmentId) |
Constructor and Description |
---|
TemporaryWebAttachment(TemporaryAttachmentId temporaryAttachmentId,
String filename,
String contentType,
String formToken,
long size,
org.joda.time.DateTime created) |
Modifier and Type | Method and Description |
---|---|
TemporaryAttachmentId |
LocalTemporaryFileStore.createTemporaryFile(InputStream inputStream) |
TemporaryAttachmentId |
LocalTemporaryFileStore.createTemporaryFile(InputStream inputStream,
long size) |
Modifier and Type | Method and Description |
---|---|
io.atlassian.util.concurrent.Promise<TemporaryAttachmentId> |
DefaultFileSystemAttachmentStore.putTemporaryAttachment(InputStream inputStream,
long size) |
Modifier and Type | Method and Description |
---|---|
io.atlassian.util.concurrent.Promise<io.atlassian.fugue.Unit> |
DefaultFileSystemAttachmentStore.deleteTemporaryAttachment(TemporaryAttachmentId temporaryAttachmentId) |
io.atlassian.util.concurrent.Promise<io.atlassian.fugue.Unit> |
LocalTemporaryFileStore.deleteTemporaryAttachment(TemporaryAttachmentId temporaryAttachmentId) |
<A> io.atlassian.util.concurrent.Promise<A> |
DefaultFileSystemAttachmentStore.getTemporaryAttachment(TemporaryAttachmentId temporaryAttachmentId,
java.util.function.Function<InputStream,A> inputStreamProcessor) |
io.atlassian.fugue.Either<Exception,File> |
LocalTemporaryFileStore.getTemporaryAttachmentFile(TemporaryAttachmentId temporaryAttachmentId) |
io.atlassian.util.concurrent.Promise<io.atlassian.fugue.Unit> |
DefaultFileSystemAttachmentStore.moveTemporaryToAttachment(TemporaryAttachmentId temporaryAttachmentId,
AttachmentKey destinationKey) |
Modifier and Type | Method and Description |
---|---|
io.atlassian.fugue.Option<TemporaryWebAttachment> |
TemporaryAttachmentMonitorStoreImpl.getById(TemporaryAttachmentId temporaryAttachmentId) |
io.atlassian.fugue.Option<TemporaryWebAttachment> |
TemporaryAttachmentMonitorStoreImpl.removeById(TemporaryAttachmentId temporaryAttachmentId) |
Modifier and Type | Method and Description |
---|---|
TemporaryAttachmentId |
DefaultAttachmentManager.createTemporaryAttachment(InputStream stream,
long size) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultAttachmentManager.deleteTemporaryAttachment(TemporaryAttachmentId temporaryAttachmentId) |
<T> T |
DefaultAttachmentManager.streamTemporaryAttachmentContent(TemporaryAttachmentId attachmentId,
InputStreamConsumer<T> consumer) |
Copyright © 2002-2022 Atlassian. All Rights Reserved.