Examples of ConfigurationVO


Examples of org.opencustomer.db.vo.system.ConfigurationVO

    @Override
    public void readForm(PageStandardForm form, ActionMessages errors, HttpServletRequest request) {
        List<ConfigurationVO> configurations = (List<ConfigurationVO>)getPanel().getAttribute("configurations");

        ConfigurationVO maxFailedLogins = ConfigurationUtil.getConfiguration(SystemConfiguration.Key.MAX_FAILED_LOGINS, configurations);
        maxFailedLogins.setValue(String.valueOf(form.getMaxFailedLogins()));
       
        ConfigurationVO defaultTimeLock = ConfigurationUtil.getConfiguration(SystemConfiguration.Key.DEFAULT_TIMELOCK, configurations);
        defaultTimeLock.setValue(String.valueOf(form.getDefaultTimeLock()));
       
        ConfigurationVO defaultIpPattern = ConfigurationUtil.getConfiguration(SystemConfiguration.Key.DEFAULT_IPPATTERN, configurations);
        defaultIpPattern.setValue(form.getDefaultIpPattern());
       
        ConfigurationVO mailServer = ConfigurationUtil.getConfiguration(SystemConfiguration.Key.MAIL_SMTP_SERVER, configurations);
        mailServer.setValue(form.getMailSmtpServer());

        ConfigurationVO showOverview = ConfigurationUtil.getConfiguration(SystemConfiguration.Key.SHOW_OVERVIEW, configurations);
        showOverview.setValue(String.valueOf(form.isShowOverview()));
       
        ConfigurationVO multipleLogins = ConfigurationUtil.getConfiguration(SystemConfiguration.Key.MULTIPLE_LOGINS, configurations);
        multipleLogins.setValue(String.valueOf(form.isMultipleLogins()));
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.