Overview

Summary

ContactDonateImprint


Appendix E-21: REVIEW (UI prompt)


ReviewMarketModuleAirbnb

Properties (11)

PropertyTypeEntityReferenceModule
(1) BookingLONGReviewBookingBookingModule
(2) CommentSTRINGReview
(3) CreatedAtDATEReview
(4) RatingCleanlinessDOUBLEReview
(5) RatingCommunicationDOUBLEReview
(6) RatingLocationDOUBLEReview
(7) RatingOverallDOUBLEReview
(8) RatingValueDOUBLEReview
(9) RevieweeLONGReview
(10) ReviewerLONGReview
(11) ReviewTypeSTRINGReview


Module Interfaces (6)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /reviewfindAllReview()MarketModuleGETReview
(2) /review/{id}deleteReviewById(id)MarketModuleDELETEReview
(3) /review/booking/{id}findAllReviewOfBooking(id)MarketModuleGETBooking Review
(4) /reviewinsertReview(review)MarketModulePOSTReview
(5) /review/{id}updateReviewById(review)MarketModulePUTReview
(6) /review/{id}findReviewById(id)MarketModuleGETReview





Example:

final Review review = (Review) invokeModule(MARKET_MODULE + "/review/" + id, Review.class);
if (review != null) {
    final Booking booking1 = (Booking) invokeModule(BOOKING_MODULE + "/booking/" + review.getBooking().getId(), Booking.class);
    if (booking1 != null) {
        final Listing listing2 = (Listing) invokeModule(LISTING_MODULE + "/listing/" + booking1.getListing().getId(), Listing.class);
        if (listing2 != null) {
            final Country country3 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + listing2.getCountry().getId(), Country.class);
            if (country3 != null) {
            }
            final City city4 = (City) invokeModule(LISTING_MODULE + "/city/" + listing2.getCity().getId(), City.class);
            if (city4 != null) {
                final Country country5 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + city4.getCountry().getId(), Country.class);
                if (country5 != null) {
                }
            }
            final HostProfile hostprofile6 = (HostProfile) invokeModule(HOST_PROFILE_MODULE + "/hostprofile/" + listing2.getHostProfile().getId(), HostProfile.class);
            if (hostprofile6 != null) {
                final PlatformUser platformuser7 = (PlatformUser) invokeModule(PLATFORM_USER_MODULE + "/platformuser/" + hostprofile6.getPlatformUser().getId(), PlatformUser.class);
                if (platformuser7 != null) {
                    final City city8 = (City) invokeModule(LISTING_MODULE + "/city/" + platformuser7.getCity().getId(), City.class);
                    if (city8 != null) {
                        final Country country9 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + city8.getCountry().getId(), Country.class);
                        if (country9 != null) {
                        }
                    }
                    final Country country10 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + platformuser7.getCountry().getId(), Country.class);
                    if (country10 != null) {
                    }
                }
            }
        }
        final GuestProfile guestprofile11 = (GuestProfile) invokeModule(BOOKING_MODULE + "/guestprofile/" + booking1.getGuestProfile().getId(), GuestProfile.class);
        if (guestprofile11 != null) {
            final PlatformUser platformuser12 = (PlatformUser) invokeModule(PLATFORM_USER_MODULE + "/platformuser/" + guestprofile11.getPlatformUser().getId(), PlatformUser.class);
            if (platformuser12 != null) {
                final City city13 = (City) invokeModule(LISTING_MODULE + "/city/" + platformuser12.getCity().getId(), City.class);
                if (city13 != null) {
                    final Country country14 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + city13.getCountry().getId(), Country.class);
                    if (country14 != null) {
                    }
                }
                final Country country15 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + platformuser12.getCountry().getId(), Country.class);
                if (country15 != null) {
                }
            }
        }
    }
}
return review;


Overview

Summary

ContactDonateImprint