congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
Stage.findPlanItemDefinitionsOfType
Code IndexAdd Tabnine to your IDE (free)

How to use
findPlanItemDefinitionsOfType
method
in
org.flowable.cmmn.model.Stage

Best Java code snippets using org.flowable.cmmn.model.Stage.findPlanItemDefinitionsOfType (Showing top 3 results out of 315)

origin: org.flowable/flowable-cmmn-engine

protected List<FormDefinition> getFormDefinitionsFromModel(Case caseModel, CaseDefinition caseDefinition) {
  Set<String> formKeys = new HashSet<>();
  List<FormDefinition> formDefinitions = new ArrayList<>();
  // for all user tasks
  List<HumanTask> humanTasks = caseModel.getPlanModel().findPlanItemDefinitionsOfType(HumanTask.class, true);
  
  for (HumanTask humanTask : humanTasks) {
    if (StringUtils.isNotEmpty(humanTask.getFormKey())) {
      formKeys.add(humanTask.getFormKey());
    }
  }
  for (String formKey : formKeys) {
    addFormDefinitionToCollection(formDefinitions, formKey, caseDefinition);
  }
  return formDefinitions;
}
origin: org.flowable/flowable-cmmn-engine

protected List<DmnDecisionTable> getDecisionTablesFromModel(Case caseModel, CaseDefinition caseDefinition) {
  Set<String> decisionTableKeys = new HashSet<>();
  List<DmnDecisionTable> decisionTables = new ArrayList<>();
  List<DecisionTask> decisionTasks = caseModel.getPlanModel().findPlanItemDefinitionsOfType(DecisionTask.class, true);
  for (DecisionTask decisionTask : decisionTasks) {
    if (decisionTask.getFieldExtensions() != null && decisionTask.getFieldExtensions().size() > 0) {
      for (FieldExtension fieldExtension : decisionTask.getFieldExtensions()) {
        if ("decisionTableReferenceKey".equals(fieldExtension.getFieldName())) {
          String decisionTableReferenceKey = fieldExtension.getStringValue();
          if (!decisionTableKeys.contains(decisionTableReferenceKey)) {
            addDecisionTableToCollection(decisionTables, decisionTableReferenceKey, caseDefinition);
            decisionTableKeys.add(decisionTableReferenceKey);
          }
          break;
        }
      }
    }
  }
  return decisionTables;
}
origin: org.flowable/flowable-cmmn-rest

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

Popular methods of Stage

  • getId
  • getPlanItems
  • getExitCriteria
  • getFormKey
  • getName
  • findPlanItemInPlanFragmentOrDownwards
  • isAutoComplete
  • isIncludeInStageOverview
  • isPlanModel
  • <init>
  • addPlanItemDefinition
  • findPlanItemDefinitionInStageOrUpwards
  • addPlanItemDefinition,
  • findPlanItemDefinitionInStageOrUpwards,
  • findPlanItemForPlanItemDefinitionInPlanFragmentOrUpwards,
  • findPlanItemInPlanFragmentOrUpwards,
  • getAutoCompleteCondition,
  • getDisplayOrder,
  • getParentStage,
  • getPlanItem,
  • getPlanItemDefinitions

Popular in Java

  • Reactive rest calls using spring rest template
  • getSupportFragmentManager (FragmentActivity)
  • compareTo (BigDecimal)
  • getSystemService (Context)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • CodeWhisperer alternatives
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