Package org.joget.directory.dao

Examples of org.joget.directory.dao.UserDao


                    String systemLocale = "";

                    String enableUserLocale = setupManager.getSettingValue("enableUserLocale");
                    if (enableUserLocale != null && enableUserLocale.equalsIgnoreCase("true")) {
                        WorkflowUserManager workflowUserManager = (WorkflowUserManager) AppUtil.getApplicationContext().getBean("workflowUserManager");
                        UserDao userDao = (UserDao) AppUtil.getApplicationContext().getBean("userDao");

                        String username = workflowUserManager.getCurrentUsername();
                        User user = userDao.getUser(username);
                        if (user != null && user.getLocale() != null && !user.getLocale().isEmpty()) {
                            systemLocale = user.getLocale();
                        }
                    }
View Full Code Here

TOP

Related Classes of org.joget.directory.dao.UserDao

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.