Package org.apache.roller.weblogger.business

Examples of org.apache.roller.weblogger.business.UserManager.saveUser()


                if (!isCMA) {
                    RollerContext.flushAuthenticationUserCache(getUser().getUserName());
                }

                // save the updated profile
                mgr.saveUser(getUser());
                WebloggerFactory.getWeblogger().flush();
               
                addMessage("userAdmin.userSaved");
                               
                return INPUT;
View Full Code Here


            ud.setEnabled(entry.getEnabled());
        }
       
        try {
            UserManager mgr = getRoller().getUserManager();
            mgr.saveUser(ud);
            getRoller().flush();
            CacheManager.invalidate(ud);
        } catch (WebloggerException re) {
            throw new InternalException("ERROR: could not update user data", re);
        }
View Full Code Here

               
                if (user != null) {
                    // enable user account
                    user.setEnabled(Boolean.TRUE);
                    user.setActivationCode(null);
                    mgr.saveUser(user);
                    WebloggerFactory.getWeblogger().flush();
                   
                    setActivationStatus("active");
                   
                } else {
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.