Examples of create()


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

      logBean.setUserid(user.getId());
      logBean.setCentreid(user.getCentreid());
      logBean.setContext(context);
      logBean.setStep(STEP);
      logBean.setSearchid(searchid);
      logBean.create();
    } catch (SQLException sqle) {
      log.log(Level.ERROR, "Error in creating patient log", sqle);
    }
   
  }

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

      searchlogBean.setSearchinfo(searchString);
      searchlogBean.setUserid(user.getId());
      searchlogBean.setCentreid(user.getCentreid());
      searchlogBean.setContext(context);
      searchlogBean.setStep(STEP);
      searchlogBean.create();
      return searchlogBean;
    }catch (SQLException sqle) {
      log.log(Level.ERROR, "Error in creating search log", sqle);
    }
    return null;

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

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

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

    systemmessage.setValidto(new Date(System.currentTimeMillis()+10000));
    systemmessage.setTscreated(new Timestamp(System.currentTimeMillis()));
    systemmessage.setCreatedby("System");
    systemmessage.setUpdatedby("System");
   
    systemmessage.create(con);
   
    assertNotNull("Systemmessageid ska inte var null", systemmessage.getId());
  }

}

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

        tempText.setLanguageid(transportText.getLanguageid());
        tempText.setCreatedby(userId);
        tempText.setUpdatedby(userId);
        tempText.setTscreated(now);
        tempText.setTsupdated(now);
        tempText.create(con);
      }

      con.commit();

    } catch (SQLException sqle) {

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

      CentreBean centre = BeanFactory.getCentre(id);
      centre.create(con);
     
      UserBean user = BeanFactory.getUser(id);
      user.setCentreid(centre.getId());
      user.create(con);
     
      Collection<UserBean> users = UserFinder.findByCentreid(con, centre.getId());
      assertTrue("Anv�ndaren hittades inte", users.contains(user));
      user.remove(con);
      centre.remove(con);

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

        if (isNew && Integer.valueOf(1).equals(fStatus)) {
          ucrBeanInDB.setUserid(userToEdit.getId());
          ucrBeanInDB.setTscreated(tsNow);
          ucrBeanInDB.setCreatedby(user.getId());
          ucrBeanInDB.setCentreid(fCentreId);
          ucrBeanInDB.create(con);
        }
        if (!isNew) {
          ucrBeanInDB.store(con);
        }
        // set groupId and status on users changed from nonUcr to ucr

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

      parent.setStatus(new Integer(Status.ACTIVE));
      parent.setDescription("Parent usergroup");
      parent.setUseucr(Integer.valueOf(0));
      parent.setCreatedby(user.getId());
      parent.setTscreated(new Timestamp(System.currentTimeMillis()));
      parent.create(con);
     
     
     
      relations = GrouprelationFinder.findByUsergroupid("LU");
      assertEquals("Fel antal relationer", 0, relations.size());

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

        if (log.isDebugEnabled()) {
          log.log(Level.DEBUG,
              "Creating variable: " + varBean.toString());
        }

        varBean.create(con);
        saveTexts(currentId, elementNode.selectSingleNode("texts"), con);

        // we need autoid before we can do this...
        if (Container.class.isAssignableFrom(theClass)) {
          // containers

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

      varAttrBean.setId(elementId);
      varAttrBean.setAttributename(attributeName);

      varAttrBean.setOrdernumber(new Integer(orderNr));
      varAttrBean.setAttributevalue(attributeValue);
      varAttrBean.create(con);
      orderNr++;
    }
  }

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