Overview

Summary

ServicesContactDonateAboutImprint


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





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

ServicesContactDonateAboutImprint