A B C D E F G I L M R S T V

A

AMEX - Static variable in class vo.CreditCardValue
 
ArsStartup - class common.start.ArsStartup.
 
ArsStartup() - Constructor for class common.start.ArsStartup
Public default constructor required by any WL startup class.
Authenticate - interface ejb.authenticating.Authenticate.
The Authenticate interface is the remote interface for the Authenticate EJB component.
AuthenticateBean - class ejb.authenticating.AuthenticateBean.
This is the bean class for the Authenticate stateless session bean.
AuthenticateBean() - Constructor for class ejb.authenticating.AuthenticateBean
 
AuthenticateHome - interface ejb.authenticating.AuthenticateHome.
This is the home interface for the Authenticate stateless session bean.

B

buyTickets(int, CreditCardValue, long) - Method in class ejb.reserving.ReserveAndBuyBean
 
buyTickets(int, CreditCardValue, long) - Method in interface ejb.reserving.ReserveAndBuy
Given the reservation ID and credit card, purchase the tickets.

C

cancelReservation(int, long) - Method in class ejb.reserving.ReserveAndBuyBean
Removes a reservation from the database.
cancelReservation(int, long) - Method in interface ejb.reserving.ReserveAndBuy
Given a reservation ID, mark that reservation as cancelled.
ccServiceUrl - Static variable in class common.start.ArsStartup
 
common - package common
 
common.start - package common.start
 
context - Variable in class ejb.reserving.ReserveAndBuyBean
 
create() - Method in interface ejb.authenticating.AuthenticateHome
 
create() - Method in interface ejb.reserving.ReserveAndBuyHome
 
create() - Method in interface ejb.search.SearchHome
 
CreditCardValue - class vo.CreditCardValue.
A customer credit card used for reserving flights and making payments.
CreditCardValue() - Constructor for class vo.CreditCardValue
Constructor for CreditCardValue.

D

DateField - class common.DateField.
This class implements a Date field(in the Format mm/dd/yyyy) and does simple Date bounds checking on it, making sure that mm is betn 1 and 12, dd is betn 1 and 31, and yyyy is a valid number.
DateField() - Constructor for class common.DateField
 
DISC - Static variable in class vo.CreditCardValue
 

E

ejb.authenticating - package ejb.authenticating
 
ejb.reserving - package ejb.reserving
 
ejb.search - package ejb.search
 
ejbActivate() - Method in class ejb.authenticating.AuthenticateBean
 
ejbActivate() - Method in class ejb.reserving.ReserveAndBuyBean
 
ejbActivate() - Method in class ejb.search.SearchBean
 
ejbCreate() - Method in class ejb.authenticating.AuthenticateBean
 
ejbCreate() - Method in class ejb.reserving.ReserveAndBuyBean
 
ejbCreate() - Method in class ejb.search.SearchBean
 
ejbPassivate() - Method in class ejb.authenticating.AuthenticateBean
 
ejbPassivate() - Method in class ejb.reserving.ReserveAndBuyBean
 
ejbPassivate() - Method in class ejb.search.SearchBean
 
ejbRemove() - Method in class ejb.authenticating.AuthenticateBean
 
ejbRemove() - Method in class ejb.reserving.ReserveAndBuyBean
 
ejbRemove() - Method in class ejb.search.SearchBean
 

F

FlightOptions - class common.FlightOptions.
A wrapper that holds the departing and return flight options for a given query.
FlightOptions(boolean, int, Date, Date) - Constructor for class common.FlightOptions
Constructor for FlightOptions.
FlightSelection - class common.FlightSelection.
The choices made by the customer wrt flights to be reserved.
FlightSelection() - Constructor for class common.FlightSelection
 
FlightValue - class vo.FlightValue.
The details of an individual flight.
FlightValue() - Constructor for class vo.FlightValue
Constructor for FlightValue.

G

getArrivalCity() - Method in class vo.FlightValue
Returns the arrivalCity.
getArrivalTime() - Method in class vo.FlightValue
Returns the arrivalTime.
getBalance() - Method in class vo.CreditCardValue
Returns the balance.
getBookingPassenger() - Method in class common.FlightSelection
Returns the bookingPasssenger.
getBookingPassenger() - Method in class vo.ReservationValue
Returns the bookingPasssenger.
getCcVo() - Method in class vo.ReservationValue
 
getCreditCardUrl() - Static method in class common.start.ArsStartup
 
getDate() - Method in class common.DateField
 
