@RestController
@RequestMapping(value="/v2/queries",
produces="application/json;charset=UTF-8")
public class QueriesController
extends java.lang.Object
Constructor and Description |
---|
QueriesController() |
Modifier and Type | Method and Description |
---|---|
org.springframework.http.ResponseEntity<java.lang.String> |
executeQueryGet(java.lang.String entityName,
java.lang.String queryName,
java.lang.Integer limit,
java.lang.Integer offset,
java.lang.String view,
java.lang.Boolean returnNulls,
java.lang.Boolean dynamicAttributes,
java.lang.Boolean returnCount,
java.lang.String modelVersion,
java.util.Map<java.lang.String,java.lang.String> params) |
org.springframework.http.ResponseEntity<java.lang.String> |
executeQueryPost(java.lang.String entityName,
java.lang.String queryName,
java.lang.Integer limit,
java.lang.Integer offset,
java.lang.String view,
java.lang.Boolean returnNulls,
java.lang.Boolean dynamicAttributes,
java.lang.Boolean returnCount,
java.lang.String modelVersion,
java.lang.String paramsJson) |
java.lang.String |
getCountGet(java.lang.String entityName,
java.lang.String queryName,
java.lang.String modelVersion,
java.util.Map<java.lang.String,java.lang.String> params) |
java.lang.String |
getCountPost(java.lang.String entityName,
java.lang.String queryName,
java.lang.String modelVersion,
java.lang.String paramsJson) |
java.util.List<RestQueriesConfiguration.QueryInfo> |
loadQueriesList(java.lang.String entityName) |
@GetMapping(value="/{entityName}/{queryName}") public org.springframework.http.ResponseEntity<java.lang.String> executeQueryGet(@PathVariable java.lang.String entityName, @PathVariable java.lang.String queryName, @RequestParam(required=false) java.lang.Integer limit, @RequestParam(required=false) java.lang.Integer offset, @RequestParam(required=false) java.lang.String view, @RequestParam(required=false) java.lang.Boolean returnNulls, @RequestParam(required=false) java.lang.Boolean dynamicAttributes, @RequestParam(required=false) java.lang.Boolean returnCount, @RequestParam(required=false) java.lang.String modelVersion, @RequestParam java.util.Map<java.lang.String,java.lang.String> params)
@PostMapping(value="/{entityName}/{queryName}") public org.springframework.http.ResponseEntity<java.lang.String> executeQueryPost(@PathVariable java.lang.String entityName, @PathVariable java.lang.String queryName, @RequestParam(required=false) java.lang.Integer limit, @RequestParam(required=false) java.lang.Integer offset, @RequestParam(required=false) java.lang.String view, @RequestParam(required=false) java.lang.Boolean returnNulls, @RequestParam(required=false) java.lang.Boolean dynamicAttributes, @RequestParam(required=false) java.lang.Boolean returnCount, @RequestParam(required=false) java.lang.String modelVersion, @RequestBody java.lang.String paramsJson)
@GetMapping(value="/{entityName}/{queryName}/count", produces="text/plain;charset=UTF-8") public java.lang.String getCountGet(@PathVariable java.lang.String entityName, @PathVariable java.lang.String queryName, @RequestParam(required=false) java.lang.String modelVersion, @RequestParam java.util.Map<java.lang.String,java.lang.String> params) throws java.lang.ClassNotFoundException, java.text.ParseException
java.lang.ClassNotFoundException
java.text.ParseException
@PostMapping(value="/{entityName}/{queryName}/count", produces="text/plain;charset=UTF-8") public java.lang.String getCountPost(@PathVariable java.lang.String entityName, @PathVariable java.lang.String queryName, @RequestParam(required=false) java.lang.String modelVersion, @RequestBody java.lang.String paramsJson) throws java.lang.ClassNotFoundException, java.text.ParseException
java.lang.ClassNotFoundException
java.text.ParseException
@GetMapping(value="/{entityName}") public java.util.List<RestQueriesConfiguration.QueryInfo> loadQueriesList(@PathVariable java.lang.String entityName)