Package org.openqreg.bean

Examples of org.openqreg.bean.SettingBean.store()


      // sets the loginwaittimeout to the one in the database
      setBean = new SettingBean();
      setBean.setId("DISPATCHER_LOGINWAITTIMEOUT");
      setBean.setSetting(Integer.valueOf(this.getLoginWaitTimeOut())
          .toString());
      setBean.store();

      // sets the maxloginwait to the one in the database
      setBean = new SettingBean();
      setBean.setId("DISPATCHER_MAXLOGINWAIT");
      setBean.setSetting(Integer.valueOf(this.getMaxLoginWait())
View Full Code Here


      // sets the maxloginwait to the one in the database
      setBean = new SettingBean();
      setBean.setId("DISPATCHER_MAXLOGINWAIT");
      setBean.setSetting(Integer.valueOf(this.getMaxLoginWait())
          .toString());
      setBean.store();

      // sets the maxinactivetime to the one in the database
      setBean = new SettingBean();
      setBean.setId("DISPATCHER_MAXINACTIVETIME");
      setBean.setSetting(Integer.valueOf(this.getMaxInactiveTime())
View Full Code Here

      // sets the maxinactivetime to the one in the database
      setBean = new SettingBean();
      setBean.setId("DISPATCHER_MAXINACTIVETIME");
      setBean.setSetting(Integer.valueOf(this.getMaxInactiveTime())
          .toString());
      setBean.store();

      // sets the maxinactivetimebeforeremoval to the one in the database
      setBean = new SettingBean();
      setBean.setId("DISPATCHER_MAXINACTIVETIMEBEFOREREMOVAL");
      setBean.setSetting(Integer.valueOf(
View Full Code Here

      // sets the maxinactivetimebeforeremoval to the one in the database
      setBean = new SettingBean();
      setBean.setId("DISPATCHER_MAXINACTIVETIMEBEFOREREMOVAL");
      setBean.setSetting(Integer.valueOf(
          this.getMaxInactiveTimeBeforeRemoval()).toString());
      setBean.store();

      // sets the shutdowntime to the one in the database
      setBean = new SettingBean();
      setBean.setId("DISPATCHER_SHUTDOWNTIME");
      if (this.getShutDownTime() != null) {
View Full Code Here

        setBean.setSetting(Long.valueOf(
            this.getShutDownTime().getTimeInMillis()).toString());
      } else {
        setBean.setSetting(null);
      }
      setBean.store();

      // sets the SHOWSHUTDOWNMESSAGETIME to the one in the database
      setBean = new SettingBean();
      setBean.setId("DISPATCHER_SHOWSHUTDOWNMESSAGETIME");
      setBean.setSetting(Integer.valueOf(
View Full Code Here

      // sets the SHOWSHUTDOWNMESSAGETIME to the one in the database
      setBean = new SettingBean();
      setBean.setId("DISPATCHER_SHOWSHUTDOWNMESSAGETIME");
      setBean.setSetting(Integer.valueOf(
          this.getShowShutDownMessageTime()).toString());
      setBean.store();

      // sets the DEFAULTLANGUAGE to the one in the database
      setBean = new SettingBean();
      setBean.setId("DISPATCHER_DEFAULTLANGUAGE");
      setBean.setSetting(getDefaultLanguage());
View Full Code Here

      // sets the DEFAULTLANGUAGE to the one in the database
      setBean = new SettingBean();
      setBean.setId("DISPATCHER_DEFAULTLANGUAGE");
      setBean.setSetting(getDefaultLanguage());
      setBean.store();

      // sets the passWordLifeLength to the one in the database
      setBean = new SettingBean();
      setBean.setId("DISPATCHER_PASSWORDLIFELENGTH");
      setBean.setSetting(Integer.valueOf(this.getPasswordLifeLength())
View Full Code Here

      // sets the passWordLifeLength to the one in the database
      setBean = new SettingBean();
      setBean.setId("DISPATCHER_PASSWORDLIFELENGTH");
      setBean.setSetting(Integer.valueOf(this.getPasswordLifeLength())
          .toString());
      setBean.store();

      // sets the patientlogLogPatientlists to the one in the database
      setBean = new SettingBean();
      setBean.setId("PATIENTLOG_LOG_PATIENTLISTS");
      setBean.setSetting(new Boolean(this.isPatientlogLogPatientlists())
View Full Code Here

      // sets the patientlogLogPatientlists to the one in the database
      setBean = new SettingBean();
      setBean.setId("PATIENTLOG_LOG_PATIENTLISTS");
      setBean.setSetting(new Boolean(this.isPatientlogLogPatientlists())
          .toString());
      setBean.store();

    } catch (Exception e) {
      logger.log(Level.ERROR,
          "writeSettingsToDB() error writing settings:", e);
    }
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.