Overview

Summary

ContactDonateImprint


4. CAR CATEGORY MODULE (UI prompt)



Module Entities (6)

EntityAliasModuleGlobal Schema
(1) CarCategoryCarCategoryCarCategoryModuleBookingCom
(2) CarRentalBookingCarRentalBookingCarRentalLocationModuleBookingCom
(3) CarRentalLocationCarRentalLocationCarRentalLocationModuleBookingCom
(4) CarRentalProductCarRentalProductCarCategoryModuleBookingCom
(5) RoomAvailabilityRoomAvailabilityCarCategoryModuleBookingCom
(6) RoomTypeRoomTypeRoomTypeModuleBookingCom

Module Interfaces (18)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /carrentalproduct/{id}findCarRentalProductById(id)CarCategoryModuleGETCarRentalProduct
(2) /carrentalproduct/carcategory/{id}findAllCarRentalProductOfCarCategory(id)CarCategoryModuleGETCarCategory CarRentalProduct
(3) /carrentalproductfindAllCarRentalProduct()CarCategoryModuleGETCarRentalProduct
(4) /roomavailability/{id}deleteRoomAvailabilityById(id)CarCategoryModuleDELETERoomAvailability
(5) /roomavailability/{id}updateRoomAvailabilityById(roomavailability)CarCategoryModulePUTRoomAvailability
(6) /carrentalproduct/{id}deleteCarRentalProductById(id)CarCategoryModuleDELETECarRentalProduct
(7) /carcategoryfindAllCarCategory()CarCategoryModuleGETCarCategory
(8) /roomavailability/{id}findRoomAvailabilityById(id)CarCategoryModuleGETRoomAvailability
(9) /carcategory/{id}findCarCategoryById(id)CarCategoryModuleGETCarCategory
(10) /carcategoryinsertCarCategory(carcategory)CarCategoryModulePOSTCarCategory
(11) /carrentalproduct/carrentallocation/{id}findAllCarRentalProductOfCarRentalLocation(id)CarCategoryModuleGETCarRentalLocation CarRentalProduct
(12) /carcategory/{id}updateCarCategoryById(carcategory)CarCategoryModulePUTCarCategory
(13) /roomavailabilityinsertRoomAvailability(roomavailability)CarCategoryModulePOSTRoomAvailability
(14) /roomavailabilityfindAllRoomAvailability()CarCategoryModuleGETRoomAvailability
(15) /carcategory/{id}deleteCarCategoryById(id)CarCategoryModuleDELETECarCategory
(16) /carrentalproductinsertCarRentalProduct(carrentalproduct)CarCategoryModulePOSTCarRentalProduct
(17) /roomavailability/roomtype/{id}findAllRoomAvailabilityOfRoomType(id)CarCategoryModuleGETRoomType RoomAvailability
(18) /carrentalproduct/{id}updateCarRentalProductById(carrentalproduct)CarCategoryModulePUTCarRentalProduct






4.1 CAR CATEGORY


CarCategoryCarCategoryModuleBookingCom

Properties (3)

PropertyTypeEntityReferenceModule
(1) CodeSTRINGCarCategory
(2) DescriptionSTRINGCarCategory
(3) NameSTRINGCarCategory





Example:

final CarCategory carcategory = (CarCategory) invokeModule(CAR_CATEGORY_MODULE + "/carcategory/" + id, CarCategory.class);
if (carcategory != null) {
}
return carcategory;


4.2 CAR RENTAL PRODUCT


CarRentalProductCarCategoryModuleBookingCom

Properties (8)

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





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;


4.3 ROOM AVAILABILITY


RoomAvailabilityCarCategoryModuleBookingCom

Properties (6)

PropertyTypeEntityReferenceModule
(1) ClosedForArrivalBOOLRoomAvailability
(2) ClosedForDepartureBOOLRoomAvailability
(3) DateDATERoomAvailability
(4) RoomTypeINTRoomAvailabilityRoomTypeRoomTypeModule
(5) SoldInventoryINTRoomAvailability
(6) TotalInventoryINTRoomAvailability





Example:

final RoomAvailability roomavailability = (RoomAvailability) invokeModule(CAR_CATEGORY_MODULE + "/roomavailability/" + id, RoomAvailability.class);
if (roomavailability != null) {
    final RoomType roomtype1 = (RoomType) invokeModule(ROOM_TYPE_MODULE + "/roomtype/" + roomavailability.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 roomavailability;


Overview

Summary

ContactDonateImprint