getDepartDate() - Method in class common.FlightSelection
Returns the departDate.
getDepartDate() - Method in class common.FlightOptions
Returns the departDate.
getDepartDate() - Method in class vo.ReservationValue
Returns the departDate.
getDepartingFlight() - Method in class common.FlightSelection
Returns the departingFlight.
getDepartingFlight() - Method in class vo.ReservationValue
Returns the departingFlight.
getDepartingFlights() - Method in class common.FlightOptions
Returns the departingFlights.
getDepartureCity() - Method in class vo.FlightValue
Returns the departureCity.
getDepatureTime() - Method in class vo.FlightValue
Returns the depatureTime.
getExpirationDate() - Method in class vo.ReservationValue
Returns the ExpirationDate.
getExpMonth() - Method in class vo.CreditCardValue
Returns the expMonth.
getExpYear() - Method in class vo.CreditCardValue
Returns the expYear.
getFlightNumber() - Method in class vo.FlightValue
Returns the flightNumber.
getFlights(String, String, Date, Date, boolean, int) - Method in class ejb.search.SearchBean
 
getFlights(String, String, Date, Date, boolean, int) - Method in interface ejb.search.Search
Given the search criteria, searches the database looking for seats available in flights that match the criteria.
getInvoiceId() - Method in class vo.ReservationValue
Returns the invoiceId.
getNumber() - Method in class vo.CreditCardValue
Returns the number.
getNumberOfPassengers() - Method in class common.FlightSelection
Returns the numberOfPassengers.
getNumberOfPassengers() - Method in class common.FlightOptions
Returns the numberOfPassengers.
getPassengers() - Method in class vo.ReservationValue
Returns the Vector of String objects with passenger names.
getPrice() - Method in class vo.FlightValue
Returns the price.
getReservationId() - Method in class vo.ReservationValue
Returns the reservation ID.
getReturnDate() - Method in class common.FlightSelection
Returns the returnDate.
getReturnDate() - Method in class common.FlightOptions
Returns the returnDate.
getReturnDate() - Method in class vo.ReservationValue
Returns the returnDate.
getReturningFlight() - Method in class common.FlightSelection
Returns the returningFlight.
getReturningFlight() - Method in class vo.ReservationValue
Returns the returningFlight.
getReturningFlights() - Method in class common.FlightOptions
Returns the returningFlights.
getType() - Method in class vo.CreditCardValue
Returns the type.

I

isAlive() - Method in class ejb.authenticating.AuthenticateBean
Always returns true - if reachable.
isAlive() - Method in interface ejb.authenticating.Authenticate
This is a "ping" method that always returns true.
isTwoWay() - Method in class common.FlightSelection
Returns the isTwoWay.
isTwoWay() - Method in class common.FlightOptions
Returns the isTwoWay.
isTwoWay() - Method in class vo.ReservationValue
Returns the isTwoWay.
isValid() - Method in class common.FlightSelection
Performs field level validation of the FlighSelection
isValid() - Method in class vo.CreditCardValue
Performs field level validation of the creditcard * @return boolean - true if the fields have acceptable values, false otherwise

L

login(String) - Method in class ejb.authenticating.AuthenticateBean
 
login(String) - Method in interface ejb.authenticating.Authenticate
Given a user name (which has to be unique), returns a uniques system generated identifier for the users - this is a 3-digit integer.

If the name is not found in the database the -1 is returned.

M

makeReservation(FlightSelection, String[], CreditCardValue, long) - Method in class ejb.reserving.ReserveAndBuyBean
Adds a reservation to the database.
makeReservation(FlightSelection, String[], CreditCardValue, long) - Method in interface ejb.reserving.ReserveAndBuy
Given the flight, passenger information, and credit card information creates a reservation and inserts it into the database.
MC - Static variable in class vo.CreditCardValue
 

R

readReservation(int) - Method in class ejb.reserving.ReserveAndBuyBean
 
readReservation(int) - Method in interface ejb.reserving.ReserveAndBuy
Given a reservation ID, return all the reservation information.
ReservationValue - class vo.ReservationValue.
Contains the data of a flight reservation.
ReservationValue() - Constructor for class vo.ReservationValue
 
ReserveAndBuy - interface ejb.reserving.ReserveAndBuy.
The ReserveAndBuy interface is the remote interface for the ReserveAndBuy EJB component.
ReserveAndBuyBean - class ejb.reserving.ReserveAndBuyBean.
This is the bean class for the ReserveAndBuy stateless session bean.
ReserveAndBuyBean() - Constructor for class ejb.reserving.ReserveAndBuyBean
 
ReserveAndBuyHome - interface ejb.reserving.ReserveAndBuyHome.
This is the home interface for the ReserveAndBuy stateless session bean.

