Overview

Summary

ContactDonateImprint


Appendix E-5: ROOM TYPE AMENITY (UI prompt)


RoomTypeAmenityRoomTypeModuleBookingCom

Properties (3)

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


Module Interfaces (7)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /roomtypeamenity/amenity/{id}findAllRoomTypeAmenityOfAmenity(id)RoomTypeModuleGETAmenity RoomTypeAmenity
(2) /roomtypeamenity/{id}deleteRoomTypeAmenityById(id)RoomTypeModuleDELETERoomTypeAmenity
(3) /roomtypeamenity/roomtype/{id}findAllRoomTypeAmenityOfRoomType(id)RoomTypeModuleGETRoomType RoomTypeAmenity
(4) /roomtypeamenityinsertRoomTypeAmenity(roomtypeamenity)RoomTypeModulePOSTRoomTypeAmenity
(5) /roomtypeamenity/{id}findRoomTypeAmenityById(id)RoomTypeModuleGETRoomTypeAmenity
(6) /roomtypeamenityfindAllRoomTypeAmenity()RoomTypeModuleGETRoomTypeAmenity
(7) /roomtypeamenity/{id}updateRoomTypeAmenityById(roomtypeamenity)RoomTypeModulePUTRoomTypeAmenity





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;


Overview

Summary

ContactDonateImprint