Examples of withCaseExecution()


Examples of org.camunda.bpm.engine.CaseService.withCaseExecution()

    return caseService.getVariablesTyped(resourceId, deserializeValues);
  }

  protected void updateVariableEntities(VariableMap variables, List<String> deletions) {
    CaseService caseService = engine.getCaseService();
    caseService
      .withCaseExecution(resourceId)
      .setVariables(variables)
      .removeVariables(deletions)
      .execute();
  }
View Full Code Here

Examples of org.camunda.bpm.engine.CaseService.withCaseExecution()

      .execute();
  }

  protected void removeVariableEntity(String variableKey) {
    CaseService caseService = engine.getCaseService();
    caseService
      .withCaseExecution(resourceId)
      .removeVariable(variableKey)
      .execute();
  }
View Full Code Here

Examples of org.camunda.bpm.engine.CaseService.withCaseExecution()

    return caseService.getVariableTyped(resourceId, variableKey, deserializeValue);
  }

  protected void setVariableEntity(String variableKey, TypedValue variableValue) {
    CaseService caseService = engine.getCaseService();
    caseService
      .withCaseExecution(resourceId)
      .setVariable(variableKey, variableValue)
      .execute();
  }
View Full Code Here

Examples of org.camunda.bpm.engine.CaseService.withCaseExecution()

  }

  public void complete(CaseExecutionTriggerDto triggerDto) {
    try {
      CaseService caseService = engine.getCaseService();
      CaseExecutionCommandBuilder commandBuilder = caseService.withCaseExecution(caseInstanceId);

      initializeCommand(commandBuilder, triggerDto, "complete");

      commandBuilder.complete();
View Full Code Here

Examples of org.camunda.bpm.engine.CaseService.withCaseExecution()

  }

  public void close(CaseExecutionTriggerDto triggerDto) {
    try {
      CaseService caseService = engine.getCaseService();
      CaseExecutionCommandBuilder commandBuilder = caseService.withCaseExecution(caseInstanceId);

      initializeCommand(commandBuilder, triggerDto, "close");

      commandBuilder.close();
View Full Code Here

Examples of org.camunda.bpm.engine.CaseService.withCaseExecution()

    return caseService.getVariablesLocalTyped(resourceId, deserializeValues);
  }

  protected void updateVariableEntities(VariableMap variables, List<String> deletions) {
    CaseService caseService = engine.getCaseService();
    caseService
      .withCaseExecution(resourceId)
      .setVariablesLocal(variables)
      .removeVariablesLocal(deletions)
      .execute();
  }
View Full Code Here

Examples of org.camunda.bpm.engine.CaseService.withCaseExecution()

    return caseService.getVariableLocalTyped(resourceId, variableKey, deserializeValue);
  }

  protected void setVariableEntity(String variableKey, TypedValue variableValue) {
    CaseService caseService = engine.getCaseService();
    caseService.withCaseExecution(resourceId)
      .setVariableLocal(variableKey, variableValue)
      .execute();
  }

  protected void removeVariableEntity(String variableKey) {
View Full Code Here

Examples of org.camunda.bpm.engine.CaseService.withCaseExecution()

      .execute();
  }

  protected void removeVariableEntity(String variableKey) {
    CaseService caseService = engine.getCaseService();
    caseService
      .withCaseExecution(resourceId)
      .removeVariableLocal(variableKey)
      .execute();
  }
View Full Code Here

Examples of org.camunda.bpm.engine.CaseService.withCaseExecution()

  }

  public void manualStart(CaseExecutionTriggerDto triggerDto) {
    try {
      CaseService caseService = engine.getCaseService();
      CaseExecutionCommandBuilder commandBuilder = caseService.withCaseExecution(caseExecutionId);

      initializeCommand(commandBuilder, triggerDto, "start manually");

      commandBuilder.manualStart();
View Full Code Here

Examples of org.camunda.bpm.engine.CaseService.withCaseExecution()

  }

  public void disable(CaseExecutionTriggerDto triggerDto) {
    try {
      CaseService caseService = engine.getCaseService();
      CaseExecutionCommandBuilder commandBuilder = caseService.withCaseExecution(caseExecutionId);

      initializeCommand(commandBuilder, triggerDto, "disable");

      commandBuilder.disable();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.