Examples of saveProcessInstance()


Examples of com.founder.fix.fixflow.core.impl.persistence.ProcessInstanceManager.saveProcessInstance()

    //恢复流程实例
    processInstanceImpl.resume();
 
    try {
      // 持久化实例
      processInstanceManager.saveProcessInstance(processInstanceImpl);
    } catch (Exception e) {
      throw new FixFlowException("流程实例持久化失败!", e);
    }
    return null;
  }
View Full Code Here

Examples of com.founder.fix.fixflow.core.impl.persistence.ProcessInstanceManager.saveProcessInstance()

    // 结束流程实例
    processInstanceImpl.termination();
 
    try {
      // 持久化实例
      processInstanceManager.saveProcessInstance(processInstanceImpl);
    } catch (Exception e) {
      throw new FixFlowException("流程实例持久化失败!", e);
    }
    return null;
View Full Code Here

Examples of com.founder.fix.fixflow.core.impl.persistence.ProcessInstanceManager.saveProcessInstance()

    }
   
    tokenEntity.signal();

    try {
      processInstanceManager.saveProcessInstance(processInstanceImpl);
    } catch (Exception e) {
      throw new FixFlowException("流程实例持久化失败!", e);
    }
    return null;
   
View Full Code Here

Examples of com.founder.fix.fixflow.core.impl.persistence.ProcessInstanceManager.saveProcessInstance()

           
        }
      }

      try {
        processInstanceManager.saveProcessInstance(processInstanceImpl);
      } catch (Exception e) {
        throw new FixFlowException("流程实例持久化失败!", e);
      }
      return null;
View Full Code Here

Examples of com.founder.fix.fixflow.core.impl.persistence.ProcessInstanceManager.saveProcessInstance()

    //暂停流程实例
    processInstanceImpl.suspend();
 
    try {
      // 持久化实例
      processInstanceManager.saveProcessInstance(processInstanceImpl);
    } catch (Exception e) {
      throw new FixFlowException("流程实例持久化失败!", e);
    }
    return null;
  }
View Full Code Here

Examples of com.founder.fix.fixflow.core.impl.persistence.ProcessInstanceManager.saveProcessInstance()

       
      }
    }
   
    try {
      processInstanceManager.saveProcessInstance(processInstanceImpl);
    } catch (Exception e) {
      throw new FixFlowException("流程实例持久化失败!", e);
    }
    return null;
  }
View Full Code Here

Examples of com.founder.fix.fixflow.core.impl.persistence.ProcessInstanceManager.saveProcessInstance()

      subProcessInstance.noneStart();

      ProcessInstanceManager processInstanceManager = Context.getCommandContext().getProcessInstanceManager();

      processInstanceManager.saveProcessInstance(subProcessInstance);

    } catch (Exception e) {

      throw new FixFlowException("子流程 " + this.getName() + " 启动异常!", e);
View Full Code Here

Examples of org.jbpm.db.GraphSession.saveProcessInstance()

    //     Create an instance of the Process Def with Task
    ProcessInstance processInstance = new ProcessInstance(pd2);
    TaskInstance jbpmTaskInstance = processInstance.getTaskMgmtInstance().createStartTaskInstance();

    //     Persist these changes
    graphSession.saveProcessInstance(processInstance);

    //     Be polite, like the template is.
    JbpmSessionFactoryUtils.releaseSession(jbpmSession, this.jbpmSessionFactory);

  }
View Full Code Here

Examples of pl.net.bluesoft.rnd.processtool.dao.ProcessInstanceDAO.saveProcessInstance()

    ProcessToolContext ctx = ProcessToolContext.Util.getThreadProcessToolContext();
    ProcessInstanceDAO dao = ctx.getProcessInstanceDAO();
    ProcessInstance pi = dao.getProcessInstance(Long.parseLong(processInstanceId));
    if (pi.getInternalId() == null) {
        pi.setInternalId(context.getScopeInstance().getExecution().getProcessInstance().getId());
        dao.saveProcessInstance(pi);
    }

    final ProcessToolProcessStep stepInstance = ctx.getRegistry().getStep(stepName);
    if (stepInstance == null) {
        throw new IllegalArgumentException("No step defined by name: " + stepName);
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.