Examples of MyPortalPlusConfigDOM


Examples of com.agiletec.plugins.jpmyportalplus.aps.system.services.config.parse.MyPortalPlusConfigDOM

    try {
      String xml = this.getConfigManager().getConfigItem(JpmyportalplusSystemConstants.MYPORTALPLUS_CONFIG_ITEM);
      if (xml == null) {
        throw new ApsSystemException("Missing configuration item: "+ JpmyportalplusSystemConstants.MYPORTALPLUS_CONFIG_ITEM);
      }
      MyPortalPlusConfigDOM configDom = new MyPortalPlusConfigDOM();
      this.setConfig(configDom.extractConfig(xml));
    } catch (Throwable t) {
      ApsSystemUtils.logThrowable(t, this, "loadConfig");
      throw new ApsSystemException("Error during initialization", t);
    }
  }
View Full Code Here

Examples of com.agiletec.plugins.jpmyportalplus.aps.system.services.config.parse.MyPortalPlusConfigDOM

  }
 
  @Override
  public void saveConfig(MyPortalConfig config) throws ApsSystemException {
    try {
      MyPortalPlusConfigDOM configDom = new MyPortalPlusConfigDOM();
      String xml = configDom.createConfigXml(config);
      this.getConfigManager().updateConfigItem(JpmyportalplusSystemConstants.MYPORTALPLUS_CONFIG_ITEM, xml);
      this.setConfig(config);
      this.buildCustomizableShowletsSet();
      this.syncPageModelUserDatabase();
    } catch (Throwable t) {
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.