Package org.pentaho.reporting.engine.classic.core.modules.misc.configstore.base

Examples of org.pentaho.reporting.engine.classic.core.modules.misc.configstore.base.ConfigStorage.store()


    try
    {
      final boolean fullStorageEnabled = isFullInputStorageEnabled(reportConfiguration);
      final Configuration dialogContents = grabDialogContents(fullStorageEnabled);
      final ConfigStorage storage = ConfigFactory.getInstance().getUserStorage();
      storage.store(configPath, dialogContents);
    }
    catch (ConfigStoreException cse)
    {
      AbstractExportDialog.logger.debug(messages.getString("AbstractExportDialog.DEBUG_CANT_STORE_DEFAULTS",
          String.valueOf(getClass()))); //$NON-NLS-1$//$NON-NLS-2$
View Full Code Here


      final DefaultConfiguration p = new DefaultConfiguration();
      if (url != null)
      {
        p.setConfigProperty("repository-path", url.toExternalForm());
      }
      cs.store(configPath, p);
    }
    catch (Exception e)
    {
      // ignored ..
      logger.debug("Unable to store the configuration.", e);
View Full Code Here

      final DefaultConfiguration p = new DefaultConfiguration();
      if (url != null)
      {
        p.setConfigProperty("repository-path", url.toExternalForm());
      }
      cs.store(configPath, p);
    }
    catch (Exception e)
    {
      // ignored ..
      logger.debug("Unable to store the configuration.", e);
View Full Code Here

    try
    {
      final boolean fullStorageEnabled = isFullInputStorageEnabled(reportConfiguration);
      final Configuration dialogContents = grabDialogContents(fullStorageEnabled);
      final ConfigStorage storage = ConfigFactory.getInstance().getUserStorage();
      storage.store(configPath, dialogContents);
    }
    catch (ConfigStoreException cse)
    {
      AbstractExportDialog.logger.debug(messages.getString("AbstractExportDialog.DEBUG_CANT_STORE_DEFAULTS",
          String.valueOf(getClass()))); //$NON-NLS-1$//$NON-NLS-2$
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.