Overview

Summary

ContactDonateImprint


11. ROOM TYPE MODULE (UI prompt)



Module Entities (11)

EntityAliasModuleGlobal Schema
(1) AmenityAmenityRoomTypeModuleBookingCom
(2) PropertyPropertyPropertyModuleBookingCom
(3) PropertyAmenityPropertyAmenityPropertyModuleBookingCom
(4) RoomAvailabilityRoomAvailabilityCarCategoryModuleBookingCom
(5) RoomRatePlanRoomRatePlanStayBookingModuleBookingCom
(6) RoomTypeRoomTypeRoomTypeModuleBookingCom
(7) RoomTypeAmenityRoomTypeAmenityRoomTypeModuleBookingCom
(8) RoomTypeCategoryRoomTypeCategoryCarRentalLocationModuleBookingCom
(9) RoomTypePhotoRoomTypePhotoRoomTypeModuleBookingCom
(10) RoomUnitRoomUnitRoomTypeModuleBookingCom
(11) StayBookingStayBookingStayBookingModuleBookingCom

Module Interfaces (31)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /roomtypeinsertRoomType(roomtype)RoomTypeModulePOSTRoomType
(2) /roomtypephoto/roomtype/{id}findAllRoomTypePhotoOfRoomType(id)RoomTypeModuleGETRoomType RoomTypePhoto
(3) /roomunit/{id}deleteRoomUnitById(id)RoomTypeModuleDELETERoomUnit
(4) /roomtype/roomtypecategory/{id}findAllRoomTypeOfRoomTypeCategory(id)RoomTypeModuleGETRoomTypeCategory RoomType
(5) /amenityfindAllAmenity()RoomTypeModuleGETAmenity
(6) /roomtypeamenityinsertRoomTypeAmenity(roomtypeamenity)RoomTypeModulePOSTRoomTypeAmenity
(7) /roomtype/{id}deleteRoomTypeById(id)RoomTypeModuleDELETERoomType
(8) /roomunit/roomtype/{id}findAllRoomUnitOfRoomType(id)RoomTypeModuleGETRoomType RoomUnit
(9) /amenity/{id}findAmenityById(id)RoomTypeModuleGETAmenity
(10) /roomunitfindAllRoomUnit()RoomTypeModuleGETRoomUnit
(11) /roomunit/{id}findRoomUnitById(id)RoomTypeModuleGETRoomUnit
(12) /roomtypeamenity/amenity/{id}findAllRoomTypeAmenityOfAmenity(id)RoomTypeModuleGETAmenity RoomTypeAmenity
(13) /roomtypephoto/{id}findRoomTypePhotoById(id)RoomTypeModuleGETRoomTypePhoto
(14) /roomtypephotoinsertRoomTypePhoto(roomtypephoto)RoomTypeModulePOSTRoomTypePhoto
(15) /roomtype/property/{id}findAllRoomTypeOfProperty(id)RoomTypeModuleGETProperty RoomType
(16) /amenity/{id}deleteAmenityById(id)RoomTypeModuleDELETEAmenity
(17) /roomtypeamenityfindAllRoomTypeAmenity()RoomTypeModuleGETRoomTypeAmenity
(18) /roomtypeamenity/{id}findRoomTypeAmenityById(id)RoomTypeModuleGETRoomTypeAmenity
(19) /amenity/{id}updateAmenityById(amenity)RoomTypeModulePUTAmenity
(20) /roomtypeamenity/roomtype/{id}findAllRoomTypeAmenityOfRoomType(id)RoomTypeModuleGETRoomType RoomTypeAmenity
(21) /roomtypefindAllRoomType()RoomTypeModuleGETRoomType
(22) /roomtypeamenity/{id}deleteRoomTypeAmenityById(id)RoomTypeModuleDELETERoomTypeAmenity
(23) /roomtypephoto/{id}deleteRoomTypePhotoById(id)RoomTypeModuleDELETERoomTypePhoto
(24) /roomtype/{id}findRoomTypeById(id)RoomTypeModuleGETRoomType
(25) /amenityinsertAmenity(amenity)RoomTypeModulePOSTAmenity
(26) /roomtypephotofindAllRoomTypePhoto()RoomTypeModuleGETRoomTypePhoto
(27) /roomtypeamenity/{id}updateRoomTypeAmenityById(roomtypeamenity)RoomTypeModulePUTRoomTypeAmenity
(28) /roomtypephoto/{id}updateRoomTypePhotoById(roomtypephoto)RoomTypeModulePUTRoomTypePhoto
(29) /roomunitinsertRoomUnit(roomunit)RoomTypeModulePOSTRoomUnit
(30) /roomunit/{id}updateRoomUnitById(roomunit)RoomTypeModulePUTRoomUnit
(31) /roomtype/{id}updateRoomTypeById(roomtype)RoomTypeModulePUTRoomType






11.1 AMENITY


AmenityRoomTypeModuleBookingCom

Properties (3)

PropertyTypeEntityReferenceModule
(1) CodeSTRINGAmenity
(2) DescriptionSTRINGAmenity
(3) NameSTRINGAmenity





Example:

final Amenity amenity = (Amenity) invokeModule(ROOM_TYPE_MODULE + "/amenity/" + id, Amenity.class);
if (amenity != null) {
}
return amenity;


11.2 ROOM TYPE


RoomTypeRoomTypeModuleBookingCom

Properties (10)

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





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;


11.3 ROOM TYPE AMENITY


RoomTypeAmenityRoomTypeModuleBookingCom

Properties (3)

PropertyTypeEntityReferenceModule
(1) AdditionalInfoSTRINGRoomTypeAmenity
(2) AmenityINTRoomTypeAmenityAmenityRoomTypeModule
(3) RoomTypeINTRoomTypeAmenityRoomTypeRoomTypeModule





Example:

final RoomTypeAmenity roomtypeamenity = (RoomTypeAmenity) invokeModule(ROOM_TYPE_MODULE + "/roomtypeamenity/" + id, RoomTypeAmenity.class);
if (roomtypeamenity != null) {
    final Amenity amenity1 = (Amenity) invokeModule(ROOM_TYPE_MODULE + "/amenity/" + roomtypeamenity.getAmenity().getId(), Amenity.class);
    if (amenity1 != null) {
    }
    final RoomType roomtype2 = (RoomType) invokeModule(ROOM_TYPE_MODULE + "/roomtype/" + roomtypeamenity.getRoomType().getId(), RoomType.class);
    if (roomtype2 != null) {
        final Property property3 = (Property) invokeModule(PROPERTY_MODULE + "/property/" + roomtype2.getProperty().getId(), Property.class);
        if (property3 != null) {
            final LocationCity locationcity4 = (LocationCity) invokeModule(LOCATION_CITY_MODULE + "/locationcity/" + property3.getLocationCity().getId(), LocationCity.class);
            if (locationcity4 != null) {
                final LocationRegion locationregion5 = (LocationRegion) invokeModule(LOCATION_CITY_MODULE + "/locationregion/" + locationcity4.getLocationRegion().getId(), LocationRegion.class);
                if (locationregion5 != null) {
                    final LocationCountry locationcountry6 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationregion5.getLocationCountry().getId(), LocationCountry.class);
                    if (locationcountry6 != null) {
                    }
                }
                final LocationCountry locationcountry7 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationcity4.getLocationCountry().getId(), LocationCountry.class);
                if (locationcountry7 != null) {
                }
            }
            final PropertyType propertytype8 = (PropertyType) invokeModule(PROPERTY_MODULE + "/propertytype/" + property3.getPropertyType().getId(), PropertyType.class);
            if (propertytype8 != null) {
            }
            final LocationDistrict locationdistrict9 = (LocationDistrict) invokeModule(PROPERTY_MODULE + "/locationdistrict/" + property3.getLocationDistrict().getId(), LocationDistrict.class);
            if (locationdistrict9 != null) {
                final LocationCity locationcity10 = (LocationCity) invokeModule(LOCATION_CITY_MODULE + "/locationcity/" + locationdistrict9.getLocationCity().getId(), LocationCity.class);
                if (locationcity10 != null) {
                    final LocationRegion locationregion11 = (LocationRegion) invokeModule(LOCATION_CITY_MODULE + "/locationregion/" + locationcity10.getLocationRegion().getId(), LocationRegion.class);
                    if (locationregion11 != null) {
                        final LocationCountry locationcountry12 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationregion11.getLocationCountry().getId(), LocationCountry.class);
                        if (locationcountry12 != null) {
                        }
                    }
                    final LocationCountry locationcountry13 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationcity10.getLocationCountry().getId(), LocationCountry.class);
                    if (locationcountry13 != null) {
                    }
                }
            }
            final LocationCountry locationcountry14 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + property3.getLocationCountry().getId(), LocationCountry.class);
            if (locationcountry14 != null) {
            }
            final PartnerAccount partneraccount15 = (PartnerAccount) invokeModule(PARTNER_ACCOUNT_MODULE + "/partneraccount/" + property3.getPartnerAccount().getId(), PartnerAccount.class);
            if (partneraccount15 != null) {
            }
        }
        final RoomTypeCategory roomtypecategory16 = (RoomTypeCategory) invokeModule(CAR_RENTAL_LOCATION_MODULE + "/roomtypecategory/" + roomtype2.getRoomTypeCategory().getId(), RoomTypeCategory.class);
        if (roomtypecategory16 != null) {
        }
    }
}
return roomtypeamenity;


11.4 ROOM TYPE PHOTO


RoomTypePhotoRoomTypeModuleBookingCom

Properties (4)

PropertyTypeEntityReferenceModule
(1) CaptionSTRINGRoomTypePhoto
(2) RoomTypeINTRoomTypePhotoRoomTypeRoomTypeModule
(3) SortOrderINTRoomTypePhoto
(4) UrlSTRINGRoomTypePhoto





Example:

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


11.5 ROOM UNIT


RoomUnitRoomTypeModuleBookingCom

Properties (3)

PropertyTypeEntityReferenceModule
(1) IsActiveBOOLRoomUnit
(2) RoomTypeINTRoomUnitRoomTypeRoomTypeModule
(3) UnitCodeSTRINGRoomUnit





Example:

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


Overview

Summary

ContactDonateImprint