org.jboss.seam.example.booking
Class HotelBookingAction
java.lang.Object
org.jboss.seam.example.booking.HotelBookingAction
- All Implemented Interfaces:
- HotelBooking
@Name(value="hotelBooking")
@Restrict(value="#{identity.loggedIn}")
public class HotelBookingAction- extends Object
- implements HotelBooking
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HotelBookingAction
public HotelBookingAction()
selectHotel
@Begin
public void selectHotel(Hotel selectedHotel)
- Specified by:
selectHotel in interface HotelBooking
getSelectedHotelName
public String getSelectedHotelName()
- Specified by:
getSelectedHotelName in interface HotelBooking
bookHotel
public void bookHotel()
- Specified by:
bookHotel in interface HotelBooking
setBookingDetails
public void setBookingDetails()
- Specified by:
setBookingDetails in interface HotelBooking
isBookingValid
public boolean isBookingValid()
- Specified by:
isBookingValid in interface HotelBooking
confirm
@End
public void confirm()
- Specified by:
confirm in interface HotelBooking
cancel
@End
public void cancel()
- Specified by:
cancel in interface HotelBooking
destroy
public void destroy()
- Specified by:
destroy in interface HotelBooking
Copyright © 2007-2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.