Package com.agiletec.plugins.jpuserreg.aps.system.services.userreg.parse

Examples of com.agiletec.plugins.jpuserreg.aps.system.services.userreg.parse.UserRegConfigDOM


      ConfigInterface configManager = this.getConfigManager();
      String xml = configManager.getConfigItem(JpUserRegSystemConstants.USER_REG_CONFIG_ITEM);
      if (xml == null) {
        throw new ApsSystemException("Configuration Item not found: " + JpUserRegSystemConstants.USER_REG_CONFIG_ITEM);
      }
      UserRegConfigDOM userRegConfigDom = new UserRegConfigDOM();
      IUserRegConfig config = userRegConfigDom.extractConfig(xml);
      this.setUserRegConfig(config);
    } catch (Throwable t) {
      ApsSystemUtils.logThrowable(t, this, "loadConfigs");
      throw new ApsSystemException("Error in init", t);
    }
View Full Code Here


    return this.getConfig().clone();
  }
  @Override
  public void saveUserRegConfig(IUserRegConfig config) throws ApsSystemException {
    try {
      String xml = new UserRegConfigDOM().createConfigXml(config);
      this.getConfigManager().updateConfigItem(JpUserRegSystemConstants.USER_REG_CONFIG_ITEM, xml);
      this.setUserRegConfig(config);
    } catch (Throwable t) {
      ApsSystemUtils.logThrowable(t, this, "saveUserRegConfig");
      throw new ApsSystemException("Errore in fase di aggiornamento configurazione user reg", t);
View Full Code Here

TOP

Related Classes of com.agiletec.plugins.jpuserreg.aps.system.services.userreg.parse.UserRegConfigDOM

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.