Overview

Summary

ContactDonateImprint


10. MARKET MODULE (UI prompt)



Module Entities (7)

EntityAliasModuleGlobal Schema
(1) BookingBookingBookingModuleAirbnb
(2) CityCityListingModuleAirbnb
(3) CompanyCompanyCompanyModuleAirbnb
(4) CountryCountryCountryModuleAirbnb
(5) CovidImpactCovidImpactMarketModuleAirbnb
(6) MarketMarketMarketModuleAirbnb
(7) ReviewReviewMarketModuleAirbnb

Module Interfaces (20)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /reviewinsertReview(review)MarketModulePOSTReview
(2) /covidimpact/company/{id}findAllCovidImpactOfCompany(id)MarketModuleGETCompany CovidImpact
(3) /market/{id}findMarketById(id)MarketModuleGETMarket
(4) /reviewfindAllReview()MarketModuleGETReview
(5) /review/{id}deleteReviewById(id)MarketModuleDELETEReview
(6) /covidimpact/{id}deleteCovidImpactById(id)MarketModuleDELETECovidImpact
(7) /covidimpactinsertCovidImpact(covidimpact)MarketModulePOSTCovidImpact
(8) /review/{id}findReviewById(id)MarketModuleGETReview
(9) /market/{id}updateMarketById(market)MarketModulePUTMarket
(10) /covidimpact/{id}updateCovidImpactById(covidimpact)MarketModulePUTCovidImpact
(11) /marketinsertMarket(market)MarketModulePOSTMarket
(12) /review/booking/{id}findAllReviewOfBooking(id)MarketModuleGETBooking Review
(13) /marketfindAllMarket()MarketModuleGETMarket
(14) /market/country/{id}findAllMarketOfCountry(id)MarketModuleGETCountry Market
(15) /covidimpact/market/{id}findAllCovidImpactOfMarket(id)MarketModuleGETMarket CovidImpact
(16) /market/city/{id}findAllMarketOfCity(id)MarketModuleGETCity Market
(17) /review/{id}updateReviewById(review)MarketModulePUTReview
(18) /covidimpact/{id}findCovidImpactById(id)MarketModuleGETCovidImpact
(19) /covidimpactfindAllCovidImpact()MarketModuleGETCovidImpact
(20) /market/{id}deleteMarketById(id)MarketModuleDELETEMarket






10.1 COVID IMPACT


CovidImpactMarketModuleAirbnb

Properties (8)

PropertyTypeEntityReferenceModule
(1) CompanyLONGCovidImpactCompanyCompanyModule
(2) CurrencySTRINGCovidImpact
(3) MarketLONGCovidImpactMarketMarketModule
(4) MetricTypeSTRINGCovidImpact
(5) NotesSTRINGCovidImpact
(6) PeriodEndDATECovidImpact
(7) PeriodStartDATECovidImpact
(8) ValueDOUBLECovidImpact





Example:

final CovidImpact covidimpact = (CovidImpact) invokeModule(MARKET_MODULE + "/covidimpact/" + id, CovidImpact.class);
if (covidimpact != null) {
    final Company company1 = (Company) invokeModule(COMPANY_MODULE + "/company/" + covidimpact.getCompany().getId(), Company.class);
    if (company1 != null) {
        final Country country2 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + company1.getCountry().getId(), Country.class);
        if (country2 != null) {
        }
        final City city3 = (City) invokeModule(LISTING_MODULE + "/city/" + company1.getCity().getId(), City.class);
        if (city3 != null) {
            final Country country4 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + city3.getCountry().getId(), Country.class);
            if (country4 != null) {
            }
        }
    }
    final Market market5 = (Market) invokeModule(MARKET_MODULE + "/market/" + covidimpact.getMarket().getId(), Market.class);
    if (market5 != null) {
        final City city6 = (City) invokeModule(LISTING_MODULE + "/city/" + market5.getCity().getId(), City.class);
        if (city6 != null) {
            final Country country7 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + city6.getCountry().getId(), Country.class);
            if (country7 != null) {
            }
        }
        final Country country8 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + market5.getCountry().getId(), Country.class);
        if (country8 != null) {
        }
    }
}
return covidimpact;


10.2 MARKET


MarketMarketModuleAirbnb

Properties (4)

PropertyTypeEntityReferenceModule
(1) CityLONGMarketCityListingModule
(2) CountryLONGMarketCountryCountryModule
(3) IsKeyMarketBOOLMarket
(4) RegionNameSTRINGMarket





Example:

final Market market = (Market) invokeModule(MARKET_MODULE + "/market/" + id, Market.class);
if (market != null) {
    final City city1 = (City) invokeModule(LISTING_MODULE + "/city/" + market.getCity().getId(), City.class);
    if (city1 != null) {
        final Country country2 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + city1.getCountry().getId(), Country.class);
        if (country2 != null) {
        }
    }
    final Country country3 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + market.getCountry().getId(), Country.class);
    if (country3 != null) {
    }
}
return market;


10.3 REVIEW


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





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