Codota Logo
CmmnModel.getFlowLocationGraphicInfo
Code IndexAdd Codota to your IDE (free)

How to use
getFlowLocationGraphicInfo
method
in
org.flowable.cmmn.model.CmmnModel

Best Java code snippets using org.flowable.cmmn.model.CmmnModel.getFlowLocationGraphicInfo (Showing top 5 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
FileOutputStream f =
  • Codota IconFile file;new FileOutputStream(file)
  • Codota IconString name;new FileOutputStream(name)
  • Codota IconFile file;new FileOutputStream(file, true)
  • Smart code suggestions by Codota
}
origin: org.flowable/flowable-ui-task-rest

protected void fillWaypoints(String id, CmmnModel model, ObjectNode elementNode, GraphicInfo diagramInfo) {
  List<GraphicInfo> flowInfo = model.getFlowLocationGraphicInfo(id);
  ArrayNode waypointArray = objectMapper.createArrayNode();
  for (GraphicInfo graphicInfo : flowInfo) {
    ObjectNode pointNode = objectMapper.createObjectNode();
    fillGraphicInfo(pointNode, graphicInfo, false);
    waypointArray.add(pointNode);
    fillDiagramInfo(graphicInfo, diagramInfo);
  }
  elementNode.set("waypoints", waypointArray);
}
origin: org.flowable/flowable-cmmn-converter

  protected static void createCmmnEdge(CmmnModel model, String associationId, String sourceElementId, String targetElementId, XMLStreamWriter xtw) throws Exception {
    xtw.writeStartElement(CMMNDI_PREFIX, ELEMENT_DI_EDGE, CMMNDI_NAMESPACE);
    String edgeId = associationId;
    if (!edgeId.startsWith("CMMNEdge_")) {
      edgeId = "CMMNEdge_" + associationId;
    }
    xtw.writeAttribute(ATTRIBUTE_ID, edgeId);
    xtw.writeAttribute(ATTRIBUTE_DI_CMMN_ELEMENT_REF, sourceElementId);
    xtw.writeAttribute(ATTRIBUTE_DI_TARGET_CMMN_ELEMENT_REF, targetElementId);

    List<GraphicInfo> graphicInfoList = model.getFlowLocationGraphicInfo(associationId);
    for (GraphicInfo graphicInfo : graphicInfoList) {
      xtw.writeStartElement(OMGDI_PREFIX, ELEMENT_DI_WAYPOINT, OMGDI_NAMESPACE);
      xtw.writeAttribute(ATTRIBUTE_DI_X, String.valueOf(graphicInfo.getX()));
      xtw.writeAttribute(ATTRIBUTE_DI_Y, String.valueOf(graphicInfo.getY()));
      xtw.writeEndElement();
    }
    
    // The xsd requires a CMMNLabel to be there, even though the spec text says it's optional
    xtw.writeStartElement(CMMNDI_PREFIX, ELEMENT_DI_LABEL, CMMNDI_NAMESPACE);
    xtw.writeEndElement();

    xtw.writeEndElement();
  }
}
origin: org.flowable/flowable-ui-admin-rest

protected void fillWaypoints(String id, CmmnModel model, ObjectNode elementNode, GraphicInfo diagramInfo) {
  List<GraphicInfo> flowInfo = model.getFlowLocationGraphicInfo(id);
  ArrayNode waypointArray = objectMapper.createArrayNode();
  for (GraphicInfo graphicInfo : flowInfo) {
    ObjectNode pointNode = objectMapper.createObjectNode();
    fillGraphicInfo(pointNode, graphicInfo, false);
    waypointArray.add(pointNode);
    fillDiagramInfo(graphicInfo, diagramInfo);
  }
  elementNode.set("waypoints", waypointArray);
}
origin: org.flowable/flowable-ui-task-rest

elementNode.put("sourceRef", association.getSourceRef());
elementNode.put("targetRef", association.getTargetRef());
List<GraphicInfo> flowInfo = pojoModel.getFlowLocationGraphicInfo(association.getId());
if (CollectionUtils.isNotEmpty(flowInfo)) {
  ArrayNode waypointArray = objectMapper.createArrayNode();
origin: org.flowable/flowable-ui-admin-rest

elementNode.put("sourceRef", association.getSourceRef());
elementNode.put("targetRef", association.getTargetRef());
List<GraphicInfo> flowInfo = pojoModel.getFlowLocationGraphicInfo(association.getId());
if (CollectionUtils.isNotEmpty(flowInfo)) {
  ArrayNode waypointArray = objectMapper.createArrayNode();
org.flowable.cmmn.modelCmmnModelgetFlowLocationGraphicInfo

Popular methods of CmmnModel

  • getCases
  • getLocationMap
  • getAssociations
  • getGraphicInfo
  • getPrimaryCase
  • findPlanItem
  • getCaseById
  • getTargetNamespace
  • <init>
  • addAssociation
  • addCase
  • addCriterion
  • addCase,
  • addCriterion,
  • addDecision,
  • addFlowGraphicInfoList,
  • addGraphicInfo,
  • addProcess,
  • findPlanItemByPlanItemDefinitionId,
  • getCriterion,
  • getDecisionById

Popular in Java

  • Running tasks concurrently on multiple threads
  • runOnUiThread (Activity)
  • getContentResolver (Context)
  • orElseThrow (Optional)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • ConcurrentHashMap (java.util.concurrent)
    A hash table supporting full concurrency of retrievals and adjustable expected concurrency for updat
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • Reference (javax.naming)
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement.A servlet is a small Java program that runs within
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now