Added count methods for Organization, Groups and Profiles refs #20629
This commit is contained in:
parent
2eb9d98c58
commit
8247359abd
|
@ -7,8 +7,10 @@ import javax.xml.ws.WebServiceException;
|
|||
*/
|
||||
public interface Group<C,D> extends CRUD<C,D> {
|
||||
|
||||
String GROUPS = "groups";
|
||||
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;
|
||||
|
|
|
@ -1,12 +1,16 @@
|
|||
package org.gcube.gcat.api.interfaces;
|
||||
|
||||
import javax.xml.ws.WebServiceException;
|
||||
|
||||
/**
|
||||
* @author Luca Frosini (ISTI - CNR)
|
||||
*/
|
||||
public interface Organization<C,D> extends CRUD<C,D> {
|
||||
|
||||
String ORGANIZATIONS = "organizations";
|
||||
|
||||
public static final String ORGANIZATIONS = "organizations";
|
||||
|
||||
public int count() throws WebServiceException;
|
||||
|
||||
public String list(int limit, int offset);
|
||||
|
||||
public String patch(String name, String json);
|
||||
|
|
|
@ -5,10 +5,12 @@ package org.gcube.gcat.api.interfaces;
|
|||
*/
|
||||
public interface Profile<C,D> {
|
||||
|
||||
String PROFILES = "profiles";
|
||||
public static final String PROFILES = "profiles";
|
||||
|
||||
public static final String SCHEMA = "SCHEMA";
|
||||
|
||||
public int count();
|
||||
|
||||
public String list();
|
||||
|
||||
public C create(String name, String xml);
|
||||
|
|
Loading…
Reference in New Issue