Overview

Summary

ContactDonateImprint


Appendix E-2: FLIGHT BOOKING (UI prompt)


FlightBookingCurrencyModuleBookingCom

Properties (5)

PropertyTypeEntityReferenceModule
(1) BookingINTFlightBookingBookingBookingModule
(2) CabinClassSTRINGFlightBooking
(3) CurrencyINTFlightBookingCurrencyCurrencyModule
(4) PnrCodeSTRINGFlightBooking
(5) TotalAmountSTRINGFlightBooking


Module Interfaces (9)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /flightbookingsegment/flightbooking/{id}findAllFlightBookingSegmentOfFlightBooking(id)AirportModuleGETFlightBooking FlightBookingSegment
(2) /flightbooking/currency/{id}findAllFlightBookingOfCurrency(id)CurrencyModuleGETCurrency FlightBooking
(3) /flightbookinginsertFlightBooking(flightbooking)CurrencyModulePOSTFlightBooking
(4) /flightbookingfindAllFlightBooking()CurrencyModuleGETFlightBooking
(5) /flightbooking/{id}findFlightBookingById(id)CurrencyModuleGETFlightBooking
(6) /flightbooking/{id}deleteFlightBookingById(id)CurrencyModuleDELETEFlightBooking
(7) /flightbooking/{id}updateFlightBookingById(flightbooking)CurrencyModulePUTFlightBooking
(8) /flightbooking/booking/{id}findAllFlightBookingOfBooking(id)CurrencyModuleGETBooking FlightBooking
(9) /flightpassenger/flightbooking/{id}findAllFlightPassengerOfFlightBooking(id)LocationCityModuleGETFlightBooking FlightPassenger





Example:

final FlightBooking flightbooking = (FlightBooking) invokeModule(CURRENCY_MODULE + "/flightbooking/" + id, FlightBooking.class);
if (flightbooking != null) {
    final Booking booking1 = (Booking) invokeModule(BOOKING_MODULE + "/booking/" + flightbooking.getBooking().getId(), Booking.class);
    if (booking1 != null) {
        final UserAccount useraccount2 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + booking1.getUserAccount().getId(), UserAccount.class);
        if (useraccount2 != null) {
            final Currency defaultcurrency3 = (Currency) invokeModule(CURRENCY_MODULE + "/currency/" + useraccount2.getDefaultCurrency().getId(), Currency.class);
            if (defaultcurrency3 != null) {
            }
            final Language defaultlanguage4 = (Language) invokeModule(LANGUAGE_MODULE + "/language/" + useraccount2.getDefaultLanguage().getId(), Language.class);
            if (defaultlanguage4 != null) {
            }
        }
        final Currency currency5 = (Currency) invokeModule(CURRENCY_MODULE + "/currency/" + booking1.getCurrency().getId(), Currency.class);
        if (currency5 != null) {
        }
    }
    final Currency currency6 = (Currency) invokeModule(CURRENCY_MODULE + "/currency/" + flightbooking.getCurrency().getId(), Currency.class);
    if (currency6 != null) {
    }
}
return flightbooking;


Overview

Summary

ContactDonateImprint