Tabnine Logo
CmmnModel.getPrimaryCase
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: org.flowable/flowable-cmmn-engine

public static Case getCase(String caseDefinitionId) {
  return getCmmnModel(caseDefinitionId).getPrimaryCase();
}
origin: org.flowable/flowable-cmmn-converter

xtw.writeStartElement(CMMNDI_PREFIX, ELEMENT_DI_DIAGRAM, CMMNDI_NAMESPACE);
String caseId = model.getPrimaryCase().getId();
  if (elementId.equals(model.getPrimaryCase().getPlanModel().getId())) {
    writePlanModel(model.getPrimaryCase().getPlanModel(), model, xtw);
origin: org.flowable/flowable-cmmn-engine

public void executeTaskListeners(TaskEntity taskEntity, String eventType) {
  if (taskEntity.getScopeDefinitionId() != null) {
    CmmnModel cmmnModel = CaseDefinitionUtil.getCmmnModel(taskEntity.getScopeDefinitionId());
    CaseElement caseElement = cmmnModel.getPrimaryCase().getAllCaseElements().get(taskEntity.getTaskDefinitionKey());
    if (caseElement instanceof HumanTask) {
      HumanTask humanTask = (HumanTask) caseElement;
      executeTaskListeners(humanTask, taskEntity, eventType);
    }
  }
}
origin: org.flowable/flowable-cmmn-rest

List<Stage> stages = cmmnModel.getPrimaryCase().getPlanModel().findPlanItemDefinitionsOfType(Stage.class, true);
org.flowable.cmmn.modelCmmnModelgetPrimaryCase

Popular methods of CmmnModel

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

Popular in Java

  • Parsing JSON documents to java classes using gson
  • setContentView (Activity)
  • getContentResolver (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now