Package org.opencustomer.db.dao.crm

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


    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.setCompanyType(null);
            }
           
            if(form.getCompanyStateId() > 0) {
                if(isEntityChanged(form.getCompanyStateId(), company.getCompanyState()))
                    company.setCompanyState(new CompanyStateDAO().getById(form.getCompanyStateId()));
            } else {
                company.setCompanyState(null);
            }
           
            if(form.getCategoryId() > 0) {
View Full Code Here

TOP

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

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.