Added constants required to support getting only the number of total
items
This commit is contained in:
parent
e8dbf44e68
commit
436662d8d9
|
@ -10,6 +10,7 @@ public class GCatConstants {
|
|||
public static final String APPLICATION_JSON_CHARSET_UTF_8 = "application/json;charset=UTF-8";
|
||||
public static final String LIMIT_PARAMETER = "limit";
|
||||
public static final String OFFSET_PARAMETER = "offset";
|
||||
public static final String COUNT_ONLY_PARAMETER = "countOnly";
|
||||
|
||||
public static final String ORGANIZATION_PARAMETER = "organization";
|
||||
public static final String Q_KEY = "q";
|
||||
|
|
|
@ -9,8 +9,12 @@ import javax.xml.ws.WebServiceException;
|
|||
*/
|
||||
public interface Item<C,D> extends CRUD<C,D> {
|
||||
|
||||
String ITEMS = "items";
|
||||
public static final String ITEMS = "items";
|
||||
|
||||
public static final String COUNT_KEY = "count";
|
||||
|
||||
public int count() throws WebServiceException;
|
||||
|
||||
public String list(Map<String,String> parameters) throws WebServiceException;
|
||||
|
||||
public String list(int limit, int offset) throws WebServiceException;
|
||||
|
|
Loading…
Reference in New Issue