@RestController @RequestMapping(value="/app") public class ModelHistoryResource extends AbstractModelHistoryResource
modelHistoryRepository, modelService, objectMapper| Constructor and Description |
|---|
ModelHistoryResource() |
| Modifier and Type | Method and Description |
|---|---|
ReviveModelResultRepresentation |
executeProcessModelHistoryAction(String modelId,
String modelHistoryId,
org.flowable.ui.common.model.BaseRestActionRepresentation action) |
org.flowable.ui.common.model.ResultListDataRepresentation |
getModelHistoryCollection(String modelId,
Boolean includeLatestVersion) |
ModelRepresentation |
getProcessModelHistory(String modelId,
String modelHistoryId) |
@GetMapping(value="/rest/models/{modelId}/history",
produces="application/json")
public org.flowable.ui.common.model.ResultListDataRepresentation getModelHistoryCollection(@PathVariable
String modelId,
@RequestParam(value="includeLatestVersion",required=false)
Boolean includeLatestVersion)
getModelHistoryCollection in class AbstractModelHistoryResource@GetMapping(value="/rest/models/{modelId}/history/{modelHistoryId}",
produces="application/json")
public ModelRepresentation getProcessModelHistory(@PathVariable
String modelId,
@PathVariable
String modelHistoryId)
getProcessModelHistory in class AbstractModelHistoryResource@PostMapping(value="/rest/models/{modelId}/history/{modelHistoryId}",
produces="application/json")
public ReviveModelResultRepresentation executeProcessModelHistoryAction(@PathVariable
String modelId,
@PathVariable
String modelHistoryId,
@RequestBody(required=true)
org.flowable.ui.common.model.BaseRestActionRepresentation action)
Copyright © 2020 Flowable. All rights reserved.