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

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

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

origin: org.flowable/flowable-cmmn-converter

@Override
protected CmmnElement convert(XMLStreamReader xtr, ConversionHelper conversionHelper) {
  Case caze = new Case();
  caze.setName(xtr.getAttributeValue(null, CmmnXmlConstants.ATTRIBUTE_NAME));
  caze.setInitiatorVariableName(xtr.getAttributeValue(CmmnXmlConstants.FLOWABLE_EXTENSIONS_NAMESPACE, CmmnXmlConstants.ATTRIBUTE_INITIATOR_VARIABLE_NAME));
  
  String candidateUsersString = CmmnXmlUtil.getAttributeValue(CmmnXmlConstants.ATTRIBUTE_CASE_CANDIDATE_USERS, xtr);
  if (StringUtils.isNotEmpty(candidateUsersString)) {
    List<String> candidateUsers = CmmnXmlUtil.parseDelimitedList(candidateUsersString);
    caze.setCandidateStarterUsers(candidateUsers);
  }
  String candidateGroupsString = CmmnXmlUtil.getAttributeValue(CmmnXmlConstants.ATTRIBUTE_CASE_CANDIDATE_GROUPS, xtr);
  if (StringUtils.isNotEmpty(candidateGroupsString)) {
    List<String> candidateGroups = CmmnXmlUtil.parseDelimitedList(candidateGroupsString);
    caze.setCandidateStarterGroups(candidateGroups);
  }
  
  conversionHelper.getCmmnModel().addCase(caze);
  conversionHelper.setCurrentCase(caze);
  return caze;
}

org.flowable.cmmn.modelCmmnModeladdCase

Popular methods of CmmnModel

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

Popular in Java

  • Running tasks concurrently on multiple threads
  • findViewById (Activity)
  • addToBackStack (FragmentTransaction)
  • setRequestProperty (URLConnection)
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • JComboBox (javax.swing)
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Best plugins for Eclipse
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