@RestController @RequestMapping(value="/app/rest/form-models") public class FormResource extends Object
| Modifier and Type | Field and Description |
|---|---|
protected FlowableFormService |
formService |
| Constructor and Description |
|---|
FormResource() |
| Modifier and Type | Method and Description |
|---|---|
FormRepresentation |
getForm(String formId) |
FormRepresentation |
getFormHistory(String formId,
String formHistoryId) |
List<FormRepresentation> |
getForms(javax.servlet.http.HttpServletRequest request) |
FormRepresentation |
saveForm(String formId,
FormSaveRepresentation saveRepresentation) |
@Autowired protected FlowableFormService formService
@GetMapping(value="/{formId}",
produces="application/json")
public FormRepresentation getForm(@PathVariable
String formId)
@GetMapping(value="/values",
produces="application/json")
public List<FormRepresentation> getForms(javax.servlet.http.HttpServletRequest request)
@GetMapping(value="/{formId}/history/{formHistoryId}",
produces="application/json")
public FormRepresentation getFormHistory(@PathVariable
String formId,
@PathVariable
String formHistoryId)
@PutMapping(value="/{formId}",
produces="application/json")
public FormRepresentation saveForm(@PathVariable
String formId,
@RequestBody
FormSaveRepresentation saveRepresentation)
Copyright © 2020 Flowable. All rights reserved.