Overview

Summary

ContactDonateImprint


9. LISTING MODULE (UI prompt)



Module Entities (17)

EntityAliasModuleGlobal Schema
(1) AvailabilityCalendarAvailabilityCalendarHostProfileModuleAirbnb
(2) BookingBookingBookingModuleAirbnb
(3) CityCityListingModuleAirbnb
(4) CompanyCompanyCompanyModuleAirbnb
(5) CountryCountryCountryModuleAirbnb
(6) FraudCaseFraudCasePlatformUserModuleAirbnb
(7) HiddenCameraIncidentHiddenCameraIncidentCompanyModuleAirbnb
(8) HomeSharingClubHomeSharingClubListingModuleAirbnb
(9) HostProfileHostProfileHostProfileModuleAirbnb
(10) ListingListingListingModuleAirbnb
(11) ListingAmenityListingAmenityAmenityModuleAirbnb
(12) ListingPhotoListingPhotoHostProfileModuleAirbnb
(13) MarketMarketMarketModuleAirbnb
(14) MessageThreadMessageThreadMessageThreadModuleAirbnb
(15) OfficeOfficeAdvocacyGroupModuleAirbnb
(16) PlatformUserPlatformUserPlatformUserModuleAirbnb
(17) StockListingStockListingCompanyModuleAirbnb

Module Interfaces (21)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /listing/{id}deleteListingById(id)ListingModuleDELETEListing
(2) /listing/{id}findListingById(id)ListingModuleGETListing
(3) /listing/{id}updateListingById(listing)ListingModulePUTListing
(4) /homesharingclubfindAllHomeSharingClub()ListingModuleGETHomeSharingClub
(5) /listing/country/{id}findAllListingOfCountry(id)ListingModuleGETCountry Listing
(6) /cityfindAllCity()ListingModuleGETCity
(7) /city/country/{id}findAllCityOfCountry(id)ListingModuleGETCountry City
(8) /homesharingclubinsertHomeSharingClub(homesharingclub)ListingModulePOSTHomeSharingClub
(9) /homesharingclub/{id}updateHomeSharingClubById(homesharingclub)ListingModulePUTHomeSharingClub
(10) /listing/hostprofile/{id}findAllListingOfHostProfile(id)ListingModuleGETHostProfile Listing
(11) /city/{id}findCityById(id)ListingModuleGETCity
(12) /listinginsertListing(listing)ListingModulePOSTListing
(13) /homesharingclub/country/{id}findAllHomeSharingClubOfCountry(id)ListingModuleGETCountry HomeSharingClub
(14) /homesharingclub/city/{id}findAllHomeSharingClubOfCity(id)ListingModuleGETCity HomeSharingClub
(15) /listingfindAllListing()ListingModuleGETListing
(16) /homesharingclub/{id}findHomeSharingClubById(id)ListingModuleGETHomeSharingClub
(17) /listing/city/{id}findAllListingOfCity(id)ListingModuleGETCity Listing
(18) /homesharingclub/{id}deleteHomeSharingClubById(id)ListingModuleDELETEHomeSharingClub
(19) /cityinsertCity(city)ListingModulePOSTCity
(20) /city/{id}deleteCityById(id)ListingModuleDELETECity
(21) /city/{id}updateCityById(city)ListingModulePUTCity






9.1 CITY


CityListingModuleAirbnb

Properties (5)

PropertyTypeEntityReferenceModule
(1) CountryLONGCityCountryCountryModule
(2) LatitudeDOUBLECity
(3) LongitudeDOUBLECity
(4) NameSTRINGCity
(5) RegionSTRINGCity





Example:

final City city = (City) invokeModule(LISTING_MODULE + "/city/" + id, City.class);
if (city != null) {
    final Country country1 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + city.getCountry().getId(), Country.class);
    if (country1 != null) {
    }
}
return city;


9.2 HOME SHARING CLUB


HomeSharingClubListingModuleAirbnb

Properties (5)

PropertyTypeEntityReferenceModule
(1) CityLONGHomeSharingClubCityListingModule
(2) CountryLONGHomeSharingClubCountryCountryModule
(3) DescriptionSTRINGHomeSharingClub
(4) FoundedDateDATEHomeSharingClub
(5) SupportedByCompanyLONGHomeSharingClub





Example:

final HomeSharingClub homesharingclub = (HomeSharingClub) invokeModule(LISTING_MODULE + "/homesharingclub/" + id, HomeSharingClub.class);
if (homesharingclub != null) {
    final Country country1 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + homesharingclub.getCountry().getId(), Country.class);
    if (country1 != null) {
    }
    final City city2 = (City) invokeModule(LISTING_MODULE + "/city/" + homesharingclub.getCity().getId(), City.class);
    if (city2 != null) {
        final Country country3 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + city2.getCountry().getId(), Country.class);
        if (country3 != null) {
        }
    }
}
return homesharingclub;


9.3 LISTING


ListingListingModuleAirbnb

Properties (19)

PropertyTypeEntityReferenceModule
(1) AddressLineSTRINGListing
(2) BathroomsDOUBLEListing
(3) BedroomsINTListing
(4) BedsINTListing
(5) CityLONGListingCityListingModule
(6) CountryLONGListingCountryCountryModule
(7) CreatedAtDATEListing
(8) DescriptionSTRINGListing
(9) HostProfileLONGListingHostProfileHostProfileModule
(10) IsInstantBookableBOOLListing
(11) LatitudeDOUBLEListing
(12) LongitudeDOUBLEListing
(13) MaxGuestsINTListing
(14) PostalCodeSTRINGListing
(15) PropertyTypeSTRINGListing
(16) RoomTypeSTRINGListing
(17) StatusSTRINGListing
(18) TitleSTRINGListing
(19) UpdatedAtDATEListing





Example:

final Listing listing = (Listing) invokeModule(LISTING_MODULE + "/listing/" + id, Listing.class);
if (listing != null) {
    final Country country1 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + listing.getCountry().getId(), Country.class);
    if (country1 != null) {
    }
    final City city2 = (City) invokeModule(LISTING_MODULE + "/city/" + listing.getCity().getId(), City.class);
    if (city2 != null) {
        final Country country3 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + city2.getCountry().getId(), Country.class);
        if (country3 != null) {
        }
    }
    final HostProfile hostprofile4 = (HostProfile) invokeModule(HOST_PROFILE_MODULE + "/hostprofile/" + listing.getHostProfile().getId(), HostProfile.class);
    if (hostprofile4 != null) {
        final PlatformUser platformuser5 = (PlatformUser) invokeModule(PLATFORM_USER_MODULE + "/platformuser/" + hostprofile4.getPlatformUser().getId(), PlatformUser.class);
        if (platformuser5 != null) {
            final City city6 = (City) invokeModule(LISTING_MODULE + "/city/" + platformuser5.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/" + platformuser5.getCountry().getId(), Country.class);
            if (country8 != null) {
            }
        }
    }
}
return listing;


Overview

Summary

ContactDonateImprint