Overview

Summary

ContactDonateImprint


7. LANGUAGE MODULE (UI prompt)



Module Entities (7)

EntityAliasModuleGlobal Schema
(1) BookingBookingBookingModuleBookingCom
(2) LanguageLanguageLanguageModuleBookingCom
(3) PropertyPropertyPropertyModuleBookingCom
(4) ReviewReviewLanguageModuleBookingCom
(5) ReviewAspectReviewAspectLanguageModuleBookingCom
(6) ReviewScoreReviewScoreLanguageModuleBookingCom
(7) UserAccountUserAccountUserAccountModuleBookingCom

Module Interfaces (26)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /review/{id}findReviewById(id)LanguageModuleGETReview
(2) /reviewscorefindAllReviewScore()LanguageModuleGETReviewScore
(3) /review/language/{id}findAllReviewOfLanguage(id)LanguageModuleGETLanguage Review
(4) /reviewaspect/{id}deleteReviewAspectById(id)LanguageModuleDELETEReviewAspect
(5) /reviewscore/{id}updateReviewScoreById(reviewscore)LanguageModulePUTReviewScore
(6) /reviewscoreinsertReviewScore(reviewscore)LanguageModulePOSTReviewScore
(7) /language/{id}findLanguageById(id)LanguageModuleGETLanguage
(8) /review/booking/{id}findAllReviewOfBooking(id)LanguageModuleGETBooking Review
(9) /language/{id}updateLanguageById(language)LanguageModulePUTLanguage
(10) /language/{id}deleteLanguageById(id)LanguageModuleDELETELanguage
(11) /reviewscore/reviewaspect/{id}findAllReviewScoreOfReviewAspect(id)LanguageModuleGETReviewAspect ReviewScore
(12) /review/useraccount/{id}findAllReviewOfUserAccount(id)LanguageModuleGETUserAccount Review
(13) /reviewscore/review/{id}findAllReviewScoreOfReview(id)LanguageModuleGETReview ReviewScore
(14) /languagefindAllLanguage()LanguageModuleGETLanguage
(15) /languageinsertLanguage(language)LanguageModulePOSTLanguage
(16) /reviewscore/{id}deleteReviewScoreById(id)LanguageModuleDELETEReviewScore
(17) /review/{id}updateReviewById(review)LanguageModulePUTReview
(18) /review/{id}deleteReviewById(id)LanguageModuleDELETEReview
(19) /reviewfindAllReview()LanguageModuleGETReview
(20) /reviewaspect/{id}updateReviewAspectById(reviewaspect)LanguageModulePUTReviewAspect
(21) /reviewscore/{id}findReviewScoreById(id)LanguageModuleGETReviewScore
(22) /reviewinsertReview(review)LanguageModulePOSTReview
(23) /review/property/{id}findAllReviewOfProperty(id)LanguageModuleGETProperty Review
(24) /reviewaspect/{id}findReviewAspectById(id)LanguageModuleGETReviewAspect
(25) /reviewaspectinsertReviewAspect(reviewaspect)LanguageModulePOSTReviewAspect
(26) /reviewaspectfindAllReviewAspect()LanguageModuleGETReviewAspect






7.1 LANGUAGE


LanguageLanguageModuleBookingCom

Properties (3)

PropertyTypeEntityReferenceModule
(1) CodeSTRINGLanguage
(2) IsActiveBOOLLanguage
(3) NameSTRINGLanguage





Example:

final Language language = (Language) invokeModule(LANGUAGE_MODULE + "/language/" + id, Language.class);
if (language != null) {
}
return language;


7.2 REVIEW


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





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;


7.3 REVIEW ASPECT


ReviewAspectLanguageModuleBookingCom

Properties (2)

PropertyTypeEntityReferenceModule
(1) CodeSTRINGReviewAspect
(2) NameSTRINGReviewAspect





Example:

final ReviewAspect reviewaspect = (ReviewAspect) invokeModule(LANGUAGE_MODULE + "/reviewaspect/" + id, ReviewAspect.class);
if (reviewaspect != null) {
}
return reviewaspect;


7.4 REVIEW SCORE


ReviewScoreLanguageModuleBookingCom

Properties (3)

PropertyTypeEntityReferenceModule
(1) ReviewINTReviewScoreReviewLanguageModule
(2) ReviewAspectINTReviewScoreReviewAspectLanguageModule
(3) ScoreSTRINGReviewScore





Example:

