2019-01-29 17:43:59 +01:00
|
|
|
package org.gcube.gcat.api.interfaces;
|
|
|
|
|
|
|
|
import javax.xml.ws.WebServiceException;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @author Luca Frosini (ISTI - CNR)
|
|
|
|
*/
|
|
|
|
public interface Group<C,D> extends CRUD<C,D> {
|
|
|
|
|
2021-02-03 21:55:41 +01:00
|
|
|
public static final String GROUPS = "groups";
|
2019-01-29 17:43:59 +01:00
|
|
|
|
2021-02-03 21:55:41 +01:00
|
|
|
public int count() throws WebServiceException;
|
|
|
|
|
2019-01-29 17:43:59 +01:00
|
|
|
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;
|
|
|
|
|
|
|
|
}
|