Package org.hoteia.qalingo.core.web.mvc.form

Examples of org.hoteia.qalingo.core.web.mvc.form.CustomerForm


        }
        return productSkuForm;
    }
   
    public CustomerForm buildCustomerForm(final RequestData requestData, final Customer customer) throws Exception {
        final CustomerForm customerForm = new CustomerForm();
        if(customer != null){
            customerForm.setId(customer.getId().toString());
            customerForm.setVersion(customer.getVersion());
            customerForm.setCode(customer.getCode());
            customerForm.setLogin(customer.getLogin());
            customerForm.setTitle(customer.getTitle());
            customerForm.setFirstname(customer.getFirstname());
            customerForm.setLastname(customer.getLastname());
            customerForm.setEmail(customer.getEmail());
            customerForm.setPassword(customer.getPassword());
            customerForm.setDefaultLocale(customer.getDefaultLocale());
            customerForm.setActive(customer.isActive());
        }
        return customerForm;
    }
View Full Code Here

TOP

Related Classes of org.hoteia.qalingo.core.web.mvc.form.CustomerForm

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.