Examples of execute()


Examples of com.founder.fix.fixflow.core.impl.connector.ConnectorInstanceBehavior.execute()

          break;
        }
      }
      if(connectorDefinition!=null){
        //connectorDefinition.setSkipExpression(null);
        connectorDefinition.execute(executionContext);
      }
     
      try {
        commandContext.getProcessInstanceManager().saveProcessInstance(processInstance);
      } catch (Exception e) {
View Full Code Here

Examples of com.founder.fix.fixflow.core.impl.db.SqlCommand.execute()

  public void execute(ExecutionContext executionContext) throws Exception {
   

    if(sqlText!=null){
      SqlCommand sqlCommand=new SqlCommand(Context.getDbConnection());
      sqlCommand.execute(sqlText.toString());
    }
    else {
      throw new FixFlowException("执行数据库语句不正确!");
    }
   
View Full Code Here

Examples of com.founder.fix.fixflow.core.impl.interceptor.CommandExecutor.execute()

    Object cacheData = cacheHandler.getCacheData("GetStartProcessByUserId_" + this.userId);
   
    if(cacheData==null){
      CommandExecutor commandExecutor=Context.getProcessEngineConfiguration().getCommandExecutor();
     
      List<Map<String, Object>> processDefData=commandExecutor.execute(new GetProcessDefinitionGroupKeyCmd());
     
      List<Map<String,String>> processData=new ArrayList<Map<String,String>>();
     
      for (Map<String, Object> map : processDefData) {
        String processKey=StringUtil.getString(map.get("PROCESS_KEY"));
View Full Code Here

Examples of com.founder.fix.fixflow.core.scriptlanguage.BusinessRulesScript.execute()

            SelectRulesScript selectRulesScript = (SelectRulesScript) classObjInstance;
            returnObjList = (Object) selectRulesScript.execute(parameter, sqlCommand, processEngineConfiguration);
          }
          if (classObjInstance instanceof BusinessRulesScript) {
            BusinessRulesScript businessRulesScript = (BusinessRulesScript) classObjInstance;
            returnObjList = (Object) businessRulesScript.execute(parameter, sqlCommand, processEngineConfiguration);
          }
        } catch (Exception e) {
          e.printStackTrace();
          throw new FixFlowException("执行Rule异常: " + e.getMessage(), e);
        }
View Full Code Here

Examples of com.founder.fix.fixflow.core.scriptlanguage.DeleteRulesScript.execute()

      Class<?> classObj = processEngineConfiguration.getRuleClass(rule.getId());
      if (classObj != null) {
        try {

          DeleteRulesScript deleteRulesScript = (DeleteRulesScript) classObj.newInstance();
          deleteRulesScript.execute(parameter, sqlCommand, processEngineConfiguration);

        } catch (Exception e) {

          LOG.error("规则: " + statement + " 执行出错,规则执行类为: " + classPath + ",错误信息: " + e.getMessage(), e);
View Full Code Here

Examples of com.founder.fix.fixflow.core.scriptlanguage.InsertRulesScript.execute()

      Class<?> classObj = processEngineConfiguration.getRuleClass(rule.getId());
      if (classObj != null) {
        try {
          InsertRulesScript insertRulesScript = (InsertRulesScript) classObj.newInstance();
          insertRulesScript.execute(persistentObject, sqlCommand, processEngineConfiguration);
        } catch (Exception e) {

          LOG.error("规则: " + statement + " 执行出错,规则执行类为: " + classPath + ",错误信息: " + e.getMessage(), e);

          throw new FixFlowException(ExceptionCode.RULEEXCEPTION_CLASSEXEC, e, statement, classPath, e.getMessage());
View Full Code Here

Examples of com.founder.fix.fixflow.core.scriptlanguage.SelectRulesScript.execute()

    if (StringUtil.isNotEmpty(classPath)) {
      Class<?> classObj = processEngineConfiguration.getRuleClass(rule.getId());
      if (classObj != null) {
        try {
          SelectRulesScript selectRulesScript = (SelectRulesScript) classObj.newInstance();
          returnObjList = (List) selectRulesScript.execute(parameter, sqlCommand, processEngineConfiguration);

        } catch (Exception e) {
          LOG.error("规则: " + statement + " 执行出错,规则执行类为: " + classPath + ",错误信息: " + e.getMessage(), e);

          throw new FixFlowException(ExceptionCode.RULEEXCEPTION_CLASSEXEC, e, statement, classPath, e.getMessage());
View Full Code Here

Examples of com.founder.fix.fixflow.core.scriptlanguage.UpdateRulesScript.execute()

    if (StringUtil.isNotEmpty(classPath)) {
      Class<?> classObj = processEngineConfiguration.getRuleClass(rule.getId());
      if (classObj != null) {
        try {
          UpdateRulesScript updateRulesScript = (UpdateRulesScript) classObj.newInstance();
          updateRulesScript.execute(persistentObject, sqlCommand, processEngineConfiguration);
        } catch (Exception e) {

          LOG.error("规则: " + statement + " 执行出错,规则执行类为: " + classPath + ",错误信息: " + e.getMessage(), e);

          throw new FixFlowException(ExceptionCode.RULEEXCEPTION_CLASSEXEC, e, statement, classPath, e.getMessage());
View Full Code Here

Examples of com.fray.evo.action.EcAction.execute()

      }
     
      if (!(a instanceof EcActionWait))
        log.printAction(s, a);

      a.execute(s, log);
    }
    log.printFailure(GameLog.FailReason.OutOfActions, s, null);
    return s;
  }
 
View Full Code Here

Examples of com.fray.evo.util.EcAutoUpdate.execute()

              updateProgress.setValue((Integer) evt.getNewValue());
            }
          }
        });
        ecUpdater.setUpdating(true);
        ecUpdater.execute();
      }
    }
    return ecUpdater;
  }
}
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.