gcat-api/src/main/java/org/gcube/gcat/api/interfaces/Item.java

24 lines
625 B
Java
Raw Permalink Normal View History

package org.gcube.gcat.api.interfaces;
import javax.xml.ws.WebServiceException;
/**
* @author Luca Frosini (ISTI - CNR)
*/
2021-12-02 11:49:34 +01:00
public interface Item<C,D> extends CRUD<C,D> {
public static final String ITEMS = "items";
public String list(int limit, int offset) throws WebServiceException;
2020-12-02 17:58:57 +01:00
public String patch(String name, String json) throws WebServiceException;
public D delete(String name, boolean purge) throws WebServiceException;
public D purge(String name) throws WebServiceException;
2021-12-03 17:40:28 +01:00
public D bulkDelete(boolean purge) throws WebServiceException;
public D bulkPurge() throws WebServiceException;
}