@RestController @RequestMapping(value="/app") public class RuntimeDisplayJsonClientResource extends Object
| Modifier and Type | Field and Description |
|---|---|
protected DebuggerService |
debuggerService |
protected List<String> |
eventElementTypes |
protected HistoryService |
historyService |
protected ManagementService |
managementService |
protected com.fasterxml.jackson.databind.ObjectMapper |
objectMapper |
protected PermissionService |
permissionService |
protected Map<String,InfoMapper> |
propertyMappers |
protected RepositoryService |
repositoryService |
protected RuntimeService |
runtimeService |
| Constructor and Description |
|---|
RuntimeDisplayJsonClientResource() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
commonFillGraphicInfo(com.fasterxml.jackson.databind.node.ObjectNode elementNode,
double x,
double y,
double width,
double height,
boolean includeWidthAndHeight) |
protected void |
fillDiagramInfo(GraphicInfo graphicInfo,
GraphicInfo diagramInfo) |
protected void |
fillEventTypes(String className,
FlowElement element,
com.fasterxml.jackson.databind.node.ObjectNode elementNode) |
protected void |
fillGraphicInfo(com.fasterxml.jackson.databind.node.ObjectNode elementNode,
GraphicInfo graphicInfo,
boolean includeWidthAndHeight) |
protected void |
fillWaypoints(String id,
BpmnModel model,
com.fasterxml.jackson.databind.node.ObjectNode elementNode,
GraphicInfo diagramInfo) |
protected List<String> |
gatherCompletedFlows(Set<String> completedActivityInstances,
Set<String> currentActivityinstances,
BpmnModel pojoModel) |
com.fasterxml.jackson.databind.JsonNode |
getDebuggerModelJSON(String processInstanceId) |
com.fasterxml.jackson.databind.JsonNode |
getModelHistoryJSON(String processInstanceId) |
com.fasterxml.jackson.databind.JsonNode |
getModelJSON(String processInstanceId) |
com.fasterxml.jackson.databind.JsonNode |
getModelJSONForProcessDefinition(String processDefinitionId) |
protected void |
processArtifacts(Collection<Artifact> artifactList,
BpmnModel model,
com.fasterxml.jackson.databind.node.ArrayNode elementArray,
com.fasterxml.jackson.databind.node.ArrayNode flowArray,
GraphicInfo diagramInfo) |
protected void |
processElements(Collection<FlowElement> elementList,
BpmnModel model,
com.fasterxml.jackson.databind.node.ArrayNode elementArray,
com.fasterxml.jackson.databind.node.ArrayNode flowArray,
com.fasterxml.jackson.databind.node.ArrayNode collapsedArray,
GraphicInfo diagramInfo,
Set<String> completedElements,
Set<String> currentElements,
Collection<String> breakpoints,
com.fasterxml.jackson.databind.node.ObjectNode collapsedNode,
String processInstanceId) |
protected com.fasterxml.jackson.databind.node.ObjectNode |
processProcessElements(BpmnModel pojoModel,
Set<String> completedElements,
Set<String> currentElements,
Collection<String> breakpoints,
String processInstanceId) |
@Autowired protected RepositoryService repositoryService
@Autowired protected RuntimeService runtimeService
@Autowired protected HistoryService historyService
@Autowired protected ManagementService managementService
@Autowired protected PermissionService permissionService
@Autowired protected DebuggerService debuggerService
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
protected Map<String,InfoMapper> propertyMappers
@GetMapping(value="/rest/process-instances/debugger/{processInstanceId}/model-json",
produces="application/json")
public com.fasterxml.jackson.databind.JsonNode getDebuggerModelJSON(@PathVariable
String processInstanceId)
@GetMapping(value="/rest/process-instances/{processInstanceId}/model-json",
produces="application/json")
public com.fasterxml.jackson.databind.JsonNode getModelJSON(@PathVariable
String processInstanceId)
@GetMapping(value="/rest/process-definitions/{processDefinitionId}/model-json",
produces="application/json")
public com.fasterxml.jackson.databind.JsonNode getModelJSONForProcessDefinition(@PathVariable
String processDefinitionId)
@GetMapping(value="/rest/process-instances/history/{processInstanceId}/model-json",
produces="application/json")
public com.fasterxml.jackson.databind.JsonNode getModelHistoryJSON(@PathVariable
String processInstanceId)
protected com.fasterxml.jackson.databind.node.ObjectNode processProcessElements(BpmnModel pojoModel, Set<String> completedElements, Set<String> currentElements, Collection<String> breakpoints, String processInstanceId)
protected void processElements(Collection<FlowElement> elementList, BpmnModel model, com.fasterxml.jackson.databind.node.ArrayNode elementArray, com.fasterxml.jackson.databind.node.ArrayNode flowArray, com.fasterxml.jackson.databind.node.ArrayNode collapsedArray, GraphicInfo diagramInfo, Set<String> completedElements, Set<String> currentElements, Collection<String> breakpoints, com.fasterxml.jackson.databind.node.ObjectNode collapsedNode, String processInstanceId)
protected void processArtifacts(Collection<Artifact> artifactList, BpmnModel model, com.fasterxml.jackson.databind.node.ArrayNode elementArray, com.fasterxml.jackson.databind.node.ArrayNode flowArray, GraphicInfo diagramInfo)
protected void fillWaypoints(String id, BpmnModel model, com.fasterxml.jackson.databind.node.ObjectNode elementNode, GraphicInfo diagramInfo)
protected void fillEventTypes(String className, FlowElement element, com.fasterxml.jackson.databind.node.ObjectNode elementNode)
protected void fillGraphicInfo(com.fasterxml.jackson.databind.node.ObjectNode elementNode,
GraphicInfo graphicInfo,
boolean includeWidthAndHeight)
protected void commonFillGraphicInfo(com.fasterxml.jackson.databind.node.ObjectNode elementNode,
double x,
double y,
double width,
double height,
boolean includeWidthAndHeight)
protected void fillDiagramInfo(GraphicInfo graphicInfo, GraphicInfo diagramInfo)
Copyright © 2022 Flowable. All rights reserved.