@Deprecated public interface MediaApiClientAdapter extends com.atlassian.media.client.api.MediaApiClient
This class can be deprecated when we upgrade filestore API to one which doesn't use deprecated guava. In this case we can just use it directly from Confluence.
Modifier and Type | Method and Description |
---|---|
default io.atlassian.fugue.Either<com.atlassian.media.client.api.Failure,com.atlassian.media.client.api.Success<com.atlassian.media.client.api.entity.Entity>> |
cloneFile(com.atlassian.media.client.api.entity.ClientIdentity identity,
String fileId)
Deprecated.
|
default io.atlassian.fugue.Either<com.atlassian.media.client.api.Failure,com.atlassian.media.client.api.Success<com.atlassian.media.client.api.entity.EntityResult>> |
getArtifact(com.atlassian.media.client.api.entity.ClientIdentity identity,
String fileId,
com.atlassian.media.client.api.entity.ArtifactType artifactType)
Deprecated.
|
default io.atlassian.fugue.Either<com.atlassian.media.client.api.Failure,com.atlassian.media.client.api.Success<com.atlassian.media.client.api.entity.EntityResult>> |
getArtifact(com.atlassian.media.client.api.entity.ClientIdentity identity,
String fileId,
com.atlassian.media.client.api.entity.ArtifactType artifactType,
@Nullable com.atlassian.media.client.api.entity.ByteRange range)
Deprecated.
|
default io.atlassian.fugue.Either<com.atlassian.media.client.api.Failure,com.atlassian.media.client.api.Success<InputStream>> |
getChunk(com.atlassian.media.client.api.entity.ClientIdentity identity,
com.atlassian.media.client.api.entity.ChunkETag etag)
Deprecated.
|
default io.atlassian.fugue.Either<com.atlassian.media.client.api.Failure,com.atlassian.media.client.api.Success<com.atlassian.media.client.api.entity.Entity>> |
getFileById(com.atlassian.media.client.api.entity.ClientIdentity identity,
String fileId)
Deprecated.
|
default io.atlassian.fugue.Either<com.atlassian.media.client.api.Failure,com.atlassian.media.client.api.Success<com.atlassian.media.client.api.entity.EntityResult>> |
getOriginalFile(com.atlassian.media.client.api.entity.ClientIdentity identity,
String fileId)
Deprecated.
|
default io.atlassian.fugue.Either<com.atlassian.media.client.api.Failure,com.atlassian.media.client.api.Success<com.atlassian.media.client.api.entity.EntityResult>> |
getOriginalFile(com.atlassian.media.client.api.entity.ClientIdentity identity,
String fileId,
@Nullable com.atlassian.media.client.api.entity.ByteRange range)
Deprecated.
|
default io.atlassian.fugue.Either<com.atlassian.media.client.api.Failure,com.atlassian.media.client.api.Success<Boolean>> |
isChunkExists(com.atlassian.media.client.api.entity.ClientIdentity identity,
com.atlassian.media.client.api.entity.ChunkETag etag)
Deprecated.
|
default io.atlassian.fugue.Either<com.atlassian.media.client.api.Failure,com.atlassian.media.client.api.Success<com.atlassian.media.client.api.entity.Entity>> |
newFileFromChunks(com.atlassian.media.client.api.entity.ClientIdentity identity,
List<com.atlassian.media.client.api.entity.ChunkETag> etags,
@Nullable String name)
Deprecated.
|
default io.atlassian.fugue.Either<com.atlassian.media.client.api.Failure,com.atlassian.media.client.api.Success<com.atlassian.media.client.api.entity.ClientIdentity>> |
registerClientWithName(String name,
String description)
Deprecated.
|
default io.atlassian.fugue.Either<com.atlassian.media.client.api.Failure,com.atlassian.media.client.api.Success<Void>> |
removeFile(com.atlassian.media.client.api.entity.ClientIdentity identity,
String fileId)
Deprecated.
|
default io.atlassian.fugue.Either<com.atlassian.media.client.api.Failure,com.atlassian.media.client.api.Success<com.atlassian.media.client.api.entity.ChunkETag>> |
storeChunk(com.atlassian.media.client.api.entity.ClientIdentity identity,
byte[] buffer,
int length)
Deprecated.
|
default io.atlassian.fugue.Either<com.atlassian.media.client.api.Failure,com.atlassian.media.client.api.Success<com.atlassian.media.client.api.entity.Entity>> |
storeFile(com.atlassian.media.client.api.entity.ClientIdentity identity,
InputStream file,
@Nullable String name)
Deprecated.
|
default io.atlassian.fugue.Either<com.atlassian.media.client.api.Failure,com.atlassian.media.client.api.Success<com.atlassian.media.client.api.entity.Entity>> getFileById(com.atlassian.media.client.api.entity.ClientIdentity identity, String fileId)
default io.atlassian.fugue.Either<com.atlassian.media.client.api.Failure,com.atlassian.media.client.api.Success<com.atlassian.media.client.api.entity.Entity>> storeFile(com.atlassian.media.client.api.entity.ClientIdentity identity, InputStream file, @Nullable String name)
default io.atlassian.fugue.Either<com.atlassian.media.client.api.Failure,com.atlassian.media.client.api.Success<com.atlassian.media.client.api.entity.EntityResult>> getOriginalFile(com.atlassian.media.client.api.entity.ClientIdentity identity, String fileId)
default io.atlassian.fugue.Either<com.atlassian.media.client.api.Failure,com.atlassian.media.client.api.Success<com.atlassian.media.client.api.entity.EntityResult>> getOriginalFile(com.atlassian.media.client.api.entity.ClientIdentity identity, String fileId, @Nullable com.atlassian.media.client.api.entity.ByteRange range)
default io.atlassian.fugue.Either<com.atlassian.media.client.api.Failure,com.atlassian.media.client.api.Success<com.atlassian.media.client.api.entity.EntityResult>> getArtifact(com.atlassian.media.client.api.entity.ClientIdentity identity, String fileId, com.atlassian.media.client.api.entity.ArtifactType artifactType)
default io.atlassian.fugue.Either<com.atlassian.media.client.api.Failure,com.atlassian.media.client.api.Success<com.atlassian.media.client.api.entity.EntityResult>> getArtifact(com.atlassian.media.client.api.entity.ClientIdentity identity, String fileId, com.atlassian.media.client.api.entity.ArtifactType artifactType, @Nullable com.atlassian.media.client.api.entity.ByteRange range)
default io.atlassian.fugue.Either<com.atlassian.media.client.api.Failure,com.atlassian.media.client.api.Success<Void>> removeFile(com.atlassian.media.client.api.entity.ClientIdentity identity, String fileId)
default io.atlassian.fugue.Either<com.atlassian.media.client.api.Failure,com.atlassian.media.client.api.Success<com.atlassian.media.client.api.entity.Entity>> cloneFile(com.atlassian.media.client.api.entity.ClientIdentity identity, String fileId)
default io.atlassian.fugue.Either<com.atlassian.media.client.api.Failure,com.atlassian.media.client.api.Success<com.atlassian.media.client.api.entity.ClientIdentity>> registerClientWithName(String name, String description)
default io.atlassian.fugue.Either<com.atlassian.media.client.api.Failure,com.atlassian.media.client.api.Success<Boolean>> isChunkExists(com.atlassian.media.client.api.entity.ClientIdentity identity, com.atlassian.media.client.api.entity.ChunkETag etag)
default io.atlassian.fugue.Either<com.atlassian.media.client.api.Failure,com.atlassian.media.client.api.Success<com.atlassian.media.client.api.entity.ChunkETag>> storeChunk(com.atlassian.media.client.api.entity.ClientIdentity identity, byte[] buffer, int length)
default io.atlassian.fugue.Either<com.atlassian.media.client.api.Failure,com.atlassian.media.client.api.Success<InputStream>> getChunk(com.atlassian.media.client.api.entity.ClientIdentity identity, com.atlassian.media.client.api.entity.ChunkETag etag)
default io.atlassian.fugue.Either<com.atlassian.media.client.api.Failure,com.atlassian.media.client.api.Success<com.atlassian.media.client.api.entity.Entity>> newFileFromChunks(com.atlassian.media.client.api.entity.ClientIdentity identity, List<com.atlassian.media.client.api.entity.ChunkETag> etags, @Nullable String name)
Copyright © 2003–2020 Atlassian. All rights reserved.