Overview

Summary

ContactDonateImprint


Appendix E-40: REVIEW (UI prompt)


ReviewLanguageModuleBookingCom

Properties (12)

PropertyTypeEntityReferenceModule
(1) AirportTransferProductINTReview
(2) AttractionINTReview
(3) BookingINTReviewBookingBookingModule
(4) CarRentalProductINTReview
(5) CreatedAtDATEReview
(6) IsPublicBOOLReview
(7) LanguageINTReviewLanguageLanguageModule
(8) OverallScoreSTRINGReview
(9) PropertyINTReviewPropertyPropertyModule
(10) TextSTRINGReview
(11) TitleSTRINGReview
(12) UserAccountINTReviewUserAccountUserAccountModule


Module Interfaces (10)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /review/{id}findReviewById(id)LanguageModuleGETReview
(2) /review/booking/{id}findAllReviewOfBooking(id)LanguageModuleGETBooking Review
(3) /review/{id}updateReviewById(review)LanguageModulePUTReview
(4) /review/useraccount/{id}findAllReviewOfUserAccount(id)LanguageModuleGETUserAccount Review
(5) /reviewinsertReview(review)LanguageModulePOSTReview
(6) /reviewscore/review/{id}findAllReviewScoreOfReview(id)LanguageModuleGETReview ReviewScore
(7) /review/language/{id}findAllReviewOfLanguage(id)LanguageModuleGETLanguage Review
(8) /review/{id}deleteReviewById(id)LanguageModuleDELETEReview
(9) /reviewfindAllReview()LanguageModuleGETReview
(10) /review/property/{id}findAllReviewOfProperty(id)LanguageModuleGETProperty Review





Example:

final Review review = (Review) invokeModule(LANGUAGE_MODULE + "/review/" + id, Review.class);
if (review != null) {
    final UserAccount useraccount1 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + review.getUserAccount().getId(), UserAccount.class);
    if (useraccount1 != null) {
        final Currency defaultcurrency2 = (Currency) invokeModule(CURRENCY_MODULE + "/currency/" + useraccount1.getDefaultCurrency().getId(), Currency.class);
        if (defaultcurrency2 != null) {
        }
        final Language defaultlanguage3 = (Language) invokeModule(LANGUAGE_MODULE + "/language/" + useraccount1.getDefaultLanguage().getId(), Language.class);
        if (defaultlanguage3 != null) {
        }
    }
    final Property property4 = (Property) invokeModule(PROPERTY_MODULE + "/property/" + review.getProperty().getId(), Property.class);
    if (property4 != null) {
        final LocationCity locationcity5 = (LocationCity) invokeModule(LOCATION_CITY_MODULE + "/locationcity/" + property4.getLocationCity().getId(), LocationCity.class);
        if (locationcity5 != null) {
            final LocationRegion locationregion6 = (LocationRegion) invokeModule(LOCATION_CITY_MODULE + "/locationregion/" + locationcity5.getLocationRegion().getId(), LocationRegion.class);
            if (locationregion6 != null) {
                final LocationCountry locationcountry7 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationregion6.getLocationCountry().getId(), LocationCountry.class);
                if (locationcountry7 != null) {
                }
            }
            final LocationCountry locationcountry8 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationcity5.getLocationCountry().getId(), LocationCountry.class);
            if (locationcountry8 != null) {
            }
        }
        final PropertyType propertytype9 = (PropertyType) invokeModule(PROPERTY_MODULE + "/propertytype/" + property4.getPropertyType().getId(), PropertyType.class);
        if (propertytype9 != null) {
        }
        final LocationDistrict locationdistrict10 = (LocationDistrict) invokeModule(PROPERTY_MODULE + "/locationdistrict/" + property4.getLocationDistrict().getId(), LocationDistrict.class);
        if (locationdistrict10 != null) {
            final LocationCity locationcity11 = (LocationCity) invokeModule(LOCATION_CITY_MODULE + "/locationcity/" + locationdistrict10.getLocationCity().getId(), LocationCity.class);
            if (locationcity11 != null) {
                final LocationRegion locationregion12 = (LocationRegion) invokeModule(LOCATION_CITY_MODULE + "/locationregion/" + locationcity11.getLocationRegion().getId(), LocationRegion.class);
                if (locationregion12 != null) {
                    final LocationCountry locationcountry13 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationregion12.getLocationCountry().getId(), LocationCountry.class);
                    if (locationcountry13 != null) {
                    }
                }
                final LocationCountry locationcountry14 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationcity11.getLocationCountry().getId(), LocationCountry.class);
                if (locationcountry14 != null) {
                }
            }
        }
        final LocationCountry locationcountry15 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + property4.getLocationCountry().getId(), LocationCountry.class);
        if (locationcountry15 != null) {
        }
        final PartnerAccount partneraccount16 = (PartnerAccount) invokeModule(PARTNER_ACCOUNT_MODULE + "/partneraccount/" + property4.getPartnerAccount().getId(), PartnerAccount.class);
        if (partneraccount16 != null) {
        }
    }
    final Booking booking17 = (Booking) invokeModule(BOOKING_MODULE + "/booking/" + review.getBooking().getId(), Booking.class);
    if (booking17 != null) {
        final UserAccount useraccount18 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + booking17.getUserAccount().getId(), UserAccount.class);
        if (useraccount18 != null) {
            final Currency defaultcurrency19 = (Currency) invokeModule(CURRENCY_MODULE + "/currency/" + useraccount18.getDefaultCurrency().getId(), Currency.class);
            if (defaultcurrency19 != null) {
            }
            final Language defaultlanguage20 = (Language) invokeModule(LANGUAGE_MODULE + "/language/" + useraccount18.getDefaultLanguage().getId(), Language.class);
            if (defaultlanguage20 != null) {
            }
        }
        final Currency currency21 = (Currency) invokeModule(CURRENCY_MODULE + "/currency/" + booking17.getCurrency().getId(), Currency.class);
        if (currency21 != null) {
        }
    }
    final Language language22 = (Language) invokeModule(LANGUAGE_MODULE + "/language/" + review.getLanguage().getId(), Language.class);
    if (language22 != null) {
    }
}
return review;


Overview

Summary

ContactDonateImprint