Package com.founder.fix.fixflow.core.impl.command

Examples of com.founder.fix.fixflow.core.impl.command.QueryVariablesCommand


    Map<String, Object> map = commandExecutor.execute(new QueryVariablesCmd<Map<String, Object>>(queryVariablesCommand));
    return map.get(variableName);
  }

  public Map<String, Object> getTokenVariables(String tokenId) {
    QueryVariablesCommand queryVariablesCommand = new QueryVariablesCommand();
    queryVariablesCommand.setTokenId(tokenId);
    Map<String, Object> map = commandExecutor.execute(new QueryVariablesCmd<Map<String, Object>>(queryVariablesCommand));
    return map;
  }
View Full Code Here


    Map<String, Object> map = commandExecutor.execute(new QueryVariablesCmd<Map<String, Object>>(queryVariablesCommand));
    return map;
  }

  public Map<String, Object> getTokenVariables(String tokenId, List<String> variableNames) {
    QueryVariablesCommand queryVariablesCommand = new QueryVariablesCommand();
    queryVariablesCommand.setTokenId(tokenId);
    queryVariablesCommand.setVariableNames(variableNames);
    Map<String, Object> map = commandExecutor.execute(new QueryVariablesCmd<Map<String, Object>>(queryVariablesCommand));
    return map;
  }
View Full Code Here

      String processInstanceId = this.dataVariableMgmtInstance.getProcessInstance().getId();
      List<String> variableNames = new ArrayList<String>();
      String variableName = this.dataVariableBehavior.getId();
      variableNames.add(variableName);
     
      QueryVariablesCommand queryVariablesCommand=new QueryVariablesCommand();
      queryVariablesCommand.setVariableNames(variableNames);
      queryVariablesCommand.setProcessInstanceId(processInstanceId);

   

      Map<String, Object> returnMap = Context.getCommandContext().getVariableManager().queryVariable(queryVariablesCommand);
      if (returnMap != null && returnMap.containsKey(variableName)) {
View Full Code Here

    saveVariablesCommand.setVariables(variables);
    commandExecutor.execute(new SaveVariablesCmd(saveVariablesCommand));
  }

  public Object getVariable(String taskId, String variableName) {
    QueryVariablesCommand queryVariablesCommand = new QueryVariablesCommand();
    queryVariablesCommand.setTaskInstanceId(taskId);
    List<String> variableNames = new ArrayList<String>();
    variableNames.add(variableName);
    queryVariablesCommand.setVariableNames(variableNames);
    Map<String, Object> map = commandExecutor.execute(new QueryVariablesCmd<Map<String, Object>>(queryVariablesCommand));
    return map.get(variableName);
  }
View Full Code Here

    Map<String, Object> map = commandExecutor.execute(new QueryVariablesCmd<Map<String, Object>>(queryVariablesCommand));
    return map.get(variableName);
  }

  public Map<String, Object> getVariables(String taskId) {
    QueryVariablesCommand queryVariablesCommand = new QueryVariablesCommand();
    queryVariablesCommand.setTaskInstanceId(taskId);
    Map<String, Object> map = commandExecutor.execute(new QueryVariablesCmd<Map<String, Object>>(queryVariablesCommand));
    return map;
  }
View Full Code Here

    Map<String, Object> map = commandExecutor.execute(new QueryVariablesCmd<Map<String, Object>>(queryVariablesCommand));
    return map;
  }

  public Map<String, Object> getVariables(String taskId, List<String> variableNames) {
    QueryVariablesCommand queryVariablesCommand = new QueryVariablesCommand();
    queryVariablesCommand.setTaskInstanceId(taskId);
    queryVariablesCommand.setVariableNames(variableNames);
    Map<String, Object> map = commandExecutor.execute(new QueryVariablesCmd<Map<String, Object>>(queryVariablesCommand));
    return map;
  }
View Full Code Here

    ProcessEngine processEngine = ProcessEngineManagement.getDefaultProcessEngine();
    processEngine.getRuntimeService().tokenSignal(this.getParentProcessInstanceTokenId(), null, dataVarMap);
  }

  public Map<String, Object> getDataVariable() {
    QueryVariablesCommand queryVariablesCommand = new QueryVariablesCommand();
    queryVariablesCommand.setProcessInstanceId(this.getId());
    return Context.getCommandContext().getVariableManager().queryVariable(queryVariablesCommand);
  }
View Full Code Here

TOP

Related Classes of com.founder.fix.fixflow.core.impl.command.QueryVariablesCommand

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.