Package org.jbpm.pvm.internal.cmd

Examples of org.jbpm.pvm.internal.cmd.CompleteTaskCmd


  public void completeTask(String taskId) {
    completeTask(taskId, null);
  }

  public void completeTask(String taskId, String outcome) {
    commandService.execute(new CompleteTaskCmd(taskId, outcome));
  }
View Full Code Here


  public void deleteTaskCascade(String taskId) {
    commandService.execute(new DeleteTaskCmd(taskId, true));
  }

  public void completeTask(String taskId) {
    commandService.execute(new CompleteTaskCmd(taskId));
  }
View Full Code Here

  public void completeTask(String taskId, Map<String, Object> variables) {
    completeTask(taskId, null, variables);
  }

  public void completeTask(String taskId, String outcome) {
    commandService.execute(new CompleteTaskCmd(taskId, outcome));
  }
View Full Code Here

  public void completeTask(String taskId, String outcome, Map<String, Object> variables) {
    SetTaskVariablesCmd setTaskVariablesCmd = new SetTaskVariablesCmd(taskId);
    setTaskVariablesCmd.setVariables(variables);
    CompositeCmd compositeCmd = new CompositeCmd();
    compositeCmd.addCommand(setTaskVariablesCmd);
    compositeCmd.addCommand(new CompleteTaskCmd(taskId, outcome));
    commandService.execute(compositeCmd);
  }
View Full Code Here

TOP

Related Classes of org.jbpm.pvm.internal.cmd.CompleteTaskCmd

Copyright © 2018 www.massapicom. 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.