23 lines
561 B
Java
23 lines
561 B
Java
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> {
|
|
|
|
public static final String GROUPS = "groups";
|
|
|
|
public int count() throws WebServiceException;
|
|
|
|
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;
|
|
|
|
}
|