Examples of saveProperties()


Examples of org.apache.roller.planet.business.PropertiesManager.saveProperties()

                }
            }
           
            // save it
            PropertiesManager pMgr = PlanetFactory.getPlanet().getPropertiesManager();
            pMgr.saveProperties(this.properties);
            PlanetFactory.getPlanet().flush();
           
        } catch (PlanetException e) {
            log.error(e);
            setError("ConfigForm.error.saveFailed");
View Full Code Here

Examples of org.apache.roller.planet.business.PropertiesManager.saveProperties()

        // update multiple properties
        prop = (RuntimeConfigProperty) props.get("site.name");
        prop.setValue("foofoo");
        prop = (RuntimeConfigProperty) props.get("site.description");
        prop.setValue("blahblah");
        mgr.saveProperties(props);
        TestUtils.endSession(true);
       
        // make sure all properties were updated
        props = mgr.getProperties();
        assertNotNull(props);
View Full Code Here

Examples of org.apache.roller.planet.business.PropertiesManager.saveProperties()

                }
            }
           
            // save it
            PropertiesManager pMgr = PlanetFactory.getPlanet().getPropertiesManager();
            pMgr.saveProperties(this.properties);
            PlanetFactory.getPlanet().flush();
           
            addMessage("ConfigForm.message.saveSucceeded");
           
        } catch (RollerException e) {
View Full Code Here

Examples of org.apache.roller.weblogger.business.PropertiesManager.saveProperties()

        prop.setValue(enabledPlugins);
           
        try {
            // save 'em and flush
            PropertiesManager mgr = WebloggerFactory.getWeblogger().getPropertiesManager();
            mgr.saveProperties(getProperties());
            WebloggerFactory.getWeblogger().flush();
           
            // notify user of our success
            addMessage("weblogEdit.changesSaved");
           
View Full Code Here

Examples of org.apache.roller.weblogger.business.PropertiesManager.saveProperties()

        // update multiple properties
        prop = (RuntimeConfigProperty) props.get("site.name");
        prop.setValue("foofoo");
        prop = (RuntimeConfigProperty) props.get("site.description");
        prop.setValue("blahblah");
        mgr.saveProperties(props);
        TestUtils.endSession(true);
       
        // make sure all properties were updated
        props = mgr.getProperties();
        assertNotNull(props);
View Full Code Here

Examples of org.apache.roller.weblogger.business.PropertiesManager.saveProperties()

        prop.setValue(enabledPlugins);
           
        try {
            // save 'em and flush
            PropertiesManager mgr = WebloggerFactory.getWeblogger().getPropertiesManager();
            mgr.saveProperties(getProperties());
            WebloggerFactory.getWeblogger().flush();
           
            // notify user of our success
            addMessage("weblogEdit.changesSaved");
           
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.