Class COM.ibm.jaws.app.trs.trswin2.TripManager
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class COM.ibm.jaws.app.trs.trswin2.TripManager

java.lang.Object
   |
   +----COM.ibm.jaws.app.trs.trswin2.TripManager

public class TripManager
extends Object

Variable Index

 o tripNum

Constructor Index

 o TripManager()

Method Index

 o changeUserOfTrip(String, Trip)
Change the user of a trip.
 o createTrip(String)
Create a new trip for user.
 o getAirlineURL(String, int)
Get airline URL
 o getAirplanePicture(String, int)
Get airplane picture URL
 o getCarList(String, String, Date, Date, String)
Get car rental list for city and date
 o getCarPicture(int)
Get car picture URL
 o getCarReservation()
Get car reservation
 o getCarURL(int)
Get car URL
 o getCityURL(String, int)
Get city URL
 o getDestAirportURL(String, int)
Get destination airport URL
 o getFlightList(String, String, String, String, Date, Date, String)
Get flight list for cities and date
 o getFlightReservation(String)
Get flight reservation
 o getHotelChainURL(int)
Get hotel chain URL
 o getHotelList(String, String, Date, Date, String)
Get hotel list for city and date
 o getHotelPicture(int)
Get hotel picture URL
 o getHotelReservation()
Get hotel reservation
 o getHotelURL(int)
Get hotel URL
 o getOrigAirportURL(String, int)
Get origination airport URL
 o getTrip(String, int)
Get trip for "Pending", "Confirmed", or "Taken" on row.
 o getTripList(String, String)
Get trip list for "Pending", "Confirmed", or "Taken" for user.
 o reserveCar(String, int, String)
Reserve car
 o reserveFlight(String, String, int, String, String)
Reserve flight
 o reserveHotel(String, int, String)
Reserve hotel

Variables

 o tripNum
  public static int tripNum

Constructors

 o TripManager
  public TripManager()

Methods

 o getTripList
  public static String getTripList(String state,
                                   String userId)
Get trip list for "Pending", "Confirmed", or "Taken" for user.
 o getTrip
  public static Trip getTrip(String state,
                             int row)
Get trip for "Pending", "Confirmed", or "Taken" on row.
 o createTrip
  public static Trip createTrip(String userId)
Create a new trip for user.
 o changeUserOfTrip
  public static void changeUserOfTrip(String userId,
                                      Trip trip)
Change the user of a trip.
 o getFlightList
  public static String getFlightList(String id,
                                     String userId,
                                     String origCity,
                                     String destCity,
                                     Date leaveDate,
                                     Date returnDate,
                                     String sclass)
Get flight list for cities and date
 o getAirlineURL
  public static String getAirlineURL(String id,
                                     int row)
Get airline URL
 o getOrigAirportURL
  public static String getOrigAirportURL(String id,
                                         int row)
Get origination airport URL
 o getDestAirportURL
  public static String getDestAirportURL(String id,
                                         int row)
Get destination airport URL
 o getAirplanePicture
  public static String getAirplanePicture(String id,
                                          int row)
Get airplane picture URL
 o reserveFlight
  public static String reserveFlight(String id,
                                     String userId,
                                     int row,
                                     String seat,
                                     String creditCardNumber)
Reserve flight
 o getFlightReservation
  public static Reservation getFlightReservation(String id)
Get flight reservation
 o getCarList
  public static String getCarList(String userId,
                                  String city,
                                  Date pickupDate,
                                  Date returnDate,
                                  String typeOfCar)
Get car rental list for city and date
 o getCarURL
  public static String getCarURL(int row)
Get car URL
 o getCarPicture
  public static String getCarPicture(int row)
Get car picture URL
 o reserveCar
  public static String reserveCar(String userId,
                                  int row,
                                  String creditCardNumber)
Reserve car
 o getCarReservation
  public static Reservation getCarReservation()
Get car reservation
 o getHotelList
  public static String getHotelList(String userId,
                                    String city,
                                    Date checkinDate,
                                    Date checkoutDate,
                                    String roomRate)
Get hotel list for city and date
 o getHotelURL
  public static String getHotelURL(int row)
Get hotel URL
 o getHotelChainURL
  public static String getHotelChainURL(int row)
Get hotel chain URL
 o getHotelPicture
  public static String getHotelPicture(int row)
Get hotel picture URL
 o reserveHotel
  public static String reserveHotel(String userId,
                                    int row,
                                    String creditCardNumber)
Reserve hotel
 o getHotelReservation
  public static Reservation getHotelReservation()
Get hotel reservation
 o getCityURL
  public static String getCityURL(String id,
                                  int row)
Get city URL

All Packages  Class Hierarchy  This Package  Previous  Next  Index