Package com.exedosoft.plat

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


    Transaction t = new Transaction(wfBO.getDataBase());

    ProcessInstance pi = new ProcessInstance();
    NodeInstance niStart = null; // ///开始节点
    t.begin();
    try {
     
        if(pt.getPtName()==null){
          pt = ProcessTemplate.getPTByID(pt.getObjUid());
        }
View Full Code Here


    DODataSource dds = DODataSource.parseGlobals();

    Transaction t = dds.getTransaction();

    t.begin();

    DOService aService = DOService.getService("DO_UI_PaneLinks_copy");
    try {
      // //////////保存业务包
      DAOUtil.INSTANCE().currentDataSource(dds);
View Full Code Here

        .valueOf(ProcessInstance.STATUS_FINISH));

    DOBO auth = DOBO.getDOBOByName("do_authorization");
    DODataSource dss = auth.getDataBase();
    Transaction ts = dss.getTransaction();
    ts.begin();

    try {
      DAOUtil.BUSI().store(processInstance);

      // /数据表转移到历史表中
View Full Code Here

    }
   
    //////property  ---- linkBO
    ///从property往下追
    Transaction t = DODataSource.parseGlobals().getTransaction();
    t.begin();
    List<DOBOProperty> lists = DAOUtil.INSTANCE().select(DOBOProperty.class, "select * from DO_BO_Property  where col_name = ?", propertyName);
   
    ////可以根据外键关系创建主子表的关联关系
    try {
      for(Iterator<DOBOProperty> it = lists.iterator(); it.hasNext();){
View Full Code Here

      if (DOPaneModel.getPaneModelByName(mainPaneName) != null) {
        System.err.println("面板已经存在------------");
        return;
      }
      t.begin();

      /**
       * 生成总面板
       */
      DOPaneModel pmTotal = new DOPaneModel();
View Full Code Here

   
    DODataSource dds = DODataSource.parseGlobals();
   
    Transaction t = dds.getTransaction();
   
    t.begin();
   
    try {
      // //////////保存业务包
      DAOUtil.INSTANCE().store(bp);
View Full Code Here

   
 

    // ///////////////////second generator grid and panes
    try {
      t.begin();
      List sers = DAOUtil.INSTANCE().select(DOService.class, SQL_SELECT_SERVICE,this.geneATable);

      /**
       * 根据Service生成ui组件。
       */
 
View Full Code Here

    if (service.getProcessTemplate() == null) {
      this.setEchoValue(I18n.instance().get("服务未定义工作流模板"));
      return NO_FORWARD;
    }
    Transaction t = new Transaction(service.getBo().getDataBase());
    t.begin();
    try {
      service.invokeUpdate();

      WFEngine wfi = WFEngineFactory.getWFEngine();
      ProcessTemplate pt = this.service.getProcessTemplate();
View Full Code Here

    DOBO bo = DOBO.getDOBOByName("do_pt_processtemplate");
    BOInstance curPt = bo.getCorrInstance();
   
    Transaction t = bo.getDataBase().getTransaction();
    t.begin();


    try {
     
      // /删除选中模板的节点
View Full Code Here

      dss = selected.getDataBase();
    }
   
   
    Transaction t = dss.getTransaction();
    t.begin();

    // /先确定删除的
    List list = selected.retrieveProperties();
    List propCols = new ArrayList();
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.