Examples of invokeUpdate()


Examples of com.exedosoft.plat.bo.DOService.invokeUpdate()

  public static  void removeBO(BOInstance instance) {
    DOService deletes = DOService.getService("DO_Parameter_deletebybouid");
    Transaction t = deletes.currentTransaction();
    t.begin();
    try {
      deletes.invokeUpdate(instance.getUid());
     
      deleteRubbish(instance,"DO_BO_Property_deletebybouid");
      deleteRubbish(instance,"DO_Rule_deletebybouid");
      deleteRubbish(instance,"DO_Service_deletebybouid");
      deleteRubbish(instance,"DO_Service_Rule_DeleteRubbish");
View Full Code Here

Examples of com.exedosoft.plat.bo.DOService.invokeUpdate()

    t.end();
  }

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

  /**
   * @param args
   */
 
View Full Code Here

Examples of com.exedosoft.plat.bo.DOService.invokeUpdate()

      paras.put("app_desc", selectApp.getValue("description"));
      paras.put("share_date", new java.sql.Date(System.currentTimeMillis()));
      paras.put("share_app_id",selectApp.getUid());
      paras.put("auth_tenant_name", tv.getTenant().getValue("l10n"));
      paras.put("auth_tenant_id", tv.getTenant().getUid());
      insertAppShare.invokeUpdate(paras);
    } catch (UnsupportedEncodingException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
    } catch (FileNotFoundException e) {
      // TODO Auto-generated catch block
View Full Code Here

Examples of com.exedosoft.plat.bo.DOService.invokeUpdate()

         
          if("en".equals(DOGlobals.getValue("lang.local"))){
            fmInsert = DOService.getService("DO_UI_FormModel_Insert_EN");
          }
         
          BOInstance newBiForm = fmInsert.invokeUpdate(biForm);
         
          map.put(aFm, newBiForm);
          // //保存FormModel
          for(Iterator<DOFormTarget> itTargetGrid = aFm.getTargetGridModels().iterator();itTargetGrid.hasNext(); ){
            DOFormTarget aFt = itTargetGrid.next();
View Full Code Here

Examples of com.exedosoft.plat.bo.DOService.invokeUpdate()

        BOInstance biForm = boForm.getInstance(checks[i]);
        DOFormModel aFm = DOFormModel.getFormModelByID(biForm.getUid());
       
        biForm.putValue("objuid", null);
        biForm.putValue("gridModelUid", gridModelUid);
        BOInstance newBiForm = copyService.invokeUpdate(biForm);
        // //保存FormModel
        for(Iterator<DOFormTarget> itTargetGrid = aFm.getTargetGridModels().iterator();itTargetGrid.hasNext(); ){
          DOFormTarget aFt = itTargetGrid.next();
          BOInstance biFt = boFormTarget.getInstance(aFt.getObjUid());
          biFt.putValue("objuid", null);
View Full Code Here

Examples of com.exedosoft.plat.bo.DOService.invokeUpdate()

      }

      Map paras = new HashMap();
      paras.put("use_tenant_id", tv.getTenant().getUid());
      paras.put("use_tenant_name", tv.getTenant().getValue("l10n"));
      insertInstallRecord.invokeUpdate(paras);

      URL url = DODataSource.class.getResource("/globals.xml");
      String s = url.getPath();
      String s2 = s;
      s = s.substring(0, s2.toLowerCase().indexOf("web-inf"));
View Full Code Here

Examples of com.exedosoft.plat.bo.DOService.invokeUpdate()

      DOBO boServicePara = DOBO.getDOBOByName("DO_Parameter_Service");
      DOBO boServiceRule = DOBO.getDOBOByName("DO_Service_Rule");
      biService.setUid(null);
      biService.putValue("name", biService.getValue("name") + "_copy");
      biService.putValue("l10n", biService.getValue("l10n") + "_copy");
      BOInstance biNewService = thisService.invokeUpdate(biService);

      for (Iterator<DOParameterService> it = dos
          .retrieveParaServiceLinks().iterator(); it.hasNext();) {
        DOParameterService dps = it.next();
        BOInstance bi = boServicePara.getInstance(dps.getObjUid());
View Full Code Here

Examples of com.exedosoft.plat.bo.DOService.invokeUpdate()

        DAOUtil.BUSI().store(vi, dosVi);
      }
      // ////删除运行时表
      DOService deletePI = DOService
          .getService("do_wfi_processinstance_delete");
      deletePI.invokeUpdate(processInstance.getObjUid());

      DOService deleteVars = DOService
          .getService("do_wfi_varinstance_deletebypiuid");
      deleteVars.invokeUpdate(processInstance.getObjUid());
View Full Code Here

Examples of com.exedosoft.plat.bo.DOService.invokeUpdate()

          .getService("do_wfi_processinstance_delete");
      deletePI.invokeUpdate(processInstance.getObjUid());

      DOService deleteVars = DOService
          .getService("do_wfi_varinstance_deletebypiuid");
      deleteVars.invokeUpdate(processInstance.getObjUid());

      DOService deleteNIs = DOService
          .getService("do_wfi_nodeinstance_deletebypiuid");
      deleteNIs.invokeUpdate(processInstance.getObjUid());
View Full Code Here

Examples of com.exedosoft.plat.bo.DOService.invokeUpdate()

          .getService("do_wfi_varinstance_deletebypiuid");
      deleteVars.invokeUpdate(processInstance.getObjUid());

      DOService deleteNIs = DOService
          .getService("do_wfi_nodeinstance_deletebypiuid");
      deleteNIs.invokeUpdate(processInstance.getObjUid());

      DOService deleteNIRels = DOService
          .getService("do_wfi_ni_dependency_deleterubbish");
      deleteNIRels.invokeUpdate();
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.