org.jboss.seam.examples.booking.booking
Class BookingHistory
java.lang.Object
org.jboss.seam.examples.booking.booking.BookingHistory
@SessionScoped
@Named
public class BookingHistory
- extends Object
The booking history exposes the current users existing bookings
- Author:
- Dan Allen
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BookingHistory
public BookingHistory()
getBookingsForCurrentUser
@Produces
@Authenticated
@Named(value="bookings")
public List<Booking> getBookingsForCurrentUser()
onBookingComplete
public void onBookingComplete(@Observes(during=AFTER_SUCCESS,notifyObserver=IF_EXISTS)@Confirmed
Booking booking)
cancelBooking
public void cancelBooking(Booking selectedBooking)
Copyright © 2011 Seam Framework. All Rights Reserved.