Overview

Summary

ContactDonateImprint


Appendix E-24: LISTING (UI prompt)


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


Module Interfaces (16)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /listingamenity/listing/{id}findAllListingAmenityOfListing(id)AmenityModuleGETListing ListingAmenity
(2) /booking/listing/{id}findAllBookingOfListing(id)BookingModuleGETListing Booking
(3) /stocklisting/listingdate/{id}findAllStockListingOfListingDate(id)CompanyModuleGETListing StockListing
(4) /hiddencameraincident/listing/{id}findAllHiddenCameraIncidentOfListing(id)CompanyModuleGETListing HiddenCameraIncident
(5) /listingphoto/listing/{id}findAllListingPhotoOfListing(id)HostProfileModuleGETListing ListingPhoto
(6) /availabilitycalendar/listing/{id}findAllAvailabilityCalendarOfListing(id)HostProfileModuleGETListing AvailabilityCalendar
(7) /listingfindAllListing()ListingModuleGETListing
(8) /listing/country/{id}findAllListingOfCountry(id)ListingModuleGETCountry Listing
(9) /listing/{id}findListingById(id)ListingModuleGETListing
(10) /listing/{id}updateListingById(listing)ListingModulePUTListing
(11) /listinginsertListing(listing)ListingModulePOSTListing
(12) /listing/{id}deleteListingById(id)ListingModuleDELETEListing
(13) /listing/city/{id}findAllListingOfCity(id)ListingModuleGETCity Listing
(14) /listing/hostprofile/{id}findAllListingOfHostProfile(id)ListingModuleGETHostProfile Listing
(15) /messagethread/listing/{id}findAllMessageThreadOfListing(id)MessageThreadModuleGETListing MessageThread
(16) /fraudcase/listing/{id}findAllFraudCaseOfListing(id)PlatformUserModuleGETListing FraudCase





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