final ReviewScore reviewscore = (ReviewScore) invokeModule(LANGUAGE_MODULE + "/reviewscore/" + id, ReviewScore.class);
if (reviewscore != null) {
    final ReviewAspect reviewaspect1 = (ReviewAspect) invokeModule(LANGUAGE_MODULE + "/reviewaspect/" + reviewscore.getReviewAspect().getId(), ReviewAspect.class);
    if (reviewaspect1 != null) {
    }
    final Review review2 = (Review) invokeModule(LANGUAGE_MODULE + "/review/" + reviewscore.getReview().getId(), Review.class);
    if (review2 != null) {
        final UserAccount useraccount3 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + review2.getUserAccount().getId(), UserAccount.class);
        if (useraccount3 != null) {
            final Currency defaultcurrency4 = (Currency) invokeModule(CURRENCY_MODULE + "/currency/" + useraccount3.getDefaultCurrency().getId(), Currency.class);
            if (defaultcurrency4 != null) {
            }
            final Language defaultlanguage5 = (Language) invokeModule(LANGUAGE_MODULE + "/language/" + useraccount3.getDefaultLanguage().getId(), Language.class);
            if (defaultlanguage5 != null) {
            }
        }
        final Property property6 = (Property) invokeModule(PROPERTY_MODULE + "/property/" + review2.getProperty().getId(), Property.class);
        if (property6 != null) {
            final LocationCity locationcity7 = (LocationCity) invokeModule(LOCATION_CITY_MODULE + "/locationcity/" + property6.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 PropertyType propertytype11 = (PropertyType) invokeModule(PROPERTY_MODULE + "/propertytype/" + property6.getPropertyType().getId(), PropertyType.class);
            if (propertytype11 != null) {
            }
            final LocationDistrict locationdistrict12 = (LocationDistrict) invokeModule(PROPERTY_MODULE + "/locationdistrict/" + property6.getLocationDistrict().getId(), LocationDistrict.class);
            if (locationdistrict12 != null) {
                final LocationCity locationcity13 = (LocationCity) invokeModule(LOCATION_CITY_MODULE + "/locationcity/" + locationdistrict12.getLocationCity().getId(), LocationCity.class);
                if (locationcity13 != null) {
                    final LocationRegion locationregion14 = (LocationRegion) invokeModule(LOCATION_CITY_MODULE + "/locationregion/" + locationcity13.getLocationRegion().getId(), LocationRegion.class);
                    if (locationregion14 != null) {
                        final LocationCountry locationcountry15 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationregion14.getLocationCountry().getId(), LocationCountry.class);
                        if (locationcountry15 != null) {
                        }
                    }
                    final LocationCountry locationcountry16 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationcity13.getLocationCountry().getId(), LocationCountry.class);
                    if (locationcountry16 != null) {
                    }
                }
            }
            final LocationCountry locationcountry17 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + property6.getLocationCountry().getId(), LocationCountry.class);
            if (locationcountry17 != null) {
            }
            final PartnerAccount partneraccount18 = (PartnerAccount) invokeModule(PARTNER_ACCOUNT_MODULE + "/partneraccount/" + property6.getPartnerAccount().getId(), PartnerAccount.class);
            if (partneraccount18 != null) {
            }
        }
        final Booking booking19 = (Booking) invokeModule(BOOKING_MODULE + "/booking/" + review2.getBooking().getId(), Booking.class);
        if (booking19 != null) {
            final UserAccount useraccount20 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + booking19.getUserAccount().getId(), UserAccount.class);
            if (useraccount20 != null) {
                final Currency defaultcurrency21 = (Currency) invokeModule(CURRENCY_MODULE + "/currency/" + useraccount20.getDefaultCurrency().getId(), Currency.class);
                if (defaultcurrency21 != null) {
                }
                final Language defaultlanguage22 = (Language) invokeModule(LANGUAGE_MODULE + "/language/" + useraccount20.getDefaultLanguage().getId(), Language.class);
                if (defaultlanguage22 != null) {
                }
            }
            final Currency currency23 = (Currency) invokeModule(CURRENCY_MODULE + "/currency/" + booking19.getCurrency().getId(), Currency.class);
            if (currency23 != null) {
            }
        }
        final Language language24 = (Language) invokeModule(LANGUAGE_MODULE + "/language/" + review2.getLanguage().getId(), Language.class);
        if (language24 != null) {
        }
    }
}
return reviewscore;


Overview

Summary

ContactDonateImprint