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
-
tripNum
-
-
TripManager()
-
-
changeUserOfTrip(String, Trip)
-
Change the user of a trip.
-
createTrip(String)
-
Create a new trip for user.
-
getAirlineURL(String, int)
-
Get airline URL
-
getAirplanePicture(String, int)
-
Get airplane picture URL
-
getCarList(String, String, Date, Date, String)
-
Get car rental list for city and date
-
getCarPicture(int)
-
Get car picture URL
-
getCarReservation()
-
Get car reservation
-
getCarURL(int)
-
Get car URL
-
getCityURL(String, int)
-
Get city URL
-
getDestAirportURL(String, int)
-
Get destination airport URL
-
getFlightList(String, String, String, String, Date, Date, String)
-
Get flight list for cities and date
-
getFlightReservation(String)
-
Get flight reservation
-
getHotelChainURL(int)
-
Get hotel chain URL
-
getHotelList(String, String, Date, Date, String)
-
Get hotel list for city and date
-
getHotelPicture(int)
-
Get hotel picture URL
-
getHotelReservation()
-
Get hotel reservation
-
getHotelURL(int)
-
Get hotel URL
-
getOrigAirportURL(String, int)
-
Get origination airport URL
-
getTrip(String, int)
-
Get trip for "Pending", "Confirmed", or "Taken"
on row.
-
getTripList(String, String)
-
Get trip list for "Pending", "Confirmed", or "Taken"
for user.
-
reserveCar(String, int, String)
-
Reserve car
-
reserveFlight(String, String, int, String, String)
-
Reserve flight
-
reserveHotel(String, int, String)
-
Reserve hotel
tripNum
public static int tripNum
TripManager
public TripManager()
getTripList
public static String getTripList(String state,
String userId)
- Get trip list for "Pending", "Confirmed", or "Taken"
for user.
getTrip
public static Trip getTrip(String state,
int row)
- Get trip for "Pending", "Confirmed", or "Taken"
on row.
createTrip
public static Trip createTrip(String userId)
- Create a new trip for user.
changeUserOfTrip
public static void changeUserOfTrip(String userId,
Trip trip)
- Change the user of a trip.
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
getAirlineURL
public static String getAirlineURL(String id,
int row)
- Get airline URL
getOrigAirportURL
public static String getOrigAirportURL(String id,
int row)
- Get origination airport URL
getDestAirportURL
public static String getDestAirportURL(String id,
int row)
- Get destination airport URL
getAirplanePicture
public static String getAirplanePicture(String id,
int row)
- Get airplane picture URL
reserveFlight
public static String reserveFlight(String id,
String userId,
int row,
String seat,
String creditCardNumber)
- Reserve flight
getFlightReservation
public static Reservation getFlightReservation(String id)
- Get flight reservation
getCarList
public static String getCarList(String userId,
String city,
Date pickupDate,
Date returnDate,
String typeOfCar)
- Get car rental list for city and date
getCarURL
public static String getCarURL(int row)
- Get car URL
getCarPicture
public static String getCarPicture(int row)
- Get car picture URL
reserveCar
public static String reserveCar(String userId,
int row,
String creditCardNumber)
- Reserve car
getCarReservation
public static Reservation getCarReservation()
- Get car reservation
getHotelList
public static String getHotelList(String userId,
String city,
Date checkinDate,
Date checkoutDate,
String roomRate)
- Get hotel list for city and date
getHotelURL
public static String getHotelURL(int row)
- Get hotel URL
getHotelChainURL
public static String getHotelChainURL(int row)
- Get hotel chain URL
getHotelPicture
public static String getHotelPicture(int row)
- Get hotel picture URL
reserveHotel
public static String reserveHotel(String userId,
int row,
String creditCardNumber)
- Reserve hotel
getHotelReservation
public static Reservation getHotelReservation()
- Get hotel reservation
getCityURL
public static String getCityURL(String id,
int row)
- Get city URL
All Packages Class Hierarchy This Package Previous Next Index