Fixed APIs

This commit is contained in:
Luca Frosini 2021-12-03 17:40:28 +01:00
parent 849d9e136b
commit 4e743b7f08
1 changed files with 4 additions and 6 deletions

View File

@ -1,7 +1,5 @@
package org.gcube.gcat.api.interfaces;
import java.util.Map;
import javax.xml.ws.WebServiceException;
/**
@ -11,10 +9,6 @@ public interface Item<C,D> extends CRUD<C,D> {
public static final String ITEMS = "items";
public int count() throws WebServiceException;
public String list(Map<String,String> parameters) throws WebServiceException;
public String list(int limit, int offset) throws WebServiceException;
public String patch(String name, String json) throws WebServiceException;
@ -22,4 +16,8 @@ public interface Item<C,D> extends CRUD<C,D> {
public D delete(String name, boolean purge) throws WebServiceException;
public D purge(String name) throws WebServiceException;
public D bulkDelete(boolean purge) throws WebServiceException;
public D bulkPurge() throws WebServiceException;
}