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

Examples of com.founder.fix.fixflow.core.impl.interceptor.CommandExecutor


    CacheHandler cacheHandler=Context.getProcessEngineConfiguration().getCacheHandler();
   
    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"));
        boolean state=commandExecutor.execute(new VerificationStartUserCmd(this.userId,processKey,null));
        if(state){
          Map<String, String> dataMap=new HashMap<String, String>();
         
         
View Full Code Here


   
    List<Map<String, Object>> processDefData=commandContext.getProcessDefinitionManager().findUserSubmitProcess(this.userId,this.number);
    //CommandExecutor commandExecutor=Context.getProcessEngineConfiguration().getCommandExecutor();
   
    ProcessDefinitionManager processDefinitionManager =commandContext.getProcessDefinitionManager();
    CommandExecutor commandExecutor=Context.getProcessEngineConfiguration().getCommandExecutor();
    List<Map<String,String>> processData=new ArrayList<Map<String,String>>();
   
    for (Map<String, Object> map : processDefData) {
      String processKey=StringUtil.getString(map.get("PROCESS_KEY"));
      boolean state=commandExecutor.execute(new VerificationStartUserCmd(this.userId,processKey,null));
      if(state){
        Map<String, String> dataMap=new HashMap<String, String>();
       
   
View Full Code Here

      executionContext.setRollBackAssignee(rollBackAssignee);
      getToken().signal(executionContext);

    } else {
      // 非主令牌分支令牌的处理
      CommandExecutor commandExecutor = Context.getProcessEngineConfiguration().getCommandExecutor();
      TaskQuery taskQuery = new TaskQueryImpl(commandExecutor);
      Long taskNum = taskQuery.tokenId(getToken().getId()).nodeId(flowNode.getId()).count();
      if (taskNum != 0) {
        // 分支令牌经过这个节点则允许正常退回
        customEnd(taskCommandInst, taskComment);
View Full Code Here

TOP

Related Classes of com.founder.fix.fixflow.core.impl.interceptor.CommandExecutor

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.