Examples of create()


Examples of org.openqreg.bean.ContainerscriptBean.create()

      containerScriptBean.setId(elementId);
      containerScriptBean.setScriptname(scriptName);

      containerScriptBean.setOrdernumber(new Integer(orderNr));
      containerScriptBean.setScriptvalue(scriptValue);
      containerScriptBean.create(con);
      orderNr++;
    }
  }

  private void saveContainerIntervals(Connection con, Long autoId,

Examples of org.openqreg.bean.ContainerserviceBean.create()

      containerServiceBean.setAutoid(autoId);
      containerServiceBean.setId(elementId);
      containerServiceBean.setService(node.getText().trim());

      containerServiceBean.setOrdernumber(new Integer(orderNr));
      containerServiceBean.create(con);
      orderNr++;
    }
  }

  /**
 

Examples of org.openqreg.bean.CountryBean.create()

     
      Connection con = DbHandler.getConnection();
      con.setAutoCommit(false);
     
      CountryBean country1 = BeanFactory.getCountry("uz");
      country1.create(con);
     
      country1.setStatus(new Integer(Status.INACTIVE));
      country1.store(con);

      CountryBean country2 = (CountryBean) CountryFinderBase.findByPrimaryKey(con, new CountryKey(country1.getId()));

Examples of org.openqreg.bean.DeletelogBean.create()

    deleteBean.setUserid(user.getId());
    deleteBean.setCentreid(user.getCentreid());
    deleteBean.setContext(context);
    deleteBean.setStep(STEP);
    deleteBean.setDeletetype(deleteType);
    deleteBean.create(con);
  }
}

Examples of org.openqreg.bean.DocumentorderBean.create()

      }
      if(!documentExists) {
        DocumentorderBean doBean = new DocumentorderBean();
        doBean.setDocument(documentName);
        doBean.setOrdernumber(doMax+1);
        doBean.create(con);
      }

     
      List<Node> list = xmlDoc.selectNodes("textdocument/text");

Examples of org.openqreg.bean.FileBean.create()

          // file.setContenttype(?);
          file.setPath(fileSharePath);
          file.setOwner(user.getId());
          file.setCreatedby(user.getId());
          file.setService("FILESHARE_DOWNLOAD");
          file.create();

          // fileSharePath from context.xml
          fh.setPath(fileSharePath);
          fh.writeFileToDisk();
          // String answer = XMLImporter.importFile(fh);

Examples of org.openqreg.bean.FileshareuserBean.create()

          if (null != fileUser) {
            //set correct label ending up on switch
            fsuBean.setUserdescription(fileUser.getFirstname()
                + " " + fileUser.getLastname());
          }
          fsuBean.create(con);
        }
        con.commit();
        // sa.setStatus(AjaxWidgetAnswer.STATUS_UPDATED);
        // Dispatcher.getInstance().populateAccessTable();
        // Collection<FileBean> col =

Examples of org.openqreg.bean.GrouprelationBean.create()

          sBean.setCreatedby(userId);
          sBean.setUsergroupid(userGroupBean.getId());
          sBean.setRelatestoid(ugId);
          sBean.setStatus(Integer.valueOf(1));
          sBean.setTscreated(new Timestamp(System.currentTimeMillis()));
          sBean.create(con);
        }
        con.commit();
//        sa.setStatus(AjaxWidgetAnswer.STATUS_UPDATED);
        Dispatcher.getInstance().populateAccessTable();
        // Collection<FileBean> col =

Examples of org.openqreg.bean.GuisettingBean.create()

          gsb.setUserid(userId);
          gsb.setCreatedby(userId);
          gsb.setGuiid(guiId);
          gsb.setGuikey(key);
          gsb.setGuivalue(outer.get(key));
          gsb.create(con);
        }
      }
      con.commit();
    } catch (SQLException sqle) {
      try {

Examples of org.openqreg.bean.ListboxtextrowBean.create()

    lb.setUpdatedby(SYSTEM);
    // Remove first to avoid duplicate
    // lb.remove(con);
    // Create
    lb.setDocument(getDocumentName());
    lb.create(con);
    // orderNo++;
    // }
  }

  /**
 
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.