Package evolaris.platform.smssvc.web.form.MappingSelectForm

Examples of evolaris.platform.smssvc.web.form.MappingSelectForm.SelectableUser


    // selection content; proposed mappings have to be in the lists independently of the maximum number of entries

    UserManager userManager = new UserManager(locale,session);
    SortedSet<SelectableUser> selectableUsers = new TreeSet<SelectableUser>();
    for (User user : proposedUsers) {
      selectableUsers.add(new SelectableUser(user.getId(),userManager.selectionDescription(user)));
    }
    User[] users = userManager.getUsers(destinationGroup, true);
    for (User user : users) {
      if (selectableUsers.size() < MAX_NOF_SELECTION_ENTRIES && user.getUsername() != null){  // only propose users with user names
        selectableUsers.add(new SelectableUser(user.getId(),userManager.selectionDescription(user)));
      }
    }
    req.setAttribute("selectableUsers", selectableUsers);
   
    UserSetManager userSetManager = new UserSetManager(locale,session);
View Full Code Here

TOP

Related Classes of evolaris.platform.smssvc.web.form.MappingSelectForm.SelectableUser

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.