Package com.mossle.user.support

Examples of com.mossle.user.support.UserBaseWrapper


        List<UserBase> userBases = (List<UserBase>) page.getResult();
        List<UserBaseWrapper> userBaseWrappers = new ArrayList<UserBaseWrapper>();

        for (UserBase userBase : userBases) {
            userBaseWrappers.add(new UserBaseWrapper(userBase));
        }

        page.setResult(userBaseWrappers);
        model.addAttribute("page", page);
View Full Code Here


            UserRepo userRepo = userRepoManager.findUniqueBy("code",
                    ScopeHolder.getScopeCode());
            userBase.setUserRepo(userRepo);
        }

        UserBaseWrapper userBaseWrapper = new UserBaseWrapper(userBase);
        model.addAttribute("model", userBase);
        model.addAttribute("userBaseWrapper", userBaseWrapper);

        return "user/user-base-input";
    }
View Full Code Here

            List<UserBase> userBases = (List<UserBase>) page.getResult();
            List<UserBaseWrapper> userBaseWrappers = new ArrayList<UserBaseWrapper>();

            for (UserBase userBase : userBases) {
                userBaseWrappers.add(new UserBaseWrapper(userBase));
            }

            page.setResult(userBaseWrappers);
            model.addAttribute("page", page);
        }
View Full Code Here

    @RequestMapping("profile-list")
    public String list(Model model) {
        UserBase userBase = userBaseManager.findUniqueBy("username",
                SpringSecurityUtils.getCurrentUsername());
        UserBaseWrapper userBaseWrapper = new UserBaseWrapper(userBase);
        model.addAttribute("model", userBase);
        model.addAttribute("userBaseWrapper", userBaseWrapper);

        return "user/profile-list";
    }
View Full Code Here

                result.setMessage("user is not exists : [" + username + "]");

                return result;
            }

            UserBaseWrapper userBaseWrapper = new UserBaseWrapper(userBase);

            result.setCode(200);
            result.setData(userBaseWrapper.toMap());

            return result;
        } catch (Exception ex) {
            logger.error(ex.getMessage(), ex);
View Full Code Here

TOP

Related Classes of com.mossle.user.support.UserBaseWrapper

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.