Overview

Summary

ContactDonateImprint


Appendix E-26: PROPERTY PHOTO (UI prompt)


PropertyPhotoAttractionBookingModuleBookingCom

Properties (5)

PropertyTypeEntityReferenceModule
(1) CaptionSTRINGPropertyPhoto
(2) IsMainBOOLPropertyPhoto
(3) PropertyINTPropertyPhotoPropertyPropertyModule
(4) SortOrderINTPropertyPhoto
(5) UrlSTRINGPropertyPhoto


Module Interfaces (6)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /propertyphoto/{id}deletePropertyPhotoById(id)AttractionBookingModuleDELETEPropertyPhoto
(2) /propertyphotofindAllPropertyPhoto()AttractionBookingModuleGETPropertyPhoto
(3) /propertyphoto/{id}findPropertyPhotoById(id)AttractionBookingModuleGETPropertyPhoto
(4) /propertyphoto/{id}updatePropertyPhotoById(propertyphoto)AttractionBookingModulePUTPropertyPhoto
(5) /propertyphotoinsertPropertyPhoto(propertyphoto)AttractionBookingModulePOSTPropertyPhoto
(6) /propertyphoto/property/{id}findAllPropertyPhotoOfProperty(id)AttractionBookingModuleGETProperty PropertyPhoto





Example:

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


Overview

Summary

ContactDonateImprint