Package dao

Examples of dao.GeologDao


        geologiPtStergere = geologDao.getGeologiPtStergere();
        return new ForwardResolution("/WEB-INF/jsp/stergereConturiGeologi.jsp");
    }

    public Resolution datePersonale() {
        IGeologDao geologDao = new GeologDao();
        int idGeo = Integer.parseInt(getContext().getRequest().getSession(true).getAttribute("user").toString());
        setGeolog(geologDao.getGeologByID(idGeo));
        return new ForwardResolution("/WEB-INF/jsp/datePersonale.jsp");
    }
View Full Code Here


        setGeolog(geologDao.getGeologByID(idGeo));
        return new ForwardResolution("/WEB-INF/jsp/datePersonale.jsp");
    }

    public Resolution submitDatePersonale() {
        IGeologDao geologDao = new GeologDao();
        geologDao.saveOrUpdate(getGeolog());
        return new ForwardResolution("/WEB-INF/jsp/datePersonale.jsp");
    }
View Full Code Here

        geologDao.saveOrUpdate(getGeolog());
        return new ForwardResolution("/WEB-INF/jsp/datePersonale.jsp");
    }

    public Resolution submit() {
        IGeologDao geologDao = new GeologDao();
        Geolog g;
        int i;
        if (getValidareR() != null) {
            for (i = 0; i < getValidareR().size(); i++) {
                g = geologDao.getGeologByID(Integer.parseInt(getValidareR().get(i).toString()));
                g.setConfirmare("acceptat");
                geologDao.saveOrUpdate(g);
            }
        }
        if (getRefuzareR() != null) {
            for (i = 0; i < getRefuzareR().size(); i++) {
                g = geologDao.getGeologByID(Integer.parseInt(getRefuzareR().get(i).toString()));
                g.setConfirmare("refuzat");
                geologDao.saveOrUpdate(g);
            }
        }
        // pt popularea listei pt stergere
        geologiPtStergere = geologDao.getGeologiPtStergere();
        return new ForwardResolution("/WEB-INF/jsp/stergereConturiGeologi.jsp");
    }
View Full Code Here

                        amplasamente.add(amplasament);
                    }
                }
            }
        } else { //daca sunt proiecte publice
            IGeologDao geologDao = new GeologDao();
            List<Geolog> geologi = geologDao.geologiPublici();
            Iterator it = geologi.iterator();
            while (it.hasNext()) {
                Geolog geolog = (Geolog) it.next();
                amplasamente = amplasamentDao.getAmplasamenteByBeneficiarIdAndGeologId(idB, geolog.getIdGeolog());
            }
View Full Code Here

        Geolog geolog;
        Beneficiar beneficiar;
        List<Integer> idbeneficiari = new ArrayList<Integer>();
        IBeneficiarDao beneficiarDao = new BeneficiarDao();
        IGeologBeneficiarDao geologBeneficiarDao = new GeologBeneficiarDao();
        IGeologDao geologDao = new GeologDao();
        List<Geolog> geologi = geologDao.geologiPublici();
        if (geologi != null) {
            Iterator it = geologi.iterator();
            while (it.hasNext()) {
                geolog = (Geolog) it.next();
                idbeneficiari = geologBeneficiarDao.getGeologBeneficiariByGeologId(geolog.getIdGeolog());
View Full Code Here

TOP

Related Classes of dao.GeologDao

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.