Package dao

Examples of dao.GeologDao.saveOrUpdate()


            if (!isNumeric(telefon) || telefon.length() != 10) {
                setTelefonInvalid(true);
                return new ForwardResolution("/WEB-INF/jsp/inregistrare.jsp");
            }
            setGeologAdaugat(true);
            geoDao.saveOrUpdate(new Geolog(nume, prenume, telefon, email, adresa, username, parola, confirmareVizibilitate, acceptare));
            return new ForwardResolution("/WEB-INF/jsp/inregistrare.jsp");
        }
    }

    public String getUsername() {
View Full Code Here


        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");
    }

    public Resolution submit() {
        IGeologDao geologDao = new GeologDao();
View Full Code Here

        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()));
View Full Code Here

        }
        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

TOP
Copyright © 2018 www.massapi.com. 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.