diff --git a/geoportal-common/src/main/java/org/gcube/application/geoportal/common/rest/InterfaceConstants.java b/geoportal-common/src/main/java/org/gcube/application/geoportal/common/rest/InterfaceConstants.java index 0ffa144..111ec9a 100644 --- a/geoportal-common/src/main/java/org/gcube/application/geoportal/common/rest/InterfaceConstants.java +++ b/geoportal-common/src/main/java/org/gcube/application/geoportal/common/rest/InterfaceConstants.java @@ -40,11 +40,14 @@ public class InterfaceConstants { public static final String UCID ="usecase_id"; public static final String FORCE="force"; + + public static final String IGNORE_ERRORS="ignore_errors"; public static final String RELATIONSHIP_ID="relationship_id"; public static final String DEEP="deep"; public static final String TARGET_UCD="target_ucd"; public static final String TARGET_ID="target_id"; + public static final String PATH="path"; } diff --git a/geoportal-common/src/main/java/org/gcube/application/geoportal/common/rest/Projects.java b/geoportal-common/src/main/java/org/gcube/application/geoportal/common/rest/Projects.java index 892e968..76ccb03 100644 --- a/geoportal-common/src/main/java/org/gcube/application/geoportal/common/rest/Projects.java +++ b/geoportal-common/src/main/java/org/gcube/application/geoportal/common/rest/Projects.java @@ -25,6 +25,8 @@ public interface Projects
{ public P updateDocument(String id,Document updatedDocument) throws RemoteException; public void deleteById(String id) throws RemoteException; public void deleteById(String id,Boolean force) throws RemoteException; + + public P patchDocument(String id, String path, Document updatedDocument) throws RemoteException; @@ -55,4 +57,6 @@ public interface Projects
{
public Iterator