Added pagination support for QueryTemplates
This commit is contained in:
parent
9851f83ecd
commit
849cc923f3
|
@ -47,6 +47,7 @@ public class QueryTemplateManager extends BaseRest {
|
||||||
ServerRequestInfo serverRequestInfo = initRequestInfo();
|
ServerRequestInfo serverRequestInfo = initRequestInfo();
|
||||||
serverRequestInfo.setAllMeta(true);
|
serverRequestInfo.setAllMeta(true);
|
||||||
serverRequestInfo.checkBooleanQueryParameter(ContextPath.INCLUDE_META_QUERY_PARAMETER);
|
serverRequestInfo.checkBooleanQueryParameter(ContextPath.INCLUDE_META_QUERY_PARAMETER);
|
||||||
|
serverRequestInfo.checkLimitOffset();
|
||||||
|
|
||||||
QueryTemplateManagement queryTemplateManagement = new QueryTemplateManagement();
|
QueryTemplateManagement queryTemplateManagement = new QueryTemplateManagement();
|
||||||
return queryTemplateManagement.all(false);
|
return queryTemplateManagement.all(false);
|
||||||
|
|
Loading…
Reference in New Issue