Package com.exedosoft.plat.bo

Examples of com.exedosoft.plat.bo.DOBO


   
    String theValue = DOGlobals.getInstance().getSessoinContext().getUser().getUid();
   
    BOInstance bi = null;
   
    DOBO corrBO = property.getLinkBO();
   


    if (corrBO == null && property.getLinkService() != null) {
      corrBO = property.getLinkService().getBo();
View Full Code Here


          property.getRelationProperty().getColName());
    }

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

      DOBO corrBO = property.getLinkBO();

      if (corrBO == null && property.getLinkService() != null) {
        corrBO = property.getLinkService().getBo();
      }
      if (theValue.indexOf(";") == -1) {
        BOInstance bi = getAInstance(property, corrBO, theValue);

        // /
        // System.out.println("BOINSTANCE++++++++++++++++++++++++++++++++++++++"
        // + bi);
        BOInstance data = property.getData();
        if (bi != null) {
          // ///////////////////////////////////采用弹出方式
          DOPaneModel theModel = property.getLinkPaneModel();
          if (theModel != null
              && theModel.getLinkType() != null
              && (theModel.getLinkType().intValue() == DOPaneModel.LINKTYPE_TREEMODEL)) {
            theModel = null;
          }
         
          if(bi.getName()!=null){
            return DOValueService.stardardOnlyPane(property,bi.getName()).toString();
          }else{
            return DOValueService.stardardOnlyPane(property,property.getValue()).toString();
          }
         
        }
      } else {
        String[] strs = theValue.split(";");
        StringBuffer buffer = new StringBuffer();
        for (int i = 0; i < strs.length; i++) {
          String aInsUid = strs[i];
          BOInstance bi = corrBO.getInstance(aInsUid);
          if (bi != null) {
            DOPaneModel theModel = property.getLinkPaneModel();
            if (theModel != null
                && theModel.getLinkType() != null
                && (theModel.getLinkType().intValue() == DOPaneModel.LINKTYPE_TREEMODEL)) {
View Full Code Here

  }

  private int getIDHelper(String codeItemID, String sql, StringBuffer sqlUpdate) {
    Connection con = null;
    PreparedStatement stmt = null;
    DOBO bo = DOBO.getDOBOByName("do_authorization");
    DODataSource dss =  bo.getDataBase();
    try {
      // query


      con = dss.getContextConnection();
View Full Code Here

        "insert into DO_Code_Sequence_Trash values(")
        .append("?,?,?,?,?,?)");

    Connection con = null;
    PreparedStatement stmt = null;
    DOBO bo = DOBO.getDOBOByName("DO_CODE_MAXSEQUENCE");
    DODataSource dss =  bo.getDataBase();

    try {

      con = dss.getContextConnection();
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);
View Full Code Here

    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

  public String getHtmlCode(DOIModel iModel) {

    DOFormModel property = (DOFormModel) iModel;
    BOInstance bi = null;
   
    DOBO corrBO = property.getLinkBO();
   
    String theValue = property.getValue();

    if (corrBO == null && property.getLinkService() != null) {
      corrBO = property.getLinkService().getBo();
View Full Code Here

        if (service.retrieveParaServiceLinks() != null
            && service.retrieveParaServiceLinks().size() == 1) {
          bi = service.getInstance(theValue);
        }
        if(bi==null){
          DOBO corrBO = service.getBo();
          bi = corrBO.getInstance(theValue);
        }
        if (bi != null) {
          return bi.getThisLink().replace("popupDialog", "createNewTab");
        }
      }
View Full Code Here

    Connection con = null;
    PreparedStatement stmt = null;
    int retId = 1;// //////////返回的值

    DOBO bo = DOBO.getDOBOByName("do_authorization");
    DODataSource dss =  bo.getDataBase();

    try {
      // query
      con = dss.getContextConnection();
View Full Code Here

        .append(" WHERE code_ItemUid=? and propertyValue=? and yearSeq=?");

    Connection con = null;
    PreparedStatement stmt = null;
    int retId = 1;// //////////返回的值
    DOBO bo = DOBO.getDOBOByName("do_authorization");
    DODataSource dss =  bo.getDataBase();
    try {


      con = dss.getContextConnection();
      // query
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.