Overview

Summary

ContactDonateImprint


Appendix E-35: ROOM TYPE (UI prompt)


RoomTypeRoomTypeModuleBookingCom

Properties (10)

PropertyTypeEntityReferenceModule
(1) BedConfigurationSTRINGRoomType
(2) CreatedAtDATERoomType
(3) DescriptionSTRINGRoomType
(4) MaxAdultsINTRoomType
(5) MaxChildrenINTRoomType
(6) MaxOccupancyINTRoomType
(7) NameSTRINGRoomType
(8) PropertyINTRoomTypePropertyPropertyModule
(9) RoomTypeCategoryINTRoomTypeRoomTypeCategoryCarRentalLocationModule
(10) SizeSquareMetersSTRINGRoomType


Module Interfaces (13)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /roomavailability/roomtype/{id}findAllRoomAvailabilityOfRoomType(id)CarCategoryModuleGETRoomType RoomAvailability
(2) /roomunit/roomtype/{id}findAllRoomUnitOfRoomType(id)RoomTypeModuleGETRoomType RoomUnit
(3) /roomtype/property/{id}findAllRoomTypeOfProperty(id)RoomTypeModuleGETProperty RoomType
(4) /roomtype/{id}findRoomTypeById(id)RoomTypeModuleGETRoomType
(5) /roomtype/{id}updateRoomTypeById(roomtype)RoomTypeModulePUTRoomType
(6) /roomtypeinsertRoomType(roomtype)RoomTypeModulePOSTRoomType
(7) /roomtypeamenity/roomtype/{id}findAllRoomTypeAmenityOfRoomType(id)RoomTypeModuleGETRoomType RoomTypeAmenity
(8) /roomtype/{id}deleteRoomTypeById(id)RoomTypeModuleDELETERoomType
(9) /roomtype/roomtypecategory/{id}findAllRoomTypeOfRoomTypeCategory(id)RoomTypeModuleGETRoomTypeCategory RoomType
(10) /roomtypephoto/roomtype/{id}findAllRoomTypePhotoOfRoomType(id)RoomTypeModuleGETRoomType RoomTypePhoto
(11) /roomtypefindAllRoomType()RoomTypeModuleGETRoomType
(12) /roomrateplan/roomtype/{id}findAllRoomRatePlanOfRoomType(id)StayBookingModuleGETRoomType RoomRatePlan
(13) /staybooking/roomtype/{id}findAllStayBookingOfRoomType(id)StayBookingModuleGETRoomType StayBooking





Example:

final RoomType roomtype = (RoomType) invokeModule(ROOM_TYPE_MODULE + "/roomtype/" + id, RoomType.class);
if (roomtype != null) {
    final Property property1 = (Property) invokeModule(PROPERTY_MODULE + "/property/" + roomtype.getProperty().getId(), Property.class);
    if (property1 != null) {
        final LocationCity locationcity2 = (LocationCity) invokeModule(LOCATION_CITY_MODULE + "/locationcity/" + property1.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 PropertyType propertytype6 = (PropertyType) invokeModule(PROPERTY_MODULE + "/propertytype/" + property1.getPropertyType().getId(), PropertyType.class);
        if (propertytype6 != null) {
        }
        final LocationDistrict locationdistrict7 = (LocationDistrict) invokeModule(PROPERTY_MODULE + "/locationdistrict/" + property1.getLocationDistrict().getId(), LocationDistrict.class);
        if (locationdistrict7 != null) {
            final LocationCity locationcity8 = (LocationCity) invokeModule(LOCATION_CITY_MODULE + "/locationcity/" + locationdistrict7.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 LocationCountry locationcountry12 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + property1.getLocationCountry().getId(), LocationCountry.class);
        if (locationcountry12 != null) {
        }
        final PartnerAccount partneraccount13 = (PartnerAccount) invokeModule(PARTNER_ACCOUNT_MODULE + "/partneraccount/" + property1.getPartnerAccount().getId(), PartnerAccount.class);
        if (partneraccount13 != null) {
        }
    }
    final RoomTypeCategory roomtypecategory14 = (RoomTypeCategory) invokeModule(CAR_RENTAL_LOCATION_MODULE + "/roomtypecategory/" + roomtype.getRoomTypeCategory().getId(), RoomTypeCategory.class);
    if (roomtypecategory14 != null) {
    }
}
return roomtype;


Overview

Summary

ContactDonateImprint