24 lines
625 B
Java
24 lines
625 B
Java
package org.gcube.gcat.api.interfaces;
|
|
|
|
import javax.xml.ws.WebServiceException;
|
|
|
|
/**
|
|
* @author Luca Frosini (ISTI - CNR)
|
|
*/
|
|
public interface Item<C,D> extends CRUD<C,D> {
|
|
|
|
public static final String ITEMS = "items";
|
|
|
|
public String list(int limit, int offset) throws WebServiceException;
|
|
|
|
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;
|
|
|
|
public D bulkDelete(boolean purge) throws WebServiceException;
|
|
|
|
public D bulkPurge() throws WebServiceException;
|
|
}
|