added user info on upload interface

This commit is contained in:
Lucio Lelii 2022-12-01 15:23:11 +01:00
parent 62c06a0633
commit 2fbc0f8ef7
1 changed files with 3 additions and 3 deletions

View File

@ -33,9 +33,9 @@ public abstract class StorageBackend {
public abstract void delete(String id);
public abstract MetaInfo upload(InputStream stream, String relativePath, String name);
public abstract MetaInfo upload(InputStream stream, String relativePath, String name, String user);
public abstract MetaInfo upload(InputStream stream, String relativePath, String name, Long size);
public abstract MetaInfo upload(InputStream stream, String relativePath, String name, Long size, String user);
public abstract InputStream download(Content item) throws StorageIdNotFoundException;
@ -43,7 +43,7 @@ public abstract class StorageBackend {
public abstract Map<String, String> getFileMetadata(String id);
public abstract MetaInfo upload(InputStream stream, String relativePath, String name, String storageId, Long size);
public abstract MetaInfo upload(InputStream stream, String relativePath, String name, String storageId, Long size, String user);
@Deprecated
public abstract String getTotalSizeStored();