public class GCubeStorageBackend extends Object implements org.gcube.common.storagehub.model.storages.StorageBackend
| Modifier | Constructor and Description |
|---|---|
protected |
GCubeStorageBackend() |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
download(org.gcube.common.storagehub.model.items.nodes.Content content) |
String |
getName() |
String |
getTotalItemsCount() |
String |
getTotalSizeStored() |
String |
onCopy(org.gcube.common.storagehub.model.items.AbstractFileItem item) |
void |
onDelete(org.gcube.common.storagehub.model.items.nodes.Content content) |
String |
onMove(org.gcube.common.storagehub.model.items.AbstractFileItem item) |
org.gcube.common.storagehub.model.storages.MetaInfo |
upload(InputStream stream,
String relPath,
String name) |
public InputStream download(org.gcube.common.storagehub.model.items.nodes.Content content)
download in interface org.gcube.common.storagehub.model.storages.StorageBackendpublic String getName()
getName in interface org.gcube.common.storagehub.model.storages.StorageBackendpublic String onCopy(org.gcube.common.storagehub.model.items.AbstractFileItem item)
onCopy in interface org.gcube.common.storagehub.model.storages.StorageBackendpublic String onMove(org.gcube.common.storagehub.model.items.AbstractFileItem item)
onMove in interface org.gcube.common.storagehub.model.storages.StorageBackendpublic org.gcube.common.storagehub.model.storages.MetaInfo upload(InputStream stream, String relPath, String name)
upload in interface org.gcube.common.storagehub.model.storages.StorageBackendpublic void onDelete(org.gcube.common.storagehub.model.items.nodes.Content content)
onDelete in interface org.gcube.common.storagehub.model.storages.StorageBackendpublic String getTotalSizeStored()
getTotalSizeStored in interface org.gcube.common.storagehub.model.storages.StorageBackendpublic String getTotalItemsCount()
getTotalItemsCount in interface org.gcube.common.storagehub.model.storages.StorageBackendCopyright © 2021. All Rights Reserved.