Package org.opencustomer.db.dao.crm

Examples of org.opencustomer.db.dao.crm.CompanyTypeDAO


    @Override
    public void loadEnvironment(ActionMessages errors, LoadForm form, Hashtable<String, Object> attributes, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException {
        attributes.put("legalFormGroups", new LegalFormGroupDAO().getAll());
       
        attributes.put("sectors", new SectorDAO().getAll());
        attributes.put("companyTypes", new CompanyTypeDAO().getAll());
        attributes.put("companyStates", new CompanyStateDAO().getAll());
        attributes.put("categories", new CategoryDAO().getAll());
        attributes.put("ratings", new RatingDAO().getAll());

    }
View Full Code Here


                company.setLegalForm(null);
            }
           
            if(form.getCompanyTypeId() > 0) {
                if(isEntityChanged(form.getCompanyTypeId(), company.getCompanyType()))
                    company.setCompanyType(new CompanyTypeDAO().getById(form.getCompanyTypeId()));
            } else {
                company.setCompanyType(null);
            }
           
            if(form.getCompanyStateId() > 0) {
View Full Code Here

TOP

Related Classes of org.opencustomer.db.dao.crm.CompanyTypeDAO

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.