Package org.apache.roller.weblogger.business

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


        try {
            User ud = getUserData(entry.getName());
            Weblog wd = getWebsiteData(entry.getHandle());
           
            UserManager mgr = getRoller().getUserManager();
            mgr.revokeWeblogPermission(wd, ud, WeblogPermission.ALL_ACTIONS);
            mgr.grantWeblogPermission(wd, ud, stringToActionList(entry.getPermission()));
           
            getRoller().flush();
           
            CacheManager.invalidate(ud);
View Full Code Here


        try {
            Weblog wd = getWebsiteData(handle);
            User ud = getUserData(username);

            UserManager mgr = getRoller().getUserManager();
            mgr.revokeWeblogPermission(wd, ud, WeblogPermission.ALL_ACTIONS);
           
            getRoller().flush();           

            CacheManager.invalidate(ud);
            CacheManager.invalidate(wd);
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.