@RestController public class RuntimeDisplayJsonClientResource extends Object
Modifier and Type | Field and Description |
---|---|
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 |
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,
GraphicInfo diagramInfo,
Set<String> completedElements,
Set<String> currentElements) |
protected com.fasterxml.jackson.databind.node.ObjectNode |
processProcessElements(BpmnModel pojoModel,
Set<String> completedElements,
Set<String> currentElements) |
@Inject protected RepositoryService repositoryService
@Inject protected RuntimeService runtimeService
@Inject protected HistoryService historyService
@Inject protected ManagementService managementService
@Inject protected PermissionService permissionService
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
protected Map<String,InfoMapper> propertyMappers
@RequestMapping(value="/rest/process-instances/{processInstanceId}/model-json", method=GET, produces="application/json") public com.fasterxml.jackson.databind.JsonNode getModelJSON(@PathVariable String processInstanceId)
@RequestMapping(value="/rest/process-definitions/{processDefinitionId}/model-json", method=GET, produces="application/json") public com.fasterxml.jackson.databind.JsonNode getModelJSONForProcessDefinition(@PathVariable String processDefinitionId)
@RequestMapping(value="/rest/process-instances/history/{processInstanceId}/model-json", method=GET, 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)
protected void processElements(Collection<FlowElement> elementList, BpmnModel model, com.fasterxml.jackson.databind.node.ArrayNode elementArray, com.fasterxml.jackson.databind.node.ArrayNode flowArray, GraphicInfo diagramInfo, Set<String> completedElements, Set<String> currentElements)
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 © 2014–2015 Alfresco. All rights reserved.