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

How to use
setDecisionRequirementsDefinitionId
method
in
org.camunda.bpm.engine.impl.dmn.entity.repository.DecisionDefinitionEntity

Best Java code snippets using org.camunda.bpm.engine.impl.dmn.entity.repository.DecisionDefinitionEntity.setDecisionRequirementsDefinitionId (Showing top 3 results out of 315)

origin: camunda/camunda-bpm-platform

@Override
protected List<DecisionDefinitionEntity> transformDefinitions(DeploymentEntity deployment, ResourceEntity resource, Properties properties) {
 List<DecisionDefinitionEntity> decisions = new ArrayList<DecisionDefinitionEntity>();
 // get the decisions from the deployed drd instead of parse the DMN again
 DecisionRequirementsDefinitionEntity deployedDrd = findDeployedDrdForResource(deployment, resource.getName());
 if (deployedDrd == null) {
  throw LOG.exceptionNoDrdForResource(resource.getName());
 }
 Collection<DmnDecision> decisionsOfDrd = deployedDrd.getDecisions();
 for (DmnDecision decisionOfDrd : decisionsOfDrd) {
  DecisionDefinitionEntity decisionEntity = (DecisionDefinitionEntity) decisionOfDrd;
  if (DecisionRequirementsDefinitionDeployer.isDecisionRequirementsDefinitionPersistable(deployedDrd)) {
   decisionEntity.setDecisionRequirementsDefinitionId(deployedDrd.getId());
   decisionEntity.setDecisionRequirementsDefinitionKey(deployedDrd.getKey());
  }
  decisions.add(decisionEntity);
 }
 if (!DecisionRequirementsDefinitionDeployer.isDecisionRequirementsDefinitionPersistable(deployedDrd)) {
  deployment.removeArtifact(deployedDrd);
 }
 return decisions;
}
origin: camunda/camunda-bpm-platform

@Override
protected List<DecisionDefinitionEntity> transformDefinitions(DeploymentEntity deployment, ResourceEntity resource, Properties properties) {
 List<DecisionDefinitionEntity> decisions = new ArrayList<DecisionDefinitionEntity>();
 // get the decisions from the deployed drd instead of parse the DMN again
 DecisionRequirementsDefinitionEntity deployedDrd = findDeployedDrdForResource(deployment, resource.getName());
 if (deployedDrd == null) {
  throw LOG.exceptionNoDrdForResource(resource.getName());
 }
 Collection<DmnDecision> decisionsOfDrd = deployedDrd.getDecisions();
 for (DmnDecision decisionOfDrd : decisionsOfDrd) {
  DecisionDefinitionEntity decisionEntity = (DecisionDefinitionEntity) decisionOfDrd;
  if (DecisionRequirementsDefinitionDeployer.isDecisionRequirementsDefinitionPersistable(deployedDrd)) {
   decisionEntity.setDecisionRequirementsDefinitionId(deployedDrd.getId());
   decisionEntity.setDecisionRequirementsDefinitionKey(deployedDrd.getKey());
  }
  decisions.add(decisionEntity);
 }
 if (!DecisionRequirementsDefinitionDeployer.isDecisionRequirementsDefinitionPersistable(deployedDrd)) {
  deployment.removeArtifact(deployedDrd);
 }
 return decisions;
}
origin: org.camunda.bpm/camunda-engine

@Override
protected List<DecisionDefinitionEntity> transformDefinitions(DeploymentEntity deployment, ResourceEntity resource, Properties properties) {
 List<DecisionDefinitionEntity> decisions = new ArrayList<DecisionDefinitionEntity>();
 // get the decisions from the deployed drd instead of parse the DMN again
 DecisionRequirementsDefinitionEntity deployedDrd = findDeployedDrdForResource(deployment, resource.getName());
 if (deployedDrd == null) {
  throw LOG.exceptionNoDrdForResource(resource.getName());
 }
 Collection<DmnDecision> decisionsOfDrd = deployedDrd.getDecisions();
 for (DmnDecision decisionOfDrd : decisionsOfDrd) {
  DecisionDefinitionEntity decisionEntity = (DecisionDefinitionEntity) decisionOfDrd;
  if (DecisionRequirementsDefinitionDeployer.isDecisionRequirementsDefinitionPersistable(deployedDrd)) {
   decisionEntity.setDecisionRequirementsDefinitionId(deployedDrd.getId());
   decisionEntity.setDecisionRequirementsDefinitionKey(deployedDrd.getKey());
  }
  decisions.add(decisionEntity);
 }
 if (!DecisionRequirementsDefinitionDeployer.isDecisionRequirementsDefinitionPersistable(deployedDrd)) {
  deployment.removeArtifact(deployedDrd);
 }
 return decisions;
}
org.camunda.bpm.engine.impl.dmn.entity.repositoryDecisionDefinitionEntitysetDecisionRequirementsDefinitionId

Popular methods of DecisionDefinitionEntity

  • getPreviousDecisionDefinitionId
  • getTenantId
  • <init>
  • ensurePreviousDecisionDefinitionIdInitialized
  • getId
  • getKey
  • loadDecisionDefinition
    Returns the cached version if exists; does not update the entity from the database in that case
  • resetPreviousDecisionDefinitionId
  • setCategory
  • setDecisionRequirementsDefinitionKey
  • setHistoryTimeToLive
  • setVersionTag
  • setHistoryTimeToLive,
  • setVersionTag,
  • getVersion

Popular in Java

  • Making http requests using okhttp
  • setContentView (Activity)
  • getExternalFilesDir (Context)
  • getContentResolver (Context)
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • JButton (javax.swing)
  • 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