Examples of ConfigurationDao


Examples of org.opencustomer.db.dao.system.ConfigurationDAO

    }
   
    @Override
    public void loadEntity(ActionMessages errors, LoadForm form, Hashtable<String, Object> attributes, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException {
        try {
            List<ConfigurationVO> configurations = new ConfigurationDAO().getForSystem();
           
            attributes.put("configurations", configurations);
        } catch (HibernateException e) {
            errors.add(ActionMessages.GLOBAL_MESSAGE, new ActionMessage("default.error.noEntityAccess"));
View Full Code Here

Examples of org.opencustomer.db.dao.system.ConfigurationDAO

   
    @Override
    public void refresh() {
        getConfigurations().clear();
       
        List<ConfigurationVO> systemConfigurations = new ConfigurationDAO().getForSystem();
        for(ConfigurationVO vo : systemConfigurations) {
            addConfiguration(vo);
        }
    }
View Full Code Here

Examples of org.opencustomer.db.dao.system.ConfigurationDAO

   
    @Override
    public void refresh() {
        getConfigurations().clear();
       
        List<ConfigurationVO> userConfigurations = new ConfigurationDAO().getForUser(user);
        for(ConfigurationVO vo : userConfigurations) {
            addConfiguration(vo);
        }
    }
View Full Code Here

Examples of org.projectforge.core.ConfigurationDao

      @Override
      public void afterUpdate()
      {
        if (Configuration.getInstance().isCalendarDomainValid() == false) {
          // Force to edit configuration value 'calendar domain'.
          final ConfigurationDao configurationDao = Registry.instance().getDao(ConfigurationDao.class);
          configurationDao.checkAndUpdateDatabaseEntries();
          final ConfigurationDO configurationDO = configurationDao.getEntry(ConfigurationParam.CALENDAR_DOMAIN);
          final ConfigurationEditPage configurationEditPage = new ConfigurationEditPage(new PageParameters().add(
              AbstractEditPage.PARAMETER_KEY_ID, configurationDO.getId()));
          configurationEditPage.setReturnToPage(new SystemUpdatePage(new PageParameters()));
          throw new RestartResponseException(configurationEditPage);
        }
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.