Fixed APIs
This commit is contained in:
parent
849d9e136b
commit
4e743b7f08
|
@ -1,7 +1,5 @@
|
||||||
package org.gcube.gcat.api.interfaces;
|
package org.gcube.gcat.api.interfaces;
|
||||||
|
|
||||||
import java.util.Map;
|
|
||||||
|
|
||||||
import javax.xml.ws.WebServiceException;
|
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 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 list(int limit, int offset) throws WebServiceException;
|
||||||
|
|
||||||
public String patch(String name, String json) 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 delete(String name, boolean purge) throws WebServiceException;
|
||||||
|
|
||||||
public D purge(String name) throws WebServiceException;
|
public D purge(String name) throws WebServiceException;
|
||||||
|
|
||||||
|
public D bulkDelete(boolean purge) throws WebServiceException;
|
||||||
|
|
||||||
|
public D bulkPurge() throws WebServiceException;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue