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

How to use
setOperationType
method
in
org.camunda.bpm.engine.impl.db.entitymanager.operation.DbEntityOperation

Best Java code snippets using org.camunda.bpm.engine.impl.db.entitymanager.operation.DbEntityOperation.setOperationType (Showing top 5 results out of 315)

origin: camunda/camunda-bpm-platform

protected void performEntityOperation(CachedDbEntity cachedDbEntity, DbOperationType type) {
 DbEntityOperation dbOperation = new DbEntityOperation();
 dbOperation.setEntity(cachedDbEntity.getEntity());
 dbOperation.setFlushRelevantEntityReferences(cachedDbEntity.getFlushRelevantEntityReferences());
 dbOperation.setOperationType(type);
 dbOperationManager.addOperation(dbOperation);
}
origin: camunda/camunda-bpm-platform

protected void performEntityOperation(CachedDbEntity cachedDbEntity, DbOperationType type) {
 DbEntityOperation dbOperation = new DbEntityOperation();
 dbOperation.setEntity(cachedDbEntity.getEntity());
 dbOperation.setFlushRelevantEntityReferences(cachedDbEntity.getFlushRelevantEntityReferences());
 dbOperation.setOperationType(type);
 dbOperationManager.addOperation(dbOperation);
}
origin: camunda/camunda-bpm-platform

public void execute(DelegateExecution execution) throws Exception {
 String existingId = execution.getId();
 // insert an execution referencing the current execution
 ExecutionEntity newExecution = new ExecutionEntity();
 newExecution.setId("someId");
 newExecution.setParentId(existingId);
 DbEntityOperation insertOperation = new DbEntityOperation();
 insertOperation.setOperationType(DbOperationType.INSERT);
 insertOperation.setEntity(newExecution);
 Context.getCommandContext()
  .getDbSqlSession()
  .executeDbOperation(insertOperation);
}
origin: org.camunda.bpm/camunda-engine

protected void performEntityOperation(CachedDbEntity cachedDbEntity, DbOperationType type) {
 DbEntityOperation dbOperation = new DbEntityOperation();
 dbOperation.setEntity(cachedDbEntity.getEntity());
 dbOperation.setFlushRelevantEntityReferences(cachedDbEntity.getFlushRelevantEntityReferences());
 dbOperation.setOperationType(type);
 dbOperationManager.addOperation(dbOperation);
}
origin: org.camunda.bpm/camunda-engine

public void execute(DelegateExecution execution) throws Exception {
 String existingId = execution.getId();
 // insert an execution referencing the current execution
 ExecutionEntity newExecution = new ExecutionEntity();
 newExecution.setId("someId");
 newExecution.setParentId(existingId);
 DbEntityOperation insertOperation = new DbEntityOperation();
 insertOperation.setOperationType(DbOperationType.INSERT);
 insertOperation.setEntity(newExecution);
 Context.getCommandContext()
  .getDbSqlSession()
  .executeDbOperation(insertOperation);
}
org.camunda.bpm.engine.impl.db.entitymanager.operationDbEntityOperationsetOperationType

Popular methods of DbEntityOperation

  • getEntity
  • <init>
  • getEntityType
  • setEntity
  • equals
  • getFlushRelevantEntityReferences
  • getOperationType
  • setFailed
  • setFlushRelevantEntityReferences
  • setRowsAffected

Popular in Java

  • Start an intent from android
  • getSupportFragmentManager (FragmentActivity)
  • onCreateOptionsMenu (Activity)
  • onRequestPermissionsResult (Fragment)
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • JTable (javax.swing)
  • JTextField (javax.swing)
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • 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