Package daoI

Examples of daoI.IGeologDao


        geologiIA = geolog.getAllNVGeo();
        return new ForwardResolution("/WEB-INF/jsp/validareConturi.jsp");
    }

    public Resolution stergereConturiGeologi() {
        IGeologDao geologDao = new GeologDao();
        geologiPtStergere = geologDao.getGeologiPtStergere();
        return new ForwardResolution("/WEB-INF/jsp/stergereConturiGeologi.jsp");
    }
View Full Code Here


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

    public Resolution submitStergere() {
        IGeologDao geologDao = new GeologDao();
        int i;
        if (getStergeR() != null) {
            for (i = 0; i < getStergeR().size(); i++) {
                geologDao.delete(Integer.parseInt(getStergeR().get(i).toString()));
            }
        }
        IGeologDao geolog = new GeologDao();
        geologiPtStergere = geologDao.getGeologiPtStergere();
        return new ForwardResolution("/WEB-INF/jsp/stergereConturiGeologi.jsp");
    }
View Full Code Here

        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

TOP

Related Classes of daoI.IGeologDao

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.