Package com.tensegrity.palo.gwt.core.client.models.admin

Examples of com.tensegrity.palo.gwt.core.client.models.admin.XGroup


        .getAdministrationService(getLoggedInUser(sessionId));
    List<XGroup> xGroups = new ArrayList<XGroup>();
    User forUser = getNativeUser(sessionId, xUser);
    if (forUser != null) {
      for (Group group : adminService.getGroups(forUser)) {
        XGroup xGroup = (XGroup) XConverter.createX(group);
        xGroup.clearRoleNames();
        for (Role r: group.getRoles()) {
          xGroup.addRoleName(r.getName());
        }
        xGroups.add(xGroup);
      }
    }
    return xGroups.toArray(new XGroup[0]);
View Full Code Here

TOP

Related Classes of com.tensegrity.palo.gwt.core.client.models.admin.XGroup

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.