Package org.projectforge.core

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

Related Classes of org.projectforge.core.ConfigurationDao

Copyright © 2018 www.massapicom. 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.