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 |
---|---|
com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Unit> |
BackwardCompatibleAttachmentStore.copyAttachment(AttachmentKey sourceAttachmentKey,
AttachmentKey newAttachmentKey) |
com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Unit> |
StreamAttachmentStore.copyAttachment(AttachmentKey sourceAttachmentKey,
AttachmentKey newAttachmentKey)
Copies attachment identified by
oldAttachmentKey to be identified also by newAttachmentKey . |
com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Unit> |
BackwardCompatibleAttachmentStore.deleteAttachment(AttachmentKey attachmentKey) |
com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Unit> |
StreamAttachmentStore.deleteAttachment(AttachmentKey attachmentKey)
Delete the attachment identified by provided attachmentKey.
|
com.atlassian.util.concurrent.Promise<Boolean> |
BackwardCompatibleAttachmentStore.exists(AttachmentKey attachmentKey) |
com.atlassian.util.concurrent.Promise<Boolean> |
StreamAttachmentStore.exists(AttachmentKey attachmentKey)
Checks if attachment exists.
|
<A> com.atlassian.util.concurrent.Promise<A> |
BackwardCompatibleAttachmentStore.getAttachment(AttachmentKey attachmentKey,
com.atlassian.util.concurrent.Function<InputStream,A> inputStreamProcessor) |
<A> com.atlassian.util.concurrent.Promise<A> |
StreamAttachmentStore.getAttachment(AttachmentKey attachmentKey,
com.atlassian.util.concurrent.Function<InputStream,A> inputStreamProcessor)
Retrieve data for a given attachment.
|
<A> com.atlassian.util.concurrent.Promise<A> |
BackwardCompatibleAttachmentStore.getAttachmentData(AttachmentKey attachmentKey,
com.atlassian.util.concurrent.Function<AttachmentGetData,A> attachmentGetDataProcessor) |
<A> com.atlassian.util.concurrent.Promise<A> |
StreamAttachmentStore.getAttachmentData(AttachmentKey attachmentKey,
com.atlassian.util.concurrent.Function<AttachmentGetData,A> attachmentGetDataProcessor)
Retrieve data for a given attachment.
|
File |
ReadOnlyFileBasedAttachmentStore.getAttachmentFile(AttachmentKey key)
Returns a reference to a physical File representing the data for the given Attachment.
|
File |
FileBasedAttachmentStore.getAttachmentFile(AttachmentKey attachmentKey)
Returns the physical File for the given Attachment.
|
File |
DefaultReadOnlyFileSystemAttachmentStore.getAttachmentFile(AttachmentKey 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.
|
com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Unit> |
BackwardCompatibleAttachmentStore.moveAttachment(AttachmentKey oldAttachmentKey,
AttachmentKey newAttachmentKey) |
com.atlassian.util.concurrent.Promise<com.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. |
com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Unit> |
BackwardCompatibleAttachmentStore.moveTemporaryToAttachment(TemporaryAttachmentId temporaryAttachmentId,
AttachmentKey destinationKey) |
com.atlassian.util.concurrent.Promise<com.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 |
---|---|
com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Unit> |
DualSendingAttachmentStore.copyAttachment(AttachmentKey sourceAttachmentKey,
AttachmentKey newAttachmentKey) |
com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Unit> |
DefaultFileSystemAttachmentStore.copyAttachment(AttachmentKey sourceAttachmentKey,
AttachmentKey newAttachmentKey) |
com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Unit> |
BackwardCompatibleStoreAdapter.copyAttachment(AttachmentKey sourceAttachmentKey,
AttachmentKey newAttachmentKey) |
com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Unit> |
BlobStoreAttachmentStore.copyAttachment(AttachmentKey sourceAttachmentKey,
AttachmentKey newAttachmentKey) |
com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Unit> |
NullAttachmentStore.copyAttachment(AttachmentKey sourceAttachmentKey,
AttachmentKey newAttachmentKey) |
com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Unit> |
DualSendingAttachmentStore.deleteAttachment(AttachmentKey attachmentKey) |
com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Unit> |
DefaultFileSystemAttachmentStore.deleteAttachment(AttachmentKey attachmentKey) |
com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Unit> |
BackwardCompatibleStoreAdapter.deleteAttachment(AttachmentKey attachmentKey) |
com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Unit> |
BlobStoreAttachmentStore.deleteAttachment(AttachmentKey attachmentKey) |
com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Unit> |
NullAttachmentStore.deleteAttachment(AttachmentKey attachmentKey) |
com.atlassian.util.concurrent.Promise<Boolean> |
DualSendingAttachmentStore.exists(AttachmentKey attachmentKey) |
com.atlassian.util.concurrent.Promise<Boolean> |
DefaultFileSystemAttachmentStore.exists(AttachmentKey attachmentKey) |
com.atlassian.util.concurrent.Promise<Boolean> |
BackwardCompatibleStoreAdapter.exists(AttachmentKey attachmentKey) |
com.atlassian.util.concurrent.Promise<Boolean> |
BlobStoreAttachmentStore.exists(AttachmentKey attachmentKey) |
com.atlassian.util.concurrent.Promise<Boolean> |
NullAttachmentStore.exists(AttachmentKey attachmentKey) |
<A> com.atlassian.util.concurrent.Promise<A> |
DualSendingAttachmentStore.getAttachment(AttachmentKey attachmentKey,
com.atlassian.util.concurrent.Function<InputStream,A> inputStreamProcessor) |
<A> com.atlassian.util.concurrent.Promise<A> |
DefaultFileSystemAttachmentStore.getAttachment(AttachmentKey attachmentKey,
com.atlassian.util.concurrent.Function<InputStream,A> inputStreamProcessor) |
<A> com.atlassian.util.concurrent.Promise<A> |
BackwardCompatibleStoreAdapter.getAttachment(AttachmentKey attachmentKey,
com.atlassian.util.concurrent.Function<InputStream,A> inputStreamProcessor) |
<A> com.atlassian.util.concurrent.Promise<A> |
BlobStoreAttachmentStore.getAttachment(AttachmentKey attachmentKey,
com.atlassian.util.concurrent.Function<InputStream,A> inputStreamProcessor) |
<A> com.atlassian.util.concurrent.Promise<A> |
NullAttachmentStore.getAttachment(AttachmentKey attachmentKey,
com.atlassian.util.concurrent.Function<InputStream,A> inputStreamProcessor) |
<A> com.atlassian.util.concurrent.Promise<A> |
DualSendingAttachmentStore.getAttachmentData(AttachmentKey attachmentKey,
com.atlassian.util.concurrent.Function<AttachmentGetData,A> attachmentGetDataProcessor) |
<A> com.atlassian.util.concurrent.Promise<A> |
DefaultFileSystemAttachmentStore.getAttachmentData(AttachmentKey attachmentKey,
com.atlassian.util.concurrent.Function<AttachmentGetData,A> attachmentGetDataProcessor) |
<A> com.atlassian.util.concurrent.Promise<A> |
BackwardCompatibleStoreAdapter.getAttachmentData(AttachmentKey attachmentKey,
com.atlassian.util.concurrent.Function<AttachmentGetData,A> attachmentGetDataProcessor) |
<A> com.atlassian.util.concurrent.Promise<A> |
BlobStoreAttachmentStore.getAttachmentData(AttachmentKey attachmentKey,
com.atlassian.util.concurrent.Function<AttachmentGetData,A> attachmentGetDataProcessor) |
<A> com.atlassian.util.concurrent.Promise<A> |
NullAttachmentStore.getAttachmentData(AttachmentKey attachmentKey,
com.atlassian.util.concurrent.Function<AttachmentGetData,A> attachmentGetDataProcessor) |
File |
DefaultFileSystemAttachmentStore.getAttachmentFile(AttachmentKey attachmentKey)
Returns the physical File for the given attachment key.
|
File |
BackwardCompatibleStoreAdapter.getAttachmentFile(AttachmentKey attachmentKey) |
com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Unit> |
DualSendingAttachmentStore.moveAttachment(AttachmentKey oldAttachmentKey,
AttachmentKey newAttachmentKey) |
com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Unit> |
DefaultFileSystemAttachmentStore.moveAttachment(AttachmentKey oldAttachmentKey,
AttachmentKey newAttachmentKey) |
com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Unit> |
BackwardCompatibleStoreAdapter.moveAttachment(AttachmentKey oldAttachmentKey,
AttachmentKey newAttachmentKey) |
com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Unit> |
BlobStoreAttachmentStore.moveAttachment(AttachmentKey oldAttachmentKey,
AttachmentKey newAttachmentKey) |
com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Unit> |
NullAttachmentStore.moveAttachment(AttachmentKey oldAttachmentKey,
AttachmentKey newAttachmentKey) |
com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Unit> |
DualSendingAttachmentStore.moveTemporaryToAttachment(TemporaryAttachmentId temporaryAttachmentId,
AttachmentKey destinationKey) |
com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Unit> |
DefaultFileSystemAttachmentStore.moveTemporaryToAttachment(TemporaryAttachmentId temporaryAttachmentId,
AttachmentKey destinationKey) |
com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Unit> |
BackwardCompatibleStoreAdapter.moveTemporaryToAttachment(TemporaryAttachmentId temporaryAttachmentId,
AttachmentKey destinationKey) |
com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Unit> |
BlobStoreAttachmentStore.moveTemporaryToAttachment(TemporaryAttachmentId temporaryAttachmentId,
AttachmentKey destinationKey) |
com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Unit> |
NullAttachmentStore.moveTemporaryToAttachment(TemporaryAttachmentId temporaryAttachmentId,
AttachmentKey destinationKey) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.util.concurrent.Promise<Boolean> |
SingleStoreAttachmentGetStrategy.exists(AttachmentKey attachmentKey) |
com.atlassian.util.concurrent.Promise<Boolean> |
DualAttachmentGetStrategy.exists(AttachmentKey attachmentKey) |
com.atlassian.util.concurrent.Promise<Boolean> |
AttachmentGetStrategy.exists(AttachmentKey attachmentKey) |
<A> com.atlassian.util.concurrent.Promise<A> |
SingleStoreAttachmentGetStrategy.getAttachmentData(AttachmentKey attachmentKey,
com.atlassian.util.concurrent.Function<AttachmentGetData,A> attachmentGetDataProcessor) |
<A> com.atlassian.util.concurrent.Promise<A> |
DualAttachmentGetStrategy.getAttachmentData(AttachmentKey attachmentKey,
com.atlassian.util.concurrent.Function<AttachmentGetData,A> attachmentGetDataProcessor) |
<A> com.atlassian.util.concurrent.Promise<A> |
AttachmentGetStrategy.getAttachmentData(AttachmentKey attachmentKey,
com.atlassian.util.concurrent.Function<AttachmentGetData,A> attachmentGetDataProcessor) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.util.concurrent.Function<AttachmentGetData,com.atlassian.fugue.Unit> |
SendToStoreFunctionFactory.createFunction(AttachmentKey destinationKey,
StreamAttachmentStore secondaryStore) |
com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Unit> |
BackgroundResendingMoveStrategy.moveTemporaryToAttachment(TemporaryAttachmentId temporaryAttachmentId,
AttachmentKey destinationKey) |
com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Unit> |
SingleStoreMoveStrategy.moveTemporaryToAttachment(TemporaryAttachmentId temporaryAttachmentId,
AttachmentKey destinationKey) |
com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Unit> |
MoveTemporaryAttachmentStrategy.moveTemporaryToAttachment(TemporaryAttachmentId temporaryAttachmentId,
AttachmentKey destinationKey) |
Constructor and Description |
---|
ResendToStoreFunction(AttachmentKey attachmentKey,
StreamAttachmentStore streamAttachmentStore,
ResendingAttachmentStreamCreator resendingAttachmentStreamCreator) |
Modifier and Type | Method and Description |
---|---|
static EnclosedIterable<com.atlassian.fugue.Pair<Attachment,AttachmentKey>> |
ConsumeAllAttachmentKeys.getAttachmentsWithKeys(EnclosedIterable<Attachment> attachments,
IssueManager issueManager) |
Copyright © 2002-2015 Atlassian. All Rights Reserved.