Examples of IZusatzleistungDao


Examples of projekt.fhv.teama.hibernate.dao.leistungen.IZusatzleistungDao

    /**
     * Methode um Pakete wie Vollpension und Ko aus der DB zu holen
     * @return List<PackageWrapper>
     */
    public List<PackageWrapper> getPackages() {
        IZusatzleistungDao zbDao = ZusatzleistungDao.getInstance();
        List<IZusatzleistung> packagesInDatabase = new Vector<IZusatzleistung>();
        List<PackageWrapper> packages = new Vector<PackageWrapper>();
        try {
            packagesInDatabase = new Vector<IZusatzleistung>(zbDao.getAll());
            for (IZusatzleistung p : packagesInDatabase) {
                if (p.getWarengruppe().getID() == 11) {
                    packages.add(new PackageWrapper(p, p.getID(), p.getBezeichnung()));
                }
            }
View Full Code Here

Examples of projekt.fhv.teama.hibernate.dao.leistungen.IZusatzleistungDao

                //Datum fuer die Reservierung
                java.sql.Date ar = new java.sql.Date(dateformatter.parse(dateAdapter(getArrival())).getTime());
                java.sql.Date de = new java.sql.Date(dateformatter.parse(dateAdapter(getDeparture())).getTime());

                //Zusatzleistung
                IZusatzleistungDao zlDao = ZusatzleistungDao.getInstance();
                IZusatzleistung pack = zlDao.getById(this.packageID);

                //Gäste der Reservierung hinzufügen
                Set<IGast> gaeste = new HashSet<IGast>();
                gaeste.add(this.guest);
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.