org.jboss.seam.example.booking
Class BookingListAction

java.lang.Object
  extended by org.jboss.seam.example.booking.BookingListAction
All Implemented Interfaces:
Serializable, BookingList

@Scope(value=SESSION)
@Name(value="bookingList")
@Restrict(value="#{identity.loggedIn}")
public class BookingListAction
extends Object
implements BookingList, Serializable

See Also:
Serialized Form

Constructor Summary
BookingListAction()
           
 
Method Summary
 void cancel()
           
 void destroy()
           
 Booking getBooking()
           
 void getBookings()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BookingListAction

public BookingListAction()
Method Detail

getBookings

@Factory
@Observer(value="bookingConfirmed")
public void getBookings()
Specified by:
getBookings in interface BookingList

cancel

public void cancel()
Specified by:
cancel in interface BookingList

getBooking

public Booking getBooking()
Specified by:
getBooking in interface BookingList

destroy

public void destroy()
Specified by:
destroy in interface BookingList


Copyright © 2007-2008 JBoss Inc.. All Rights Reserved.