Overview

Summary

ContactDonateImprint


12. STAY BOOKING MODULE (UI prompt)



Module Entities (9)

EntityAliasModuleGlobal Schema
(1) BookingBookingBookingModuleBookingCom
(2) CurrencyCurrencyCurrencyModuleBookingCom
(3) PropertyPropertyPropertyModuleBookingCom
(4) RoomRatePlanRoomRatePlanStayBookingModuleBookingCom
(5) RoomRatePlanPriceRoomRatePlanPriceCurrencyModuleBookingCom
(6) RoomTypeRoomTypeRoomTypeModuleBookingCom
(7) StayBookingStayBookingStayBookingModuleBookingCom
(8) StayBookingPriceBreakdownStayBookingPriceBreakdownCurrencyModuleBookingCom
(9) StayGuestStayGuestStayBookingModuleBookingCom

Module Interfaces (22)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /roomrateplan/{id}findRoomRatePlanById(id)StayBookingModuleGETRoomRatePlan
(2) /stayguest/{id}findStayGuestById(id)StayBookingModuleGETStayGuest
(3) /stayguest/{id}deleteStayGuestById(id)StayBookingModuleDELETEStayGuest
(4) /staybooking/{id}findStayBookingById(id)StayBookingModuleGETStayBooking
(5) /roomrateplan/{id}deleteRoomRatePlanById(id)StayBookingModuleDELETERoomRatePlan
(6) /roomrateplanfindAllRoomRatePlan()StayBookingModuleGETRoomRatePlan
(7) /staybookinginsertStayBooking(staybooking)StayBookingModulePOSTStayBooking
(8) /staybooking/roomrateplan/{id}findAllStayBookingOfRoomRatePlan(id)StayBookingModuleGETRoomRatePlan StayBooking
(9) /stayguest/staybooking/{id}findAllStayGuestOfStayBooking(id)StayBookingModuleGETStayBooking StayGuest
(10) /roomrateplan/roomtype/{id}findAllRoomRatePlanOfRoomType(id)StayBookingModuleGETRoomType RoomRatePlan
(11) /roomrateplaninsertRoomRatePlan(roomrateplan)StayBookingModulePOSTRoomRatePlan
(12) /stayguestinsertStayGuest(stayguest)StayBookingModulePOSTStayGuest
(13) /staybooking/booking/{id}findAllStayBookingOfBooking(id)StayBookingModuleGETBooking StayBooking
(14) /staybooking/roomtype/{id}findAllStayBookingOfRoomType(id)StayBookingModuleGETRoomType StayBooking
(15) /stayguestfindAllStayGuest()StayBookingModuleGETStayGuest
(16) /staybooking/currency/{id}findAllStayBookingOfCurrency(id)StayBookingModuleGETCurrency StayBooking
(17) /staybooking/{id}deleteStayBookingById(id)StayBookingModuleDELETEStayBooking
(18) /staybookingfindAllStayBooking()StayBookingModuleGETStayBooking
(19) /stayguest/{id}updateStayGuestById(stayguest)StayBookingModulePUTStayGuest
(20) /roomrateplan/{id}updateRoomRatePlanById(roomrateplan)StayBookingModulePUTRoomRatePlan
(21) /staybooking/{id}updateStayBookingById(staybooking)StayBookingModulePUTStayBooking
(22) /staybooking/property/{id}findAllStayBookingOfProperty(id)StayBookingModuleGETProperty StayBooking






12.1 ROOM RATE PLAN


RoomRatePlanStayBookingModuleBookingCom

Properties (9)

PropertyTypeEntityReferenceModule
(1) CreatedAtDATERoomRatePlan
(2) DescriptionSTRINGRoomRatePlan
(3) FreeCancellationUntilDaysINTRoomRatePlan
(4) IncludesBreakfastBOOLRoomRatePlan
(5) IsRefundableBOOLRoomRatePlan
(6) MaximumStayNightsINTRoomRatePlan
(7) MinimumStayNightsINTRoomRatePlan
(8) NameSTRINGRoomRatePlan
(9) RoomTypeINTRoomRatePlanRoomTypeRoomTypeModule





Example:

