}
private void setUpDialog() {
applicationParamManager = (ApplicationParamManager) ModelUtil
.getBean("applicationParamManager");
ApplicationUserManager applicationUserManager = (ApplicationUserManager) ModelUtil
.getBean("applicationUserManager");
ApplicationUser user;
user = applicationUserManager.login("admin", "admin");
applicationUserManager.lazyLoad(user, new LazyLoadEnum[][] { {
LazyLoadEnum.USER_ROLES, LazyLoadEnum.NONE } });
UserType userType = user.getUserRoles().iterator().next().getUserType();
ApplicationParamViewHandler applicationParamViewHandler = new ApplicationParamViewHandler(
"Kollier", applicationParamManager, userType);