Package org.uengine.processmanager

Examples of org.uengine.processmanager.ProcessManagerRemote.applyChanges()


    try {
      pm = pmfb.getProcessManager();
     
      ProcessManagerService pms = new ProcessManagerService(pm, null);
      pms.processStop(psMsg);
      pm.applyChanges();
     
      status = "S";
     
    } catch (Exception e) {
      e.printStackTrace();
View Full Code Here


    try {
      pm = pmfb.getProcessManager();
     
      ProcessManagerService pms = new ProcessManagerService(pm, null);
      pms.activityComplete(acMsg);
      pm.applyChanges();
     
      if (StringUtils.hasText(acMsg.getInstanceId()) && StringUtils.hasText(acMsg.getEndpoint())) {
        taskInfoList = pms.getTaskInfo(acMsg.getInstanceId(), acMsg.getEndpoint());
      }
     
View Full Code Here

    try {
      pm = pmfb.getProcessManager();
     
      ProcessManagerService pms = new ProcessManagerService(pm, null);
      pms.delegateWorkItem(dwMsg);
      pm.applyChanges();
     
      status = "S";
     
    } catch (Exception e) {
      e.printStackTrace();
View Full Code Here

    try {
      pm = pmfb.getProcessManager();
     
      ProcessManagerService pms = new ProcessManagerService(pm, null);
      pms.approvalLineChange(alcMsg);
      pm.applyChanges();
     
      status = "S";
     
    } catch (Exception e) {
      e.printStackTrace();
View Full Code Here

       
        pms.delegateWorkItem(dwMsg);
       
      }
     
      pm.applyChanges();
     
     
      if (!StdMsgContext.CMD_TASK_INFO.equalsIgnoreCase(cmdBpm) && StringUtils.hasText(returnInstanceId) && StringUtils.hasText(returnEndpoint)) {
        taskInfoList = pms.getTaskInfo(returnInstanceId, returnEndpoint);
      }
View Full Code Here

    try {
      pm = pmfb.getProcessManager();
     
      ProcessManagerService pms = new ProcessManagerService(pm, null);
      pms.workItemAccept(wiaMsg);
      pm.applyChanges();
     
      status = "S";
     
    } catch (Exception e) {
      e.printStackTrace();
View Full Code Here

    try {
      pm = pmfb.getProcessManager();
     
      ProcessManagerService pms = new ProcessManagerService(pm, null);
      pms.initializeProcessInstance(ipiMsg);
      pm.applyChanges();
     
      status = "S";
     
    } catch (Exception e) {
      e.printStackTrace();
View Full Code Here

    try {
      pm = pmfb.getProcessManager();
     
      ProcessManagerService pms = new ProcessManagerService(pm, null);
      String newInstanceId = pms.processStart(psMsg);
      pm.applyChanges();
     
      if (StringUtils.hasText(newInstanceId) && StringUtils.hasText(psMsg.getInitiator())) {
        taskInfoList = pms.getTaskInfo(newInstanceId, psMsg.getInitiator());
      }
     
View Full Code Here

    try {
      pm = pmfb.getProcessManagerForReadOnly();
     
      ProcessManagerService pms = new ProcessManagerService(pm, null);
      taskInfoList = pms.getTaskInfo(taskInfoMsg);
      pm.applyChanges();
     
      status = "S";
     
    } catch (Exception e) {
      e.printStackTrace();
View Full Code Here

    try {
      pm = pmfb.getProcessManager();
     
      ProcessManagerService pms = new ProcessManagerService(pm, null);
      pms.approvalActivityComplete(aacMsg);
      pm.applyChanges();
     
      if (StringUtils.hasText(aacMsg.getInstanceId()) && StringUtils.hasText(aacMsg.getEndpoint())) {
        taskInfoList = pms.getTaskInfo(aacMsg.getInstanceId(), aacMsg.getEndpoint());
      }
     
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.