From 66b5f4780785cd2f54f1ffe29f83cb3bc5901351 Mon Sep 17 00:00:00 2001 From: Luca Frosini Date: Mon, 21 Feb 2022 13:17:02 +0100 Subject: [PATCH] fixed interface --- .../java/org/gcube/gcat/api/interfaces/Configuration.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/gcube/gcat/api/interfaces/Configuration.java b/src/main/java/org/gcube/gcat/api/interfaces/Configuration.java index 4356895..be4c8e5 100644 --- a/src/main/java/org/gcube/gcat/api/interfaces/Configuration.java +++ b/src/main/java/org/gcube/gcat/api/interfaces/Configuration.java @@ -13,11 +13,11 @@ public interface Configuration { public C create(String json) throws WebServiceException; - public String read() throws WebServiceException ; + public C read() throws WebServiceException ; + + public C update(String json) throws WebServiceException; - public String update(String json) throws WebServiceException; - - public String patch(String json) throws WebServiceException; + public C patch(String json) throws WebServiceException; public D delete() throws WebServiceException;