Package com.exedosoft.plat

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


    } catch (Exception e) {
      t.rollback();
      e.printStackTrace();
    } finally {
      t.end();
    }

    this.setEchoValue(I18n.instance().get("导入成功!"));

    return DEFAULT_FORWARD;
View Full Code Here


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

  private static  void deleteRubbish(BOInstance instance,String serviceName) throws ExedoException {
    DOService deletes = DOService.getService(serviceName);
    deletes.invokeUpdate(instance.getUid());
View Full Code Here

          BOInstance biBO = (BOInstance) itBO.next();
          aBO.refreshContext(biBO.getUid());
          export.exportBO(sb, biBO);
        }
      }
      t.end();
    } catch (Exception e) {
      t.rollback();
      e.printStackTrace();
    }
View Full Code Here

        }

      }

      t.end();
    } catch (Exception e) {
      t.rollback();
      e.printStackTrace();
    }
    setEchoValue(I18n.instance().get("复制成功,请点击左侧树节点进行操作!"));
View Full Code Here

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

      t.rollback();
      // TODO Auto-generated catch block
      e.printStackTrace();
    } finally {
      t.end();
    }
    this.setEchoValue(I18n.instance().get("安装成功"));

    return DEFAULT_FORWARD;
View Full Code Here

      paras.putValue("name", "Rule_" + biService.getValue("name"));
      paras.putValue("l10n", "Rule_" + biService.getValue("l10n"));
      paras.putValue("salience", "5");
      paras.putValue("bouid", biService.getValue("bouid"));
      this.service.invokeUpdate(paras);
      t.end();
    } catch (Exception e) {
      t.rollback();
      e.printStackTrace();
    }
    this.setEchoValue(I18n.instance().get("成功生成规则!"));
View Full Code Here

        DOServiceRule dsr = it.next();
        BOInstance bi = boServiceRule.getInstance(dsr.getObjUid());
        bi.setUid(null);
        boServiceRule.getDInsertService().invokeUpdate(bi);
      }
      t.end();
      return biNewService;
    } catch (Exception e) {
      t.rollback();
      e.printStackTrace();
      return null;
View Full Code Here

      } catch (Exception e) {
        e.printStackTrace();
      }
      this.setEchoValue(I18n.instance().get("翻译完成!"));

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

    } catch (Exception e) {
      t.rollback();
      e.printStackTrace();
    } finally {
      t.end();
    }
  }

//  private void geneForms(HbmDAO dao) {
//
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.