Package org.opencustomer.db.dao.crm

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


   
    @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


        try
        {
            if(form.getSectorId() > 0) {
                if(isEntityChanged(form.getSectorId(), company.getSector()))
                    company.setSector(new SectorDAO().getById(form.getSectorId()));
            } else {
                company.setSector(null);
            }
           
            if(form.getLegalFormId() > 0) {
View Full Code Here

TOP

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

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.