S

Search - interface ejb.search.Search.
The Search interface is the remote interface for the Search EJB component.
SearchBean - class ejb.search.SearchBean.
This is the implementation of the Search stateless session bean.
SearchBean() - Constructor for class ejb.search.SearchBean
 
SearchHome - interface ejb.search.SearchHome.
 
setArrivalCity(String) - Method in class vo.FlightValue
Sets the arrivalCity.
setArrivalTime(Time) - Method in class vo.FlightValue
Sets the arrivalTime.
setBalance(double) - Method in class vo.CreditCardValue
Sets the balance.
setBookingPasssenger(String) - Method in class common.FlightSelection
Sets the bookingPasssenger.
setBookingPasssenger(String) - Method in class vo.ReservationValue
Sets the bookingPasssenger.
setCcVo(CreditCardValue) - Method in class vo.ReservationValue
 
setDepartDate(Date) - Method in class common.FlightSelection
Sets the departDate.
setDepartDate(Date) - Method in class common.FlightOptions
Sets the departDate.
setDepartDate(Date) - Method in class vo.ReservationValue
Sets the departDate.
setDepartingFlight(FlightValue) - Method in class common.FlightSelection
Sets the departingFlight.
setDepartingFlight(FlightValue) - Method in class vo.ReservationValue
Sets the departingFlight.
setDepartingFlights(Vector) - Method in class common.FlightOptions
Sets the departingFlights.
setDepartureCity(String) - Method in class vo.FlightValue
Sets the departureCity.
setDepatureTime(Time) - Method in class vo.FlightValue
Sets the depatureTime.
setExpirationDate(Date) - Method in class vo.ReservationValue
Sets the Expiration date of the reservation.
setExpMonth(int) - Method in class vo.CreditCardValue
Sets the expMonth.
setExpYear(int) - Method in class vo.CreditCardValue
Sets the expYear.
setFlightNumber(String) - Method in class vo.FlightValue
Sets the flightNumber.
setInvoiceId(Integer) - Method in class vo.ReservationValue
Sets the invoice ID.
setIsTwoWay(boolean) - Method in class common.FlightSelection
Sets the isTwoWay.
setIsTwoWay(boolean) - Method in class common.FlightOptions
Sets the isTwoWay.
setIsTwoWay(boolean) - Method in class vo.ReservationValue
Sets the isTwoWay.
setNumber(String) - Method in class vo.CreditCardValue
Sets the number.
setNumberOfPassengers(int) - Method in class common.FlightSelection
Sets the numberOfPassengers.
setNumberOfPassengers(int) - Method in class common.FlightOptions
Sets the numberOfPassengers.
setPassengers(Vector) - Method in class vo.ReservationValue
Sets the Vector of String objects with passenger names.
setPrice(double) - Method in class vo.FlightValue
Sets the price.
setReservationId(int) - Method in class vo.ReservationValue
Sets the reservation ID.
setReturnDate(Date) - Method in class common.FlightSelection
Sets the returnDate.
setReturnDate(Date) - Method in class common.FlightOptions
Sets the returnDate.
setReturnDate(Date) - Method in class vo.ReservationValue
Sets the returnDate.
setReturningFlight(FlightValue) - Method in class common.FlightSelection
Sets the returningFlight.
setReturningFlight(FlightValue) - Method in class vo.ReservationValue
Sets the returningFlight.
setReturningFlights(Vector) - Method in class common.FlightOptions
Sets the returningFlights.
setServices(T3ServicesDef) - Method in class common.start.ArsStartup
Method required by the T3StartupDef interface.
setSessionContext(SessionContext) - Method in class ejb.authenticating.AuthenticateBean
 
setSessionContext(SessionContext) - Method in class ejb.reserving.ReserveAndBuyBean
 
setSessionContext(SessionContext) - Method in class ejb.search.SearchBean
 
setType(int) - Method in class vo.CreditCardValue
Sets the type.
startup(String, Hashtable) - Method in class common.start.ArsStartup
Method required by the T3StartupDef interface.

T

toString() - Method in class common.FlightOptions
 
toString() - Method in class vo.CreditCardValue
 
toString() - Method in class vo.FlightValue
 

V

ValidationException - exception common.ValidationException.
Exception class used to indicate that a transaction could not be performed because something was not valid.
ValidationException(String) - Constructor for class common.ValidationException
Constructor that takes a string msg and creates the exception.
VISA - Static variable in class vo.CreditCardValue
 
vo - package vo
 

A B C D E F G I L M R S T V

Copyright © 2003 Team Two.