Class GCubeStorageBackend
- java.lang.Object
-
- org.gcube.data.access.storagehub.storage.backend.impl.GCubeStorageBackend
-
- All Implemented Interfaces:
org.gcube.common.storagehub.model.storages.StorageBackend
public class GCubeStorageBackend extends Object implements org.gcube.common.storagehub.model.storages.StorageBackend
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedGCubeStorageBackend()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputStreamdownload(org.gcube.common.storagehub.model.items.nodes.Content content)StringgetName()StringgetTotalItemsCount()StringgetTotalSizeStored()StringonCopy(org.gcube.common.storagehub.model.items.AbstractFileItem item)voidonDelete(org.gcube.common.storagehub.model.items.nodes.Content content)StringonMove(org.gcube.common.storagehub.model.items.AbstractFileItem item)org.gcube.common.storagehub.model.storages.MetaInfoupload(InputStream stream, String relPath, String name)
-
-
-
Method Detail
-
download
public InputStream download(org.gcube.common.storagehub.model.items.nodes.Content content)
- Specified by:
downloadin interfaceorg.gcube.common.storagehub.model.storages.StorageBackend
-
getName
public String getName()
- Specified by:
getNamein interfaceorg.gcube.common.storagehub.model.storages.StorageBackend
-
onCopy
public String onCopy(org.gcube.common.storagehub.model.items.AbstractFileItem item)
- Specified by:
onCopyin interfaceorg.gcube.common.storagehub.model.storages.StorageBackend
-
onMove
public String onMove(org.gcube.common.storagehub.model.items.AbstractFileItem item)
- Specified by:
onMovein interfaceorg.gcube.common.storagehub.model.storages.StorageBackend
-
upload
public org.gcube.common.storagehub.model.storages.MetaInfo upload(InputStream stream, String relPath, String name)
- Specified by:
uploadin interfaceorg.gcube.common.storagehub.model.storages.StorageBackend
-
onDelete
public void onDelete(org.gcube.common.storagehub.model.items.nodes.Content content)
- Specified by:
onDeletein interfaceorg.gcube.common.storagehub.model.storages.StorageBackend
-
getTotalSizeStored
public String getTotalSizeStored()
- Specified by:
getTotalSizeStoredin interfaceorg.gcube.common.storagehub.model.storages.StorageBackend
-
getTotalItemsCount
public String getTotalItemsCount()
- Specified by:
getTotalItemsCountin interfaceorg.gcube.common.storagehub.model.storages.StorageBackend
-
-