@RestController(value="cuba_EntitiesController")
@RequestMapping(value="/v2/entities",
produces="application/json;charset=UTF-8")
public class EntitiesController
extends java.lang.Object
Constructor and Description |
---|
EntitiesController() |
Modifier and Type | Method and Description |
---|---|
org.springframework.http.ResponseEntity<java.lang.String> |
createEntity(java.lang.String entityJson,
java.lang.String entityName,
java.lang.String modelVersion,
javax.servlet.http.HttpServletRequest request) |
void |
deleteEntity(java.lang.String entityName,
java.lang.String entityId,
java.lang.String modelVersion) |
org.springframework.http.ResponseEntity<java.lang.String> |
loadEntitiesList(java.lang.String entityName,
java.lang.String view,
java.lang.Integer limit,
java.lang.Integer offset,
java.lang.String sort,
java.lang.Boolean returnNulls,
java.lang.Boolean returnCount,
java.lang.Boolean dynamicAttributes,
java.lang.String modelVersion) |
java.lang.String |
loadEntity(java.lang.String entityName,
java.lang.String entityId,
java.lang.String view,
java.lang.Boolean returnNulls,
java.lang.Boolean dynamicAttributes,
java.lang.String modelVersion) |
org.springframework.http.ResponseEntity<java.lang.String> |
searchEntitiesListGet(java.lang.String entityName,
java.lang.String filter,
java.lang.String view,
java.lang.Integer limit,
java.lang.Integer offset,
java.lang.String sort,
java.lang.Boolean returnNulls,
java.lang.Boolean returnCount,
java.lang.Boolean dynamicAttributes,
java.lang.String modelVersion) |
org.springframework.http.ResponseEntity<java.lang.String> |
searchEntitiesListPost(java.lang.String entityName,
java.lang.String requestBodyJson) |
java.lang.String |
updateEntity(java.lang.String entityJson,
java.lang.String entityName,
java.lang.String entityId,
java.lang.String modelVersion) |
@GetMapping(value="/{entityName}/{entityId}") public java.lang.String loadEntity(@PathVariable java.lang.String entityName, @PathVariable java.lang.String entityId, @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.String modelVersion)
@GetMapping(value="/{entityName}") public org.springframework.http.ResponseEntity<java.lang.String> loadEntitiesList(@PathVariable java.lang.String entityName, @RequestParam(required=false) java.lang.String view, @RequestParam(required=false) java.lang.Integer limit, @RequestParam(required=false) java.lang.Integer offset, @RequestParam(required=false) java.lang.String sort, @RequestParam(required=false) java.lang.Boolean returnNulls, @RequestParam(required=false) java.lang.Boolean returnCount, @RequestParam(required=false) java.lang.Boolean dynamicAttributes, @RequestParam(required=false) java.lang.String modelVersion)
@GetMapping(value="/{entityName}/search") public org.springframework.http.ResponseEntity<java.lang.String> searchEntitiesListGet(@PathVariable java.lang.String entityName, @RequestParam java.lang.String filter, @RequestParam(required=false) java.lang.String view, @RequestParam(required=false) java.lang.Integer limit, @RequestParam(required=false) java.lang.Integer offset, @RequestParam(required=false) java.lang.String sort, @RequestParam(required=false) java.lang.Boolean returnNulls, @RequestParam(required=false) java.lang.Boolean returnCount, @RequestParam(required=false) java.lang.Boolean dynamicAttributes, @RequestParam(required=false) java.lang.String modelVersion)
@PostMapping(value="/{entityName}/search") public org.springframework.http.ResponseEntity<java.lang.String> searchEntitiesListPost(@PathVariable java.lang.String entityName, @RequestBody java.lang.String requestBodyJson)
@PostMapping(value="/{entityName}") public org.springframework.http.ResponseEntity<java.lang.String> createEntity(@RequestBody java.lang.String entityJson, @PathVariable java.lang.String entityName, @RequestParam(required=false) java.lang.String modelVersion, javax.servlet.http.HttpServletRequest request)
@PutMapping(value="/{entityName}/{entityId}") public java.lang.String updateEntity(@RequestBody java.lang.String entityJson, @PathVariable java.lang.String entityName, @PathVariable java.lang.String entityId, @RequestParam(required=false) java.lang.String modelVersion)
@DeleteMapping(path="/{entityName}/{entityId}") public void deleteEntity(@PathVariable java.lang.String entityName, @PathVariable java.lang.String entityId, @RequestParam(required=false) java.lang.String modelVersion)