Package eja.ejb.entities

Examples of eja.ejb.entities.Booking


     * Nastavi parametry rezervace a ulozi ji. (3. krok rezervace)
     * @param parameter
     */
    @Override
    public void setBookingParamsAndSave(BookingParametersCrate parameter) {
        this._booking = new Booking();
        this._booking.setHotel(this._hotel);
        this._booking.setCustomer(_customer);
        this._booking.setBookingNo(parameter.bookingNo);
        this._booking.setDateFrom(parameter.dateFrom);
        this._booking.setDateTo(parameter.dateTo);
View Full Code Here


    public Collection<Hotel> getAllHotels() {
        return this._hotelDao.getAllHotels();
    }

    public String edit() {
        this._booking = (this.id != 0) ? this._bookingDao.getBookingById(this.id) : new Booking();
        this._booking.setHotel(this.hotel);
        this._booking.setCustomer(this.customer);
        this._booking.setBookingNo(this.bookingNo);
        this._booking.setDateFrom(this.dateFrom);
        this._booking.setDateTo(this.dateTo);
View Full Code Here

TOP

Related Classes of eja.ejb.entities.Booking

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.