From bc25fa9f337c794383a0c0115f8175e0a4e35191 Mon Sep 17 00:00:00 2001 From: lucio lelii Date: Tue, 22 Nov 2022 14:03:59 +0100 Subject: [PATCH] changes on interface --- .../common/storagehub/model/storages/StorageBackend.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/gcube/common/storagehub/model/storages/StorageBackend.java b/src/main/java/org/gcube/common/storagehub/model/storages/StorageBackend.java index 5a19941..3479728 100644 --- a/src/main/java/org/gcube/common/storagehub/model/storages/StorageBackend.java +++ b/src/main/java/org/gcube/common/storagehub/model/storages/StorageBackend.java @@ -28,7 +28,9 @@ public abstract class StorageBackend { public abstract MetaInfo onMove(Content content, String newParentPath); - public abstract void onDelete(Content content); + //public abstract void onDelete(Content content); + + public abstract void delete(String id); public abstract MetaInfo upload(InputStream stream, String relativePath, String name);