@Service public class ModelImageService extends Object
| Modifier and Type | Field and Description |
|---|---|
protected BpmnJsonConverter |
bpmnJsonConverter |
| Constructor and Description |
|---|
ModelImageService() |
| Modifier and Type | Method and Description |
|---|---|
protected GraphicInfo |
calculateDiagramSize(BpmnModel bpmnModel) |
protected void |
calculateWidthForArtifacts(Collection<Artifact> artifactList,
BpmnModel bpmnModel,
GraphicInfo diagramInfo) |
protected void |
calculateWidthForFlowElements(Collection<FlowElement> elementList,
BpmnModel bpmnModel,
GraphicInfo diagramInfo) |
void |
generateThumbnailImage(Model model,
com.fasterxml.jackson.databind.node.ObjectNode editorJsonNode) |
protected void |
processGraphicInfoList(List<GraphicInfo> graphicInfoList,
GraphicInfo diagramInfo) |
protected void |
scaleArtifacts(Collection<Artifact> artifactList,
BpmnModel bpmnModel,
double scaleFactor) |
protected void |
scaleDiagram(BpmnModel bpmnModel,
double scaleFactor) |
protected void |
scaleFlowElements(Collection<FlowElement> elementList,
BpmnModel bpmnModel,
double scaleFactor) |
protected void |
scaleGraphicInfo(GraphicInfo graphicInfo,
double scaleFactor) |
protected void |
scaleGraphicInfoList(List<GraphicInfo> graphicInfoList,
double scaleFactor) |
protected BpmnJsonConverter bpmnJsonConverter
public void generateThumbnailImage(Model model, com.fasterxml.jackson.databind.node.ObjectNode editorJsonNode)
protected GraphicInfo calculateDiagramSize(BpmnModel bpmnModel)
protected void scaleDiagram(BpmnModel bpmnModel, double scaleFactor)
protected void calculateWidthForFlowElements(Collection<FlowElement> elementList, BpmnModel bpmnModel, GraphicInfo diagramInfo)
protected void calculateWidthForArtifacts(Collection<Artifact> artifactList, BpmnModel bpmnModel, GraphicInfo diagramInfo)
protected void processGraphicInfoList(List<GraphicInfo> graphicInfoList, GraphicInfo diagramInfo)
protected void scaleFlowElements(Collection<FlowElement> elementList, BpmnModel bpmnModel, double scaleFactor)
protected void scaleArtifacts(Collection<Artifact> artifactList, BpmnModel bpmnModel, double scaleFactor)
protected void scaleGraphicInfoList(List<GraphicInfo> graphicInfoList, double scaleFactor)
protected void scaleGraphicInfo(GraphicInfo graphicInfo, double scaleFactor)
Copyright © 2017 Alfresco. All rights reserved.