Package com.exedosoft.plat

Examples of com.exedosoft.plat.Transaction.rollback()


      pi.setExeStatus(Integer.valueOf(ProcessInstance.STATUS_INIT));
      pi.setPtUid(pt.getObjUid());
      String ptName = pt.getPtName();
      BOInstance bi = pt.getDoBO().getCorrInstance();
      if (bi == null) {
        t.rollback();
        throw new WFException("启动工作流失败:没有与业务表关联!");
      }
      pi.setInstanceUid(bi.getUid());
      if (bi.getName() != null && !bi.getName().equals("N/A")) {
        ptName = bi.getName();
View Full Code Here


      // ////////////把控制权交给 Start NodeInstance.
      niStart.setExeStatus(Integer.valueOf(NodeInstance.STATUS_INIT));

      // niStart.perform();
    } catch (Exception ex) {
      t.rollback();
      throw new WFException("启动工作流失败", ex);
    } finally {
      t.end();
    }
View Full Code Here

////最后copy
      this.copyDir(project);

    } catch (Exception e) {

      t.rollback();
      e.printStackTrace();
    } finally {
      t.end();
    }
 
View Full Code Here

      DOService deleteNIRels = DOService
          .getService("do_wfi_ni_dependency_deleterubbish");
      deleteNIRels.invokeUpdate();

    } catch (Exception ex1) {
      ts.rollback();
      ex1.printStackTrace();
      throw new WFException("流程结束,保存结束状态出错::" + ex1.toString(), ex1);
    }
    ts.end();
View Full Code Here

        }
      }
    } catch (Exception e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
      t.rollback();
    }
   
    t.end();
   
   
View Full Code Here

      t.end();
      // conditionGrid.setService(sService)

    } catch (Exception e) {
      t.rollback();
      // TODO Auto-generated catch block
      e.printStackTrace();
    }

  }
View Full Code Here

     
    

    } catch (Exception e) {
     
      t.rollback();
      e.printStackTrace();
    }
    finally {
      t.end();
    }
View Full Code Here

      }



    } catch (Exception e) {
      t.rollback();
      e.printStackTrace();
    } finally {
      t.end();
    }
  }
View Full Code Here

//      this.service.getProcessTemplate().getDoBO().refreshContext(arg0)
      wfi.startProcess(pt);
    } catch (Exception e) {
      e.printStackTrace();
      this.setEchoValue(e.getLocalizedMessage());
      t.rollback();
      return NO_FORWARD;
    } finally {
      t.end();
    }
    return DEFAULT_FORWARD;
View Full Code Here

      }

    } catch (Exception e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
      t.rollback();
    }
    t.end();

    // TODO Auto-generated method stub
    return DEFAULT_FORWARD;
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.