Package org.jahia.ajax.gwt.client.data

Examples of org.jahia.ajax.gwt.client.data.GWTJahiaGroup


            for (Integer siteId : sites) {
                Set groups = groupManagerService.searchGroups(siteId, criterias);
                if (groups != null) {
                    Iterator iterator = groups.iterator();
                    JahiaGroup group;
                    GWTJahiaGroup data;
                    while (iterator.hasNext()) {
                        group = (JahiaGroup) iterator.next();
                        if (!group.isHidden()) {
                            data = new GWTJahiaGroup(group.getGroupname(), group.getGroupKey());
                            if (group.getSiteID() > 0) {
                                JahiaSite jahiaSite = sitesService.getSite(group.getSiteID());
                                if (jahiaSite != null) {
                                    data.setSiteName(jahiaSite.getTitle());
                                }
                            }
                            data.setSiteId(siteId);
                            data.setProvider(group.getProviderName());
                            result.add(data);
                        }
                    }
                }
            }
View Full Code Here

TOP

Related Classes of org.jahia.ajax.gwt.client.data.GWTJahiaGroup

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.