final RoomRatePlan roomrateplan = (RoomRatePlan) invokeModule(STAY_BOOKING_MODULE + "/roomrateplan/" + id, RoomRatePlan.class);
if (roomrateplan != null) {
    final RoomType roomtype1 = (RoomType) invokeModule(ROOM_TYPE_MODULE + "/roomtype/" + roomrateplan.getRoomType().getId(), RoomType.class);
    if (roomtype1 != null) {
        final Property property2 = (Property) invokeModule(PROPERTY_MODULE + "/property/" + roomtype1.getProperty().getId(), Property.class);
        if (property2 != null) {
            final LocationCity locationcity3 = (LocationCity) invokeModule(LOCATION_CITY_MODULE + "/locationcity/" + property2.getLocationCity().getId(), LocationCity.class);
            if (locationcity3 != null) {
                final LocationRegion locationregion4 = (LocationRegion) invokeModule(LOCATION_CITY_MODULE + "/locationregion/" + locationcity3.getLocationRegion().getId(), LocationRegion.class);
                if (locationregion4 != null) {
                    final LocationCountry locationcountry5 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationregion4.getLocationCountry().getId(), LocationCountry.class);
                    if (locationcountry5 != null) {
                    }
                }
                final LocationCountry locationcountry6 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationcity3.getLocationCountry().getId(), LocationCountry.class);
                if (locationcountry6 != null) {
                }
            }
            final PropertyType propertytype7 = (PropertyType) invokeModule(PROPERTY_MODULE + "/propertytype/" + property2.getPropertyType().getId(), PropertyType.class);
            if (propertytype7 != null) {
            }
            final LocationDistrict locationdistrict8 = (LocationDistrict) invokeModule(PROPERTY_MODULE + "/locationdistrict/" + property2.getLocationDistrict().getId(), LocationDistrict.class);
            if (locationdistrict8 != null) {
                final LocationCity locationcity9 = (LocationCity) invokeModule(LOCATION_CITY_MODULE + "/locationcity/" + locationdistrict8.getLocationCity().getId(), LocationCity.class);
                if (locationcity9 != null) {
                    final LocationRegion locationregion10 = (LocationRegion) invokeModule(LOCATION_CITY_MODULE + "/locationregion/" + locationcity9.getLocationRegion().getId(), LocationRegion.class);
                    if (locationregion10 != null) {
                        final LocationCountry locationcountry11 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationregion10.getLocationCountry().getId(), LocationCountry.class);
                        if (locationcountry11 != null) {
                        }
                    }
                    final LocationCountry locationcountry12 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationcity9.getLocationCountry().getId(), LocationCountry.class);
                    if (locationcountry12 != null) {
                    }
                }
            }
            final LocationCountry locationcountry13 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + property2.getLocationCountry().getId(), LocationCountry.class);
            if (locationcountry13 != null) {
            }
            final PartnerAccount partneraccount14 = (PartnerAccount) invokeModule(PARTNER_ACCOUNT_MODULE + "/partneraccount/" + property2.getPartnerAccount().getId(), PartnerAccount.class);
            if (partneraccount14 != null) {
            }
        }
        final RoomTypeCategory roomtypecategory15 = (RoomTypeCategory) invokeModule(CAR_RENTAL_LOCATION_MODULE + "/roomtypecategory/" + roomtype1.getRoomTypeCategory().getId(), RoomTypeCategory.class);
        if (roomtypecategory15 != null) {
        }
    }
}
return roomrateplan;


12.2 STAY BOOKING


StayBookingStayBookingModuleBookingCom

Properties (15)

PropertyTypeEntityReferenceModule
(1) AdultsINTStayBooking
(2) BaseAmountSTRINGStayBooking
(3) BookingINTStayBookingBookingBookingModule
(4) CancellationPolicySnapshotSTRINGStayBooking
(5) CheckInDateDATEStayBooking
(6) CheckOutDateDATEStayBooking
(7) ChildrenINTStayBooking
(8) CurrencyINTStayBookingCurrencyCurrencyModule
(9) FeesAmountSTRINGStayBooking
(10) NumberOfRoomsINTStayBooking
(11) PropertyINTStayBookingPropertyPropertyModule
(12) RoomRatePlanINTStayBookingRoomRatePlanStayBookingModule
(13) RoomTypeINTStayBookingRoomTypeRoomTypeModule
(14) SpecialRequestsSTRINGStayBooking
(15) TaxesAmountSTRINGStayBooking





Example:

final StayBooking staybooking = (StayBooking) invokeModule(STAY_BOOKING_MODULE + "/staybooking/" + id, StayBooking.class);
if (staybooking != null) {
    final Booking booking1 = (Booking) invokeModule(BOOKING_MODULE + "/booking/" + staybooking.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 RoomType roomtype6 = (RoomType) invokeModule(ROOM_TYPE_MODULE + "/roomtype/" + staybooking.getRoomType().getId(), RoomType.class);
    if (roomtype6 != null) {
        final Property property7 = (Property) invokeModule(PROPERTY_MODULE + "/property/" + roomtype6.getProperty().getId(), Property.class);
        if (property7 != null) {
            final LocationCity locationcity8 = (LocationCity) invokeModule(LOCATION_CITY_MODULE + "/locationcity/" + property7.getLocationCity().getId(), LocationCity.class);
            if (locationcity8 != null) {
                final LocationRegion locationregion9 = (LocationRegion) invokeModule(LOCATION_CITY_MODULE + "/locationregion/" + locationcity8.getLocationRegion().getId(), LocationRegion.class);
                if (locationregion9 != null) {
                    final LocationCountry locationcountry10 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationregion9.getLocationCountry().getId(), LocationCountry.class);
                    if (locationcountry10 != null) {
                    }
                }
                final LocationCountry locationcountry11 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationcity8.getLocationCountry().getId(), LocationCountry.class);
                if (locationcountry11 != null) {
                }
            }
            final PropertyType propertytype12 = (PropertyType) invokeModule(PROPERTY_MODULE + "/propertytype/" + property7.getPropertyType().getId(), PropertyType.class);
            if (propertytype12 != null) {
            }
            final LocationDistrict locationdistrict13 = (LocationDistrict) invokeModule(PROPERTY_MODULE + "/locationdistrict/" + property7.getLocationDistrict().getId(), LocationDistrict.class);
            if (locationdistrict13 != null) {
                final LocationCity locationcity14 = (LocationCity) invokeModule(LOCATION_CITY_MODULE + "/locationcity/" + locationdistrict13.getLocationCity().getId(), LocationCity.class);
                if (locationcity14 != null) {
                    final LocationRegion locationregion15 = (LocationRegion) invokeModule(LOCATION_CITY_MODULE + "/locationregion/" + locationcity14.getLocationRegion().getId(), LocationRegion.class);
                    if (locationregion15 != null) {
                        final LocationCountry locationcountry16 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationregion15.getLocationCountry().getId(), LocationCountry.class);
                        if (locationcountry16 != null) {
                        }
                    }
                    final LocationCountry locationcountry17 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationcity14.getLocationCountry().getId(), LocationCountry.class);
                    if (locationcountry17 != null) {
                    }
                }
            }
            final LocationCountry locationcountry18 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + property7.getLocationCountry().getId(), LocationCountry.class);
            if (locationcountry18 != null) {
            }
            final PartnerAccount partneraccount19 = (PartnerAccount) invokeModule(PARTNER_ACCOUNT_MODULE + "/partneraccount/" + property7.getPartnerAccount().getId(), PartnerAccount.class);
            if (partneraccount19 != null) {
            }
        }
        final RoomTypeCategory roomtypecategory20 = (RoomTypeCategory) invokeModule(CAR_RENTAL_LOCATION_MODULE + "/roomtypecategory/" + roomtype6.getRoomTypeCategory().getId(), RoomTypeCategory.class);
        if (roomtypecategory20 != null) {
        }
    }
    final RoomRatePlan roomrateplan21 = (RoomRatePlan) invokeModule(STAY_BOOKING_MODULE + "/roomrateplan/" + staybooking.getRoomRatePlan().getId(), RoomRatePlan.class);
    if (roomrateplan21 != null) {
        final RoomType roomtype22 = (RoomType) invokeModule(ROOM_TYPE_MODULE + "/roomtype/" + roomrateplan21.getRoomType().getId(), RoomType.class);
        if (roomtype22 != null) {
            final Property property23 = (Property) invokeModule(PROPERTY_MODULE + "/property/" + roomtype22.getProperty().getId(), Property.class);
            if (property23 != null) {
                final LocationCity locationcity24 = (LocationCity) invokeModule(LOCATION_CITY_MODULE + "/locationcity/" + property23.getLocationCity().getId(), LocationCity.class);
                if (locationcity24 != null) {
                    final LocationRegion locationregion25 = (LocationRegion) invokeModule(LOCATION_CITY_MODULE + "/locationregion/" + locationcity24.getLocationRegion().getId(), LocationRegion.class);
                    if (locationregion25 != null) {
                        final LocationCountry locationcountry26 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationregion25.getLocationCountry().getId(), LocationCountry.class);
                        if (locationcountry26 != null) {
                        }
                    }
                    final LocationCountry locationcountry27 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationcity24.getLocationCountry().getId(), LocationCountry.class);
                    if (locationcountry27 != null) {
                    }
                }
                final PropertyType propertytype28 = (PropertyType) invokeModule(PROPERTY_MODULE + "/propertytype/" + property23.getPropertyType().getId(), PropertyType.class);
                if (propertytype28 != null) {
                }
                final LocationDistrict locationdistrict29 = (LocationDistrict) invokeModule(PROPERTY_MODULE + "/locationdistrict/" + property23.getLocationDistrict().getId(), LocationDistrict.class);
                if (locationdistrict29 != null) {
                    final LocationCity locationcity30 = (LocationCity) invokeModule(LOCATION_CITY_MODULE + "/locationcity/" + locationdistrict29.getLocationCity().getId(), LocationCity.class);
                    if (locationcity30 != null) {
                        final LocationRegion locationregion31 = (LocationRegion) invokeModule(LOCATION_CITY_MODULE + "/locationregion/" + locationcity30.getLocationRegion().getId(), LocationRegion.class);
                        if (locationregion31 != null) {
                            final LocationCountry locationcountry32 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationregion31.getLocationCountry().getId(), LocationCountry.class);
                            if (locationcountry32 != null) {
                            }
                        }
                        final LocationCountry locationcountry33 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationcity30.getLocationCountry().getId(), LocationCountry.class);
                        if (locationcountry33 != null) {
                        }
                    }
                }
                final LocationCountry locationcountry34 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + property23.getLocationCountry().getId(), LocationCountry.class);
                if (locationcountry34 != null) {
                }
                final PartnerAccount partneraccount35 = (PartnerAccount) invokeModule(PARTNER_ACCOUNT_MODULE + "/partneraccount/" + property23.getPartnerAccount().getId(), PartnerAccount.class);
                if (partneraccount35 != null) {
                }
            }
            final RoomTypeCategory roomtypecategory36 = (RoomTypeCategory) invokeModule(CAR_RENTAL_LOCATION_MODULE + "/roomtypecategory/" + roomtype22.getRoomTypeCategory().getId(), RoomTypeCategory.class);
            if (roomtypecategory36 != null) {
            }
        }
    }
    final Currency currency37 = (Currency) invokeModule(CURRENCY_MODULE + "/currency/" + staybooking.getCurrency().getId(), Currency.class);
    if (currency37 != null) {
    }
    final Property property38 = (Property) invokeModule(PROPERTY_MODULE + "/property/" + staybooking.getProperty().getId(), Property.class);
    if (property38 != null) {
        final LocationCity locationcity39 = (LocationCity) invokeModule(LOCATION_CITY_MODULE + "/locationcity/" + property38.getLocationCity().getId(), LocationCity.class);
        if (locationcity39 != null) {
            final LocationRegion locationregion40 = (LocationRegion) invokeModule(LOCATION_CITY_MODULE + "/locationregion/" + locationcity39.getLocationRegion().getId(), LocationRegion.class);
            if (locationregion40 != null) {
                final LocationCountry locationcountry41 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationregion40.getLocationCountry().getId(), LocationCountry.class);
                if (locationcountry41 != null) {
                }
            }
            final LocationCountry locationcountry42 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationcity39.getLocationCountry().getId(), LocationCountry.class);
            if (locationcountry42 != null) {
            }
        }
        final PropertyType propertytype43 = (PropertyType) invokeModule(PROPERTY_MODULE + "/propertytype/" + property38.getPropertyType().getId(), PropertyType.class);
        if (propertytype43 != null) {
        }
        final LocationDistrict locationdistrict44 = (LocationDistrict) invokeModule(PROPERTY_MODULE + "/locationdistrict/" + property38.getLocationDistrict().getId(), LocationDistrict.class);
        if (locationdistrict44 != null) {
            final LocationCity locationcity45 = (LocationCity) invokeModule(LOCATION_CITY_MODULE + "/locationcity/" + locationdistrict44.getLocationCity().getId(), LocationCity.class);
            if (locationcity45 != null) {
                final LocationRegion locationregion46 = (LocationRegion) invokeModule(LOCATION_CITY_MODULE + "/locationregion/" + locationcity45.getLocationRegion().getId(), LocationRegion.class);
                if (locationregion46 != null) {
                    final LocationCountry locationcountry47 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationregion46.getLocationCountry().getId(), LocationCountry.class);
                    if (locationcountry47 != null) {
                    }
                }
                final LocationCountry locationcountry48 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationcity45.getLocationCountry().getId(), LocationCountry.class);
                if (locationcountry48 != null) {
                }
            }
        }
        final LocationCountry locationcountry49 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + property38.getLocationCountry().getId(), LocationCountry.class);
        if (locationcountry49 != null) {
        }
        final PartnerAccount partneraccount50 = (PartnerAccount) invokeModule(PARTNER_ACCOUNT_MODULE + "/partneraccount/" + property38.getPartnerAccount().getId(), PartnerAccount.class);
        if (partneraccount50 != null) {
        }
    }
}
return staybooking;


12.3 STAY GUEST


StayGuestStayBookingModuleBookingCom

Properties (6)

PropertyTypeEntityReferenceModule
(1) AgeINTStayGuest
(2) EmailSTRINGStayGuest
(3) FullNameSTRINGStayGuest
(4) IsPrimaryBOOLStayGuest
(5) PhoneNumberSTRINGStayGuest
(6) StayBookingINTStayGuestStayBookingStayBookingModule





Example:

final StayGuest stayguest = (StayGuest) invokeModule(STAY_BOOKING_MODULE + "/stayguest/" + id, StayGuest.class);
if (stayguest != null) {
    final StayBooking staybooking1 = (StayBooking) invokeModule(STAY_BOOKING_MODULE + "/staybooking/" + stayguest.getStayBooking().getId(), StayBooking.class);
    if (staybooking1 != null) {
        final Booking booking2 = (Booking) invokeModule(BOOKING_MODULE + "/booking/" + staybooking1.getBooking().getId(), Booking.class);
        if (booking2 != null) {
            final UserAccount useraccount3 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + booking2.getUserAccount().getId(), UserAccount.class);
            if (useraccount3 != null) {
                final Currency defaultcurrency4 = (Currency) invokeModule(CURRENCY_MODULE + "/currency/" + useraccount3.getDefaultCurrency().getId(), Currency.class);
                if (defaultcurrency4 != null) {
                }
                final Language defaultlanguage5 = (Language) invokeModule(LANGUAGE_MODULE + "/language/" + useraccount3.getDefaultLanguage().getId(), Language.class);
                if (defaultlanguage5 != null) {
                }
            }
            final Currency currency6 = (Currency) invokeModule(CURRENCY_MODULE + "/currency/" + booking2.getCurrency().getId(), Currency.class);
            if (currency6 != null) {
            }
        }
        final RoomType roomtype7 = (RoomType) invokeModule(ROOM_TYPE_MODULE + "/roomtype/" + staybooking1.getRoomType().getId(), RoomType.class);
        if (roomtype7 != null) {
            final Property property8 = (Property) invokeModule(PROPERTY_MODULE + "/property/" + roomtype7.getProperty().getId(), Property.class);
            if (property8 != null) {
                final LocationCity locationcity9 = (LocationCity) invokeModule(LOCATION_CITY_MODULE + "/locationcity/" + property8.getLocationCity().getId(), LocationCity.class);
                if (locationcity9 != null) {
                    final LocationRegion locationregion10 = (LocationRegion) invokeModule(LOCATION_CITY_MODULE + "/locationregion/" + locationcity9.getLocationRegion().getId(), LocationRegion.class);
                    if (locationregion10 != null) {
                        final LocationCountry locationcountry11 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationregion10.getLocationCountry().getId(), LocationCountry.class);
                        if (locationcountry11 != null) {
                        }
                    }
                    final LocationCountry locationcountry12 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationcity9.getLocationCountry().getId(), LocationCountry.class);
                    if (locationcountry12 != null) {
                    }
                }
                final PropertyType propertytype13 = (PropertyType) invokeModule(PROPERTY_MODULE + "/propertytype/" + property8.getPropertyType().getId(), PropertyType.class);
                if (propertytype13 != null) {
                }
                final LocationDistrict locationdistrict14 = (LocationDistrict) invokeModule(PROPERTY_MODULE + "/locationdistrict/" + property8.getLocationDistrict().getId(), LocationDistrict.class);
                if (locationdistrict14 != null) {
                    final LocationCity locationcity15 = (LocationCity) invokeModule(LOCATION_CITY_MODULE + "/locationcity/" + locationdistrict14.getLocationCity().getId(), LocationCity.class);
                    if (locationcity15 != null) {
                        final LocationRegion locationregion16 = (LocationRegion) invokeModule(LOCATION_CITY_MODULE + "/locationregion/" + locationcity15.getLocationRegion().getId(), LocationRegion.class);
                        if (locationregion16 != null) {
                            final LocationCountry locationcountry17 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationregion16.getLocationCountry().getId(), LocationCountry.class);
                            if (locationcountry17 != null) {
                            }
                        }
                        final LocationCountry locationcountry18 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationcity15.getLocationCountry().getId(), LocationCountry.class);
                        if (locationcountry18 != null) {
                        }
                    }
                }
                final LocationCountry locationcountry19 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + property8.getLocationCountry().getId(), LocationCountry.class);
                if (locationcountry19 != null) {
                }
                final PartnerAccount partneraccount20 = (PartnerAccount) invokeModule(PARTNER_ACCOUNT_MODULE + "/partneraccount/" + property8.getPartnerAccount().getId(), PartnerAccount.class);
                if (partneraccount20 != null) {
                }
            }
            final RoomTypeCategory roomtypecategory21 = (RoomTypeCategory) invokeModule(CAR_RENTAL_LOCATION_MODULE + "/roomtypecategory/" + roomtype7.getRoomTypeCategory().getId(), RoomTypeCategory.class);
            if (roomtypecategory21 != null) {
            }
        }
        final RoomRatePlan roomrateplan22 = (RoomRatePlan) invokeModule(STAY_BOOKING_MODULE + "/roomrateplan/" + staybooking1.getRoomRatePlan().getId(), RoomRatePlan.class);
        if (roomrateplan22 != null) {
            final RoomType roomtype23 = (RoomType) invokeModule(ROOM_TYPE_MODULE + "/roomtype/" + roomrateplan22.getRoomType().getId(), RoomType.class);
            if (roomtype23 != null) {
                final Property property24 = (Property) invokeModule(PROPERTY_MODULE + "/property/" + roomtype23.getProperty().getId(), Property.class);
                if (property24 != null) {
                    final LocationCity locationcity25 = (LocationCity) invokeModule(LOCATION_CITY_MODULE + "/locationcity/" + property24.getLocationCity().getId(), LocationCity.class);
                    if (locationcity25 != null) {
                        final LocationRegion locationregion26 = (LocationRegion) invokeModule(LOCATION_CITY_MODULE + "/locationregion/" + locationcity25.getLocationRegion().getId(), LocationRegion.class);
                        if (locationregion26 != null) {
                            final LocationCountry locationcountry27 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationregion26.getLocationCountry().getId(), LocationCountry.class);
                            if (locationcountry27 != null) {
                            }
                        }
                        final LocationCountry locationcountry28 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationcity25.getLocationCountry().getId(), LocationCountry.class);
                        if (locationcountry28 != null) {
                        }
                    }
                    final PropertyType propertytype29 = (PropertyType) invokeModule(PROPERTY_MODULE + "/propertytype/" + property24.getPropertyType().getId(), PropertyType.class);
                    if (propertytype29 != null) {
                    }
                    final LocationDistrict locationdistrict30 = (LocationDistrict) invokeModule(PROPERTY_MODULE + "/locationdistrict/" + property24.getLocationDistrict().getId(), LocationDistrict.class);
                    if (locationdistrict30 != null) {
                        final LocationCity locationcity31 = (LocationCity) invokeModule(LOCATION_CITY_MODULE + "/locationcity/" + locationdistrict30.getLocationCity().getId(), LocationCity.class);
                        if (locationcity31 != null) {
                            final LocationRegion locationregion32 = (LocationRegion) invokeModule(LOCATION_CITY_MODULE + "/locationregion/" + locationcity31.getLocationRegion().getId(), LocationRegion.class);
                            if (locationregion32 != null) {
                                final LocationCountry locationcountry33 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationregion32.getLocationCountry().getId(), LocationCountry.class);
                                if (locationcountry33 != null) {
                                }
                            }
                            final LocationCountry locationcountry34 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationcity31.getLocationCountry().getId(), LocationCountry.class);
                            if (locationcountry34 != null) {
                            }
                        }
                    }
                    final LocationCountry locationcountry35 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + property24.getLocationCountry().getId(), LocationCountry.class);
                    if (locationcountry35 != null) {
                    }
                    final PartnerAccount partneraccount36 = (PartnerAccount) invokeModule(PARTNER_ACCOUNT_MODULE + "/partneraccount/" + property24.getPartnerAccount().getId(), PartnerAccount.class);
                    if (partneraccount36 != null) {
                    }
                }
                final RoomTypeCategory roomtypecategory37 = (RoomTypeCategory) invokeModule(CAR_RENTAL_LOCATION_MODULE + "/roomtypecategory/" + roomtype23.getRoomTypeCategory().getId(), RoomTypeCategory.class);
                if (roomtypecategory37 != null) {
                }
            }
        }
        final Currency currency38 = (Currency) invokeModule(CURRENCY_MODULE + "/currency/" + staybooking1.getCurrency().getId(), Currency.class);
        if (currency38 != null) {
        }
        final Property property39 = (Property) invokeModule(PROPERTY_MODULE + "/property/" + staybooking1.getProperty().getId(), Property.class);
        if (property39 != null) {
            final LocationCity locationcity40 = (LocationCity) invokeModule(LOCATION_CITY_MODULE + "/locationcity/" + property39.getLocationCity().getId(), LocationCity.class);
            if (locationcity40 != null) {
                final LocationRegion locationregion41 = (LocationRegion) invokeModule(LOCATION_CITY_MODULE + "/locationregion/" + locationcity40.getLocationRegion().getId(), LocationRegion.class);
                if (locationregion41 != null) {
                    final LocationCountry locationcountry42 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationregion41.getLocationCountry().getId(), LocationCountry.class);
                    if (locationcountry42 != null) {
                    }
                }
                final LocationCountry locationcountry43 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationcity40.getLocationCountry().getId(), LocationCountry.class);
                if (locationcountry43 != null) {
                }
            }
            final PropertyType propertytype44 = (PropertyType) invokeModule(PROPERTY_MODULE + "/propertytype/" + property39.getPropertyType().getId(), PropertyType.class);
            if (propertytype44 != null) {
            }
            final LocationDistrict locationdistrict45 = (LocationDistrict) invokeModule(PROPERTY_MODULE + "/locationdistrict/" + property39.getLocationDistrict().getId(), LocationDistrict.class);
            if (locationdistrict45 != null) {
                final LocationCity locationcity46 = (LocationCity) invokeModule(LOCATION_CITY_MODULE + "/locationcity/" + locationdistrict45.getLocationCity().getId(), LocationCity.class);
                if (locationcity46 != null) {
                    final LocationRegion locationregion47 = (LocationRegion) invokeModule(LOCATION_CITY_MODULE + "/locationregion/" + locationcity46.getLocationRegion().getId(), LocationRegion.class);
                    if (locationregion47 != null) {
                        final LocationCountry locationcountry48 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationregion47.getLocationCountry().getId(), LocationCountry.class);
                        if (locationcountry48 != null) {
                        }
                    }
                    final LocationCountry locationcountry49 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationcity46.getLocationCountry().getId(), LocationCountry.class);
                    if (locationcountry49 != null) {
                    }
                }
            }
            final LocationCountry locationcountry50 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + property39.getLocationCountry().getId(), LocationCountry.class);
            if (locationcountry50 != null) {
            }
            final PartnerAccount partneraccount51 = (PartnerAccount) invokeModule(PARTNER_ACCOUNT_MODULE + "/partneraccount/" + property39.getPartnerAccount().getId(), PartnerAccount.class);
            if (partneraccount51 != null) {
            }
        }
    }
}
return stayguest;


Overview

Summary

ContactDonateImprint