Package com.exedosoft.plat.bo

Examples of com.exedosoft.plat.bo.DOBO


    buffer.append(this.appendValidateConfig(property));

    if (property.getValue() != null
        && !property.getValue().trim().equals("")) {

      DOBO doBO = null;

      if (property.getLinkBO() != null) {
        doBO = property.getLinkBO();
      } else if (property.getLinkService() != null) {
        doBO = property.getLinkService().getBo();
View Full Code Here


    StringBuffer sqlUpdate = new StringBuffer(
        "update DO_Code_MaxSequence SET max_sequence=max_sequence+1")
        .append(" WHERE upper(code_ItemUid)=?");
    Connection con = null;
    PreparedStatement stmt = null;
    DOBO bo = DOBO.getDOBOByName("do_authorization");
    DODataSource dss = bo.getDataBase();

    try {
      // query
      con = dss.getContextConnection();
      stmt = con.prepareStatement(sql, ResultSet.TYPE_SCROLL_INSENSITIVE,
View Full Code Here

    buffer.append("' aHiddenName='").append(property.getFullColName());

    if (property.getValue() != null
        && !property.getValue().trim().equals("")) {

      DOBO doBO = null;
      if (property.getLinkBO() != null) {
        doBO = property.getLinkBO();
      } else if (property.getLinkService() != null) {
        doBO = property.getLinkService().getBo();
      }
View Full Code Here

          break;
        }
      }
    }

    DOBO piBO = DOBO.getDOBOByName("do_wfi_processinstance");
    piBO.refreshContext(niStart.getProcessInstance().getObjUid());

    return niStart.getProcessInstance();
  }
View Full Code Here

    System.out.println("正在启动工作流=====================");
    // WFDAO dao = new WFDAO();
    // dao.setAutoClose(false);
    // dao.setIsTransaction(true);

    DOBO wfBO = DOBO.getDOBOByName("do_wfi_processinstance");

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

    ProcessInstance pi = new ProcessInstance();
    NodeInstance niStart = null; // ///开始节点
    t.begin();
    try {
View Full Code Here

      String theLinkValue = property.getData().getValue(
          property.getColName());

      if (theLinkValue != null) {
        DOBO corrBO = property.getLinkBO();

        if (corrBO == null && property.getLinkService() != null) {
          corrBO = property.getLinkService().getBo();
        }
        BOInstance bi = getAInstance(property, corrBO, theLinkValue);
View Full Code Here

    int aYear = Calendar.getInstance().get(Calendar.YEAR);

    StringBuffer insertSql = new StringBuffer(
        "insert into DO_Code_Sequence_Trash values(")
        .append("?,?,?,?,?,?)");
    DOBO bo = DOBO.getDOBOByName("do_authorization");
    DODataSource dss =  bo.getDataBase();
    Connection con = null;
    PreparedStatement stmt = null;

    try {
View Full Code Here

        .append("where CODE_ITEMUID=? and DEPT_CODE=? and YEAR_SEQ=? ");

    Connection con = null;
    PreparedStatement stmt = null;
    int retId = -1;// //////////返回的值
    DOBO bo = DOBO.getDOBOByName("DO_CODE_MAXSEQUENCE");
    DODataSource dss =  bo.getDataBase();
    try {
      con = dss.getContextConnection();
      // query
      stmt = con.prepareStatement(selectSql);
      stmt.setString(1, codeItemID);
View Full Code Here

      DatabaseMetaData meta = con.getMetaData();
      String[] tblTypes = new String[] { "TABLE" };
     
      /*对oracle的schema过滤 by whutmen@gmail.com begin */
      DOBO bo = DOBO.getDOBOByName("do_datasource");
      DODataSource dss = DODataSource.getDataSourceByL10n(bo
          .getCorrInstance().getValue("l10n"));
      String schema = null;
      if (dss.isOracle()) {
        schema = dss.getUserName().trim().toUpperCase();
      }
View Full Code Here

      DatabaseMetaData meta = con.getMetaData();
      String[] tblTypes = new String[] { "TABLE" };
     
      /*对oracle的schema过滤 by whutmen@gmail.com begin */
      DOBO bo = DOBO.getDOBOByName("do_datasource");
      DODataSource dss = DODataSource.getDataSourceByL10n(bo
          .getCorrInstance().getValue("l10n"));
      String schema = null;
      if (dss.isOracle()) {
        schema = dss.getUserName().trim().toUpperCase();
      }
View Full Code Here

TOP

Related Classes of com.exedosoft.plat.bo.DOBO

Copyright © 2018 www.massapicom. 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.