Package org.hoteia.qalingo.core.domain

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


                String valueCustomerGroup = group.getName();
                customerViewBean.getGroups().put(keyCustomerGroup, valueCustomerGroup);

                final Set<CustomerRole> roles = group.getRoles();
                for (Iterator<CustomerRole> iteratorRole = roles.iterator(); iteratorRole.hasNext();) {
                    CustomerRole role = (CustomerRole) iteratorRole.next();
                    String keyCustomerRole = role.getCode();
                    String valueCustomerRole = role.getName();
                    customerViewBean.getRoles().put(keyCustomerRole, valueCustomerRole);

                    final Set<CustomerPermission> permissions = role.getPermissions();
                    for (Iterator<CustomerPermission> iteratorPermission = permissions.iterator(); iteratorPermission.hasNext();) {
                        CustomerPermission permission = (CustomerPermission) iteratorPermission.next();
                        String keyCustomerPermission = permission.getCode();
                        String valueCustomerPermission = permission.getName();
                        customerViewBean.getPermissions().put(keyCustomerPermission, valueCustomerPermission);
View Full Code Here

TOP

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

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.