Package org.hoteia.qalingo.core.domain

Examples of org.hoteia.qalingo.core.domain.UserRole


            String valueUserGroup = group.getName();
            userViewBean.getGroups().put(keyUserGroup, valueUserGroup);

            final Set<UserRole> roles = group.getRoles();
            for (Iterator<UserRole> iteratorRole = roles.iterator(); iteratorRole.hasNext();) {
                UserRole role = (UserRole) iteratorRole.next();
                String keyUserRole = role.getCode();
                String valueUserRole = role.getName();
                userViewBean.getRoles().put(keyUserRole, valueUserRole);

                final Set<UserPermission> permissions = role.getPermissions();
                for (Iterator<UserPermission> iteratorPermission = permissions.iterator(); iteratorPermission.hasNext();) {
                    UserPermission permission = (UserPermission) iteratorPermission.next();
                    String keyUserPermission = permission.getCode();
                    String valueUserPermission = permission.getName();
                    userViewBean.getPermissions().put(keyUserPermission, valueUserPermission);
View Full Code Here

TOP

Related Classes of org.hoteia.qalingo.core.domain.UserRole

Copyright © 2018 www.massapicom. 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.