Overview

Summary

ContactDonateImprint


Appendix E-42: CAR RENTAL PRODUCT (UI prompt)


CarRentalProductCarCategoryModuleBookingCom

Properties (8)

PropertyTypeEntityReferenceModule
(1) AirConditioningBOOLCarRentalProduct
(2) CarCategoryINTCarRentalProductCarCategoryCarCategoryModule
(3) CarRentalLocationINTCarRentalProductCarRentalLocationCarRentalLocationModule
(4) DescriptionSTRINGCarRentalProduct
(5) DoorsINTCarRentalProduct
(6) NameSTRINGCarRentalProduct
(7) SeatsINTCarRentalProduct
(8) TransmissionSTRINGCarRentalProduct


Module Interfaces (8)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /carrentalproductfindAllCarRentalProduct()CarCategoryModuleGETCarRentalProduct
(2) /carrentalproduct/{id}findCarRentalProductById(id)CarCategoryModuleGETCarRentalProduct
(3) /carrentalproduct/{id}deleteCarRentalProductById(id)CarCategoryModuleDELETECarRentalProduct
(4) /carrentalproduct/{id}updateCarRentalProductById(carrentalproduct)CarCategoryModulePUTCarRentalProduct
(5) /carrentalproduct/carrentallocation/{id}findAllCarRentalProductOfCarRentalLocation(id)CarCategoryModuleGETCarRentalLocation CarRentalProduct
(6) /carrentalproduct/carcategory/{id}findAllCarRentalProductOfCarCategory(id)CarCategoryModuleGETCarCategory CarRentalProduct
(7) /carrentalproductinsertCarRentalProduct(carrentalproduct)CarCategoryModulePOSTCarRentalProduct
(8) /carrentalbooking/carrentalproduct/{id}findAllCarRentalBookingOfCarRentalProduct(id)CarRentalLocationModuleGETCarRentalProduct CarRentalBooking





Example:

final CarRentalProduct carrentalproduct = (CarRentalProduct) invokeModule(CAR_CATEGORY_MODULE + "/carrentalproduct/" + id, CarRentalProduct.class);
if (carrentalproduct != null) {
    final CarRentalLocation carrentallocation1 = (CarRentalLocation) invokeModule(CAR_RENTAL_LOCATION_MODULE + "/carrentallocation/" + carrentalproduct.getCarRentalLocation().getId(), CarRentalLocation.class);
    if (carrentallocation1 != null) {
        final LocationCity locationcity2 = (LocationCity) invokeModule(LOCATION_CITY_MODULE + "/locationcity/" + carrentallocation1.getLocationCity().getId(), LocationCity.class);
        if (locationcity2 != null) {
            final LocationRegion locationregion3 = (LocationRegion) invokeModule(LOCATION_CITY_MODULE + "/locationregion/" + locationcity2.getLocationRegion().getId(), LocationRegion.class);
            if (locationregion3 != null) {
                final LocationCountry locationcountry4 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationregion3.getLocationCountry().getId(), LocationCountry.class);
                if (locationcountry4 != null) {
                }
            }
            final LocationCountry locationcountry5 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationcity2.getLocationCountry().getId(), LocationCountry.class);
            if (locationcountry5 != null) {
            }
        }
        final PartnerAccount partneraccount6 = (PartnerAccount) invokeModule(PARTNER_ACCOUNT_MODULE + "/partneraccount/" + carrentallocation1.getPartnerAccount().getId(), PartnerAccount.class);
        if (partneraccount6 != null) {
        }
    }
    final CarCategory carcategory7 = (CarCategory) invokeModule(CAR_CATEGORY_MODULE + "/carcategory/" + carrentalproduct.getCarCategory().getId(), CarCategory.class);
    if (carcategory7 != null) {
    }
}
return carrentalproduct;


Overview

Summary

ContactDonateImprint