com.sun.j2ee.blueprints.smarticket.ejb.ticketsales
Interface TicketSales

All Superinterfaces:
javax.ejb.EJBObject, java.rmi.Remote

public interface TicketSales
extends javax.ejb.EJBObject

Enterprise bean for dealing with movie ticket sales.


Method Summary
 boolean cancelSeats()
           
 boolean confirmSeats()
           
 SeatingPlan getSeatingPlan()
           
 boolean reserveSeats(java.util.Set seats)
           
 
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

getSeatingPlan

public SeatingPlan getSeatingPlan()
                           throws java.rmi.RemoteException

reserveSeats

public boolean reserveSeats(java.util.Set seats)
                     throws java.rmi.RemoteException,
                            UnavailableSeatsException

cancelSeats

public boolean cancelSeats()
                    throws java.rmi.RemoteException

confirmSeats

public boolean confirmSeats()
                     throws java.rmi.RemoteException


Copyright © 2002 Sun Microsystems Inc. All rights reserved.