added user info on upload interface
This commit is contained in:
parent
62c06a0633
commit
2fbc0f8ef7
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue