Tabnine Logo
DbEntityOperation.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.camunda.bpm.engine.impl.db.entitymanager.operation.DbEntityOperation
constructor

Best Java code snippets using org.camunda.bpm.engine.impl.db.entitymanager.operation.DbEntityOperation.<init> (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.operationDbEntityOperation<init>

Popular methods of DbEntityOperation

  • getEntity
  • getEntityType
  • setEntity
  • setOperationType
  • equals
  • getFlushRelevantEntityReferences
  • getOperationType
  • setFailed
  • setFlushRelevantEntityReferences
  • setRowsAffected

Popular in Java

  • Running tasks concurrently on multiple threads
  • getResourceAsStream (ClassLoader)
  • setRequestProperty (URLConnection)
  • scheduleAtFixedRate (Timer)
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Top plugins for Android Studio
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