Overview

Summary

ContactDonateImprint


10. PROPERTY MODULE (UI prompt)



Module Entities (13)

EntityAliasModuleGlobal Schema
(1) AmenityAmenityRoomTypeModuleBookingCom
(2) LocationCityLocationCityLocationCityModuleBookingCom
(3) LocationCountryLocationCountryLocationCityModuleBookingCom
(4) LocationDistrictLocationDistrictPropertyModuleBookingCom
(5) PartnerAccountPartnerAccountPartnerAccountModuleBookingCom
(6) PropertyPropertyPropertyModuleBookingCom
(7) PropertyAmenityPropertyAmenityPropertyModuleBookingCom
(8) PropertyPhotoPropertyPhotoAttractionBookingModuleBookingCom
(9) PropertyPolicyPropertyPolicyPropertyModuleBookingCom
(10) PropertyTypePropertyTypePropertyModuleBookingCom
(11) ReviewReviewLanguageModuleBookingCom
(12) RoomTypeRoomTypeRoomTypeModuleBookingCom
(13) StayBookingStayBookingStayBookingModuleBookingCom

Module Interfaces (34)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /locationdistrict/{id}findLocationDistrictById(id)PropertyModuleGETLocationDistrict
(2) /locationdistrict/{id}deleteLocationDistrictById(id)PropertyModuleDELETELocationDistrict
(3) /propertypolicy/{id}deletePropertyPolicyById(id)PropertyModuleDELETEPropertyPolicy
(4) /property/locationdistrict/{id}findAllPropertyOfLocationDistrict(id)PropertyModuleGETLocationDistrict Property
(5) /propertytype/{id}updatePropertyTypeById(propertytype)PropertyModulePUTPropertyType
(6) /propertyamenityfindAllPropertyAmenity()PropertyModuleGETPropertyAmenity
(7) /property/{id}findPropertyById(id)PropertyModuleGETProperty
(8) /locationdistrict/{id}updateLocationDistrictById(locationdistrict)PropertyModulePUTLocationDistrict
(9) /property/locationcity/{id}findAllPropertyOfLocationCity(id)PropertyModuleGETLocationCity Property
(10) /propertyamenity/amenity/{id}findAllPropertyAmenityOfAmenity(id)PropertyModuleGETAmenity PropertyAmenity
(11) /propertyamenity/{id}findPropertyAmenityById(id)PropertyModuleGETPropertyAmenity
(12) /propertyamenity/{id}deletePropertyAmenityById(id)PropertyModuleDELETEPropertyAmenity
(13) /property/propertytype/{id}findAllPropertyOfPropertyType(id)PropertyModuleGETPropertyType Property
(14) /property/{id}updatePropertyById(property)PropertyModulePUTProperty
(15) /locationdistrictinsertLocationDistrict(locationdistrict)PropertyModulePOSTLocationDistrict
(16) /locationdistrictfindAllLocationDistrict()PropertyModuleGETLocationDistrict
(17) /propertyamenity/property/{id}findAllPropertyAmenityOfProperty(id)PropertyModuleGETProperty PropertyAmenity
(18) /propertypolicy/{id}updatePropertyPolicyById(propertypolicy)PropertyModulePUTPropertyPolicy
(19) /property/locationcountry/{id}findAllPropertyOfLocationCountry(id)PropertyModuleGETLocationCountry Property
(20) /propertytype/{id}deletePropertyTypeById(id)PropertyModuleDELETEPropertyType
(21) /propertytypefindAllPropertyType()PropertyModuleGETPropertyType
(22) /propertypolicyfindAllPropertyPolicy()PropertyModuleGETPropertyPolicy
(23) /property/{id}deletePropertyById(id)PropertyModuleDELETEProperty
(24) /property/partneraccount/{id}findAllPropertyOfPartnerAccount(id)PropertyModuleGETPartnerAccount Property
(25) /propertytypeinsertPropertyType(propertytype)PropertyModulePOSTPropertyType
(26) /locationdistrict/locationcity/{id}findAllLocationDistrictOfLocationCity(id)PropertyModuleGETLocationCity LocationDistrict
(27) /propertypolicyinsertPropertyPolicy(propertypolicy)PropertyModulePOSTPropertyPolicy
(28) /propertypolicy/property/{id}findAllPropertyPolicyOfProperty(id)PropertyModuleGETProperty PropertyPolicy
(29) /propertyamenity/{id}updatePropertyAmenityById(propertyamenity)PropertyModulePUTPropertyAmenity
(30) /propertyamenityinsertPropertyAmenity(propertyamenity)PropertyModulePOSTPropertyAmenity
(31) /propertyfindAllProperty()PropertyModuleGETProperty
(32) /propertypolicy/{id}findPropertyPolicyById(id)PropertyModuleGETPropertyPolicy
(33) /propertyinsertProperty(property)PropertyModulePOSTProperty
(34) /propertytype/{id}findPropertyTypeById(id)PropertyModuleGETPropertyType






10.1 LOCATION DISTRICT


LocationDistrictPropertyModuleBookingCom

Properties (2)

PropertyTypeEntityReferenceModule
(1) LocationCityINTLocationDistrictLocationCityLocationCityModule
(2) NameSTRINGLocationDistrict





Example:

final LocationDistrict locationdistrict = (LocationDistrict) invokeModule(PROPERTY_MODULE + "/locationdistrict/" + id, LocationDistrict.class);
if (locationdistrict != null) {
    final LocationCity locationcity1 = (LocationCity) invokeModule(LOCATION_CITY_MODULE + "/locationcity/" + locationdistrict.getLocationCity().getId(), LocationCity.class);
    if (locationcity1 != null) {
        final LocationRegion locationregion2 = (LocationRegion) invokeModule(LOCATION_CITY_MODULE + "/locationregion/" + locationcity1.getLocationRegion().getId(), LocationRegion.class);
        if (locationregion2 != null) {
            final LocationCountry locationcountry3 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationregion2.getLocationCountry().getId(), LocationCountry.class);
            if (locationcountry3 != null) {
            }
        }
        final LocationCountry locationcountry4 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationcity1.getLocationCountry().getId(), LocationCountry.class);
        if (locationcountry4 != null) {
        }
    }
}
return locationdistrict;


10.2 PROPERTY


PropertyPropertyModuleBookingCom

Properties (18)

PropertyTypeEntityReferenceModule
(1) AddressLine1STRINGProperty
(2) AddressLine2STRINGProperty
(3) CheckInFromSTRINGProperty
(4) CheckInToSTRINGProperty
(5) CheckOutFromSTRINGProperty
(6) CheckOutToSTRINGProperty
(7) CreatedAtDATEProperty
(8) IsActiveBOOLProperty
(9) LatitudeSTRINGProperty
(10) LocationCityINTPropertyLocationCityLocationCityModule
(11) LocationCountryINTPropertyLocationCountryLocationCityModule
(12) LocationDistrictINTPropertyLocationDistrictPropertyModule
(13) LongitudeSTRINGProperty
(14) NameSTRINGProperty
(15) PartnerAccountINTPropertyPartnerAccountPartnerAccountModule
(16) PostalCodeSTRINGProperty
(17) PropertyTypeINTPropertyPropertyTypePropertyModule
(18) StarRatingSTRINGProperty





Example:

final Property property = (Property) invokeModule(PROPERTY_MODULE + "/property/" + id, Property.class);
if (property != null) {
    final LocationCity locationcity1 = (LocationCity) invokeModule(LOCATION_CITY_MODULE + "/locationcity/" + property.getLocationCity().getId(), LocationCity.class);
    if (locationcity1 != null) {
        final LocationRegion locationregion2 = (LocationRegion) invokeModule(LOCATION_CITY_MODULE + "/locationregion/" + locationcity1.getLocationRegion().getId(), LocationRegion.class);
        if (locationregion2 != null) {
            final LocationCountry locationcountry3 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationregion2.getLocationCountry().getId(), LocationCountry.class);
            if (locationcountry3 != null) {
            }
        }
        final LocationCountry locationcountry4 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationcity1.getLocationCountry().getId(), LocationCountry.class);
        if (locationcountry4 != null) {
        }
    }
    final PropertyType propertytype5 = (PropertyType) invokeModule(PROPERTY_MODULE + "/propertytype/" + property.getPropertyType().getId(), PropertyType.class);
    if (propertytype5 != null) {
    }
    final LocationDistrict locationdistrict6 = (LocationDistrict) invokeModule(PROPERTY_MODULE + "/locationdistrict/" + property.getLocationDistrict().getId(), LocationDistrict.class);
    if (locationdistrict6 != null) {
        final LocationCity locationcity7 = (LocationCity) invokeModule(LOCATION_CITY_MODULE + "/locationcity/" + locationdistrict6.getLocationCity().getId(), LocationCity.class);
        if (locationcity7 != null) {
            final LocationRegion locationregion8 = (LocationRegion) invokeModule(LOCATION_CITY_MODULE + "/locationregion/" + locationcity7.getLocationRegion().getId(), LocationRegion.class);
            if (locationregion8 != null) {
                final LocationCountry locationcountry9 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationregion8.getLocationCountry().getId(), LocationCountry.class);
                if (locationcountry9 != null) {
                }
            }
            final LocationCountry locationcountry10 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationcity7.getLocationCountry().getId(), LocationCountry.class);
            if (locationcountry10 != null) {
            }
        }
    }
    final LocationCountry locationcountry11 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + property.getLocationCountry().getId(), LocationCountry.class);
    if (locationcountry11 != null) {
    }
    final PartnerAccount partneraccount12 = (PartnerAccount) invokeModule(PARTNER_ACCOUNT_MODULE + "/partneraccount/" + property.getPartnerAccount().getId(), PartnerAccount.class);
    if (partneraccount12 != null) {
    }
}
return property;


10.3 PROPERTY AMENITY


PropertyAmenityPropertyModuleBookingCom

Properties (4)

PropertyTypeEntityReferenceModule
(1) AdditionalInfoSTRINGPropertyAmenity
(2) AmenityINTPropertyAmenityAmenityRoomTypeModule
(3) IsFreeBOOLPropertyAmenity
(4) PropertyINTPropertyAmenityPropertyPropertyModule





Example:

final PropertyAmenity propertyamenity = (PropertyAmenity) invokeModule(PROPERTY_MODULE + "/propertyamenity/" + id, PropertyAmenity.class);
if (propertyamenity != null) {
    final Property property1 = (Property) invokeModule(PROPERTY_MODULE + "/property/" + propertyamenity.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 Amenity amenity14 = (Amenity) invokeModule(ROOM_TYPE_MODULE + "/amenity/" + propertyamenity.getAmenity().getId(), Amenity.class);
    if (amenity14 != null) {
    }
}
return propertyamenity;


10.4 PROPERTY POLICY


PropertyPolicyPropertyModuleBookingCom

Properties (7)

PropertyTypeEntityReferenceModule
(1) CancellationPolicySTRINGPropertyPolicy
(2) CheckInPolicySTRINGPropertyPolicy
(3) CheckOutPolicySTRINGPropertyPolicy
(4) ChildrenPolicySTRINGPropertyPolicy
(5) OtherPolicySTRINGPropertyPolicy
(6) PetsPolicySTRINGPropertyPolicy
(7) PropertyINTPropertyPolicyPropertyPropertyModule





Example:

final PropertyPolicy propertypolicy = (PropertyPolicy) invokeModule(PROPERTY_MODULE + "/propertypolicy/" + id, PropertyPolicy.class);
if (propertypolicy != null) {
    final Property property1 = (Property) invokeModule(PROPERTY_MODULE + "/property/" + propertypolicy.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) {
        }
    }
}
return propertypolicy;


10.5 PROPERTY TYPE


PropertyTypePropertyModuleBookingCom

Properties (2)

PropertyTypeEntityReferenceModule
(1) CodeSTRINGPropertyType
(2) NameSTRINGPropertyType





Example:

final PropertyType propertytype = (PropertyType) invokeModule(PROPERTY_MODULE + "/propertytype/" + id, PropertyType.class);
if (propertytype != null) {
}
return propertytype;


Overview

Summary

ContactDonateImprint