Package org.apache.roller.business

Examples of org.apache.roller.business.UserManager.saveWebsite()


                        String username = rses.getAuthenticatedUser().getUserName();
                       
                        website.setEditorTheme(newTheme);
                       
                        UserManager userMgr = RollerFactory.getRoller().getUserManager();
                        userMgr.saveWebsite(website);
                        RollerFactory.getRoller().flush();
                       
                        mLogger.debug("Saved theme "+newTheme+" for "+username);
                       
                        // make sure to flush the page cache so ppl can see the change
View Full Code Here


                log.debug("Setting default day page to "+dayTemplate.getId());
                website.setWeblogDayPageId(dayTemplate.getId());
            }
           
            // save our updated website
            userMgr.saveWebsite(website);
           
            // now lets import all the theme resources
            FileManager fileMgr = RollerFactory.getRoller().getFileManager();
           
            List resources = theme.getResources();
View Full Code Here

            wd.setEnabled(entry.getEnabled());
        }
       
        try {
            UserManager mgr = getRoller().getUserManager();
            mgr.saveWebsite(wd);
            getRoller().flush();
            CacheManager.invalidate(wd);
        } catch (RollerException re) {
            throw new InternalException("ERROR: Could not update website data", re);
        }
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.