Package com.exedosoft.plat.bo

Examples of com.exedosoft.plat.bo.BOInstance.toJSONString()


    if(findApps!=null && findApps.size() >0 ){
      this.setEchoValue(I18n.instance().get("分享的应用必须原创APP,该应用已经分享到AppShare,不能重复分享!"));
      return NO_FORWARD;
    }

    sb.append("<app>").append(selectApp.toJSONString()).append("</app>\n");

    DOService findBP = DOService
        .getService("DO_BusiPackage_byapplicationuid");

    DOService findBO = DOService.getService("DO_BO_FindByBPUid_Form");
View Full Code Here


  protected void appendLi(StringBuilder sb, List list) {

    // / toJSONSTring 需要进行转义
    for (Iterator it = list.iterator(); it.hasNext();) {
      BOInstance bi = (BOInstance) it.next();
      sb.append("<li>").append(StringUtil.filter(bi.toJSONString()))
          .append("</li>\n");
    }
  }
 
  public static void main(String[] args){
View Full Code Here

    DOBO bo = DOBO.getDOBOByName("DO_ActionConfig");

    BOInstance biController = bo.getCorrInstance();
    if (biController != null) {
      DOService pm = DOService.getService(biController.getUid());
      sb.append("\n<action><li>").append(StringUtil.filter(biController.toJSONString())).append(
          "</li></action>");
    }
    sb.append("</export>");
    this.setEchoValue(sb.toString());
    return DEFAULT_FORWARD;
View Full Code Here

    BOInstance biService = bo.getCorrInstance();
    if (biService != null) {
      DOService pm = DOService.getService(biService.getUid());

      // 业务对象下面的服务
      sb.append("\n<service><li>").append(StringUtil.filter(biService.toJSONString())).append(
          "</li></service>");

      // 服务下面的参数
      DOService servParaService = DOService
          .getService("DO_Parameter_Service_findbyserviceUid");
View Full Code Here

    DOBO bo = DOBO.getDOBOByName("DO_UI_Controller");

    BOInstance biController = bo.getCorrInstance();
    if (biController != null) {
      DOService pm = DOService.getService(biController.getUid());
      sb.append("\n<controller><li>").append(StringUtil.filter(biController.toJSONString())).append(
          "</li></controller>");
    }
    sb.append("</export>");
    this.setEchoValue(sb.toString());
    return DEFAULT_FORWARD;
View Full Code Here

    StringBuilder sb = new StringBuilder("<export>");
    DOBO bo = DOBO.getDOBOByName("do_bo");
    DOBO boGrid = DOBO.getDOBOByName("DO_UI_GridModel");
    BOInstance selectBI = bo.getCorrInstance();

    sb.append("<bo>").append(selectBI.toJSONString()).append("</bo>\n");

    Transaction t = this.service.currentTransaction();
    List<String> allIDs = new ArrayList<String>();
    try {
      t.begin();
View Full Code Here

  protected  void appendLi(StringBuilder sb, List list) {
   
    /// toJSONSTring 需要进行转义
    for (Iterator it = list.iterator(); it.hasNext();) {
      BOInstance bi = (BOInstance) it.next();
      sb.append("<li>").append(StringUtil.filter(bi.toJSONString())).append("</li>\n");
    }
  }

}
View Full Code Here

    DOBO boGrid = DOBO.getDOBOByName("DO_UI_GridModel");
    BOInstance biPane = bo.getCorrInstance();
    if (biPane != null) {
      DOPaneModel pm = DOPaneModel.getPaneModelByID(biPane.getUid());
      // 面板
      sb.append("<pane><li>").append(StringUtil.filter(biPane.toJSONString())).append("</li></pane>");

      DOService servPaneLinks = DOService
          .getService("DO_UI_PaneLinks_findbyparentPaneUid");
      sb.append("\n<pane_links>");
      List list = servPaneLinks.invokeSelect(biPane.getUid());
View Full Code Here

      // /面板下面的表格
      DOGridModel gm = pm.getGridModel();
      if (gm != null) {
        BOInstance biGrid = boGrid.getInstance(gm.getObjUid());
        sb.append("<grid>").append(biGrid.toJSONString()).append(
            "</grid>");

        // /表格下面的表格元素
        DOService servForms = DOService
            .getService("DO_UI_FormModel_findbyGridModelUid");
View Full Code Here

  protected void appendLi(StringBuilder sb, List list) {

    // / toJSONSTring 需要进行转义
    for (Iterator it = list.iterator(); it.hasNext();) {
      BOInstance bi = (BOInstance) it.next();
      sb.append("<li>").append(StringUtil.filter(bi.toJSONString()))
          .append("</li>\n");
    }
  }

}
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.