Package org.flowable.ui.modeler.service
Class BpmnDisplayJsonConverter
- java.lang.Object
-
- org.flowable.ui.modeler.service.BpmnDisplayJsonConverter
-
@Component public class BpmnDisplayJsonConverter extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected BpmnJsonConverterbpmnJsonConverterprotected List<String>eventElementTypesprotected com.fasterxml.jackson.databind.ObjectMapperobjectMapperprotected Map<String,InfoMapper>propertyMappers
-
Constructor Summary
Constructors Constructor Description BpmnDisplayJsonConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcommonFillGraphicInfo(com.fasterxml.jackson.databind.node.ObjectNode elementNode, double x, double y, double width, double height, boolean includeWidthAndHeight)protected voidfillDiagramInfo(GraphicInfo graphicInfo, GraphicInfo diagramInfo)protected voidfillEventTypes(String className, FlowElement element, com.fasterxml.jackson.databind.node.ObjectNode elementNode)protected voidfillGraphicInfo(com.fasterxml.jackson.databind.node.ObjectNode elementNode, GraphicInfo graphicInfo, boolean includeWidthAndHeight)protected voidfillWaypoints(String id, BpmnModel model, com.fasterxml.jackson.databind.node.ObjectNode elementNode, GraphicInfo diagramInfo)protected voidprocessArtifacts(Collection<Artifact> artifactList, BpmnModel model, com.fasterxml.jackson.databind.node.ArrayNode elementArray, com.fasterxml.jackson.databind.node.ArrayNode flowArray, GraphicInfo diagramInfo)protected voidprocessElements(Collection<FlowElement> elementList, BpmnModel model, com.fasterxml.jackson.databind.node.ArrayNode elementArray, com.fasterxml.jackson.databind.node.ArrayNode flowArray, GraphicInfo diagramInfo)voidprocessProcessElements(AbstractModel processModel, com.fasterxml.jackson.databind.node.ObjectNode displayNode, GraphicInfo diagramInfo)
-
-
-
Field Detail
-
bpmnJsonConverter
protected BpmnJsonConverter bpmnJsonConverter
-
objectMapper
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
propertyMappers
protected Map<String,InfoMapper> propertyMappers
-
-
Method Detail
-
processProcessElements
public void processProcessElements(AbstractModel processModel, com.fasterxml.jackson.databind.node.ObjectNode displayNode, GraphicInfo diagramInfo)
-
processElements
protected void processElements(Collection<FlowElement> elementList, BpmnModel model, com.fasterxml.jackson.databind.node.ArrayNode elementArray, com.fasterxml.jackson.databind.node.ArrayNode flowArray, GraphicInfo diagramInfo)
-
processArtifacts
protected void processArtifacts(Collection<Artifact> artifactList, BpmnModel model, com.fasterxml.jackson.databind.node.ArrayNode elementArray, com.fasterxml.jackson.databind.node.ArrayNode flowArray, GraphicInfo diagramInfo)
-
fillWaypoints
protected void fillWaypoints(String id, BpmnModel model, com.fasterxml.jackson.databind.node.ObjectNode elementNode, GraphicInfo diagramInfo)
-
fillEventTypes
protected void fillEventTypes(String className, FlowElement element, com.fasterxml.jackson.databind.node.ObjectNode elementNode)
-
fillGraphicInfo
protected void fillGraphicInfo(com.fasterxml.jackson.databind.node.ObjectNode elementNode, GraphicInfo graphicInfo, boolean includeWidthAndHeight)
-
commonFillGraphicInfo
protected void commonFillGraphicInfo(com.fasterxml.jackson.databind.node.ObjectNode elementNode, double x, double y, double width, double height, boolean includeWidthAndHeight)
-
fillDiagramInfo
protected void fillDiagramInfo(GraphicInfo graphicInfo, GraphicInfo diagramInfo)
-
-