Overview

Summary

ContactDonateImprint


Appendix E-38: PROPERTY POLICY (UI prompt)


PropertyPolicyPropertyModuleBookingCom

Properties (7)

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


Module Interfaces (6)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /propertypolicy/{id}findPropertyPolicyById(id)PropertyModuleGETPropertyPolicy
(2) /propertypolicy/{id}deletePropertyPolicyById(id)PropertyModuleDELETEPropertyPolicy
(3) /propertypolicy/{id}updatePropertyPolicyById(propertypolicy)PropertyModulePUTPropertyPolicy
(4) /propertypolicyfindAllPropertyPolicy()PropertyModuleGETPropertyPolicy
(5) /propertypolicy/property/{id}findAllPropertyPolicyOfProperty(id)PropertyModuleGETProperty PropertyPolicy
(6) /propertypolicyinsertPropertyPolicy(propertypolicy)PropertyModulePOSTPropertyPolicy





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;


Overview

Summary

ContactDonateImprint