Examples of findExecutionById()


Examples of org.jbpm.pvm.internal.session.DbSession.findExecutionById()

    this.executionId = executionId;
  }

  public Execution execute(Environment environment) throws Exception {
    DbSession dbSession = environment.get(DbSession.class);
    return dbSession.findExecutionById(executionId);
  }
 
}
View Full Code Here

Examples of org.jbpm.pvm.internal.session.DbSession.findExecutionById()

  public Map<String, Object> execute(Environment environment) throws Exception {
    Map<String, Object> variables = new HashMap<String, Object>();

    DbSession dbSession = environment.get(DbSession.class);
    ClientExecution execution = dbSession.findExecutionById(executionId);
    for (String variableName : variableNames) {
      Object value = execution.getVariable(variableName);
      variables.put(variableName, value);
    }
View Full Code Here

Examples of org.jbpm.pvm.internal.session.DbSession.findExecutionById()

    this.executionId = executionId;
  }

  public Set<String> execute(Environment environment) throws Exception {
    DbSession dbSession = environment.get(DbSession.class);
    ClientExecution execution = dbSession.findExecutionById(executionId);
    return execution.getVariableKeys();
  }

}
View Full Code Here

Examples of org.jbpm.pvm.internal.session.DbSession.findExecutionById()

  public Map<String, Object> execute(Environment environment) throws Exception {
    Map<String, Object> variables = new HashMap<String, Object>();

    DbSession dbSession = environment.get(DbSession.class);
    ClientExecution execution = dbSession.findExecutionById(executionId);
    if (execution==null) {
      throw new JbpmException("execution "+executionId+" doesn't exist");
    }
    for (String variableName : variableNames) {
      Object value = execution.getVariable(variableName);
View Full Code Here

Examples of org.jbpm.pvm.internal.session.DbSession.findExecutionById()

    this.executionId = executionId;
  }

  public Set<String> execute(Environment environment) throws Exception {
    DbSession dbSession = environment.get(DbSession.class);
    ClientExecution execution = dbSession.findExecutionById(executionId);
    return execution.getVariableKeys();
  }

}
View Full Code Here

Examples of org.jbpm.pvm.internal.session.DbSession.findExecutionById()

    this.executionId = executionId;
  }

  public Execution execute(Environment environment) throws Exception {
    DbSession dbSession = environment.get(DbSession.class);
    return dbSession.findExecutionById(executionId);
  }
 
}
View Full Code Here

Examples of org.jbpm.pvm.internal.session.DbSession.findExecutionById()

    this.variables = variables;
  }

  protected ClientExecution getExecution(Environment environment, String executionId) {
    DbSession dbSession = environment.get(DbSession.class);
    ClientExecution execution = dbSession.findExecutionById(executionId);
    if (execution == null) {
      throw new JbpmException("execution " + executionId + " doesn't exist");
    }
    return execution;
  }
View Full Code Here

Examples of org.jbpm.pvm.internal.session.DbSession.findExecutionById()

  public ProcessInstance execute(Environment environment) throws Exception {
    ClientExecution execution = null;
   
    DbSession dbSession = environment.get(DbSession.class);
    execution = dbSession.findExecutionById(executionId);
    if (execution==null) {
      throw new JbpmException("execution "+executionId+" does not exist");
    }
   
    execution.signal(signalName, parameters);
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.