Overview

Summary

ServicesContactDonateAboutImprint


1. AMENITY MODULE (UI prompt)



Module Entities (6)

EntityAliasModuleGlobal Schema
(1) AmenityAmenityAmenityModuleAirbnb
(2) BookingBookingListingModuleAirbnb
(3) HiddenCameraIncidentHiddenCameraIncidentAmenityModuleAirbnb
(4) ListingListingListingModuleAirbnb
(5) ListingAmenityListingAmenityAmenityModuleAirbnb
(6) ReviewReviewAmenityModuleAirbnb

Module Interfaces (24)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /review/{id}deleteReviewById(id)AmenityModuleDELETEReview
(2) /reviewfindAllReview()AmenityModuleGETReview
(3) /review/booking/{id}findAllReviewOfBooking(id)AmenityModuleGETBooking Review
(4) /amenityinsertAmenity(amenity)AmenityModulePOSTAmenity
(5) /listingamenity/amenity/{id}findAllListingAmenityOfAmenity(id)AmenityModuleGETAmenity ListingAmenity
(6) /amenity/{id}findAmenityById(id)AmenityModuleGETAmenity
(7) /listingamenity/{id}findListingAmenityById(id)AmenityModuleGETListingAmenity
(8) /listingamenity/{id}updateListingAmenityById(listingamenity)AmenityModulePUTListingAmenity
(9) /listingamenityinsertListingAmenity(listingamenity)AmenityModulePOSTListingAmenity
(10) /review/{id}findReviewById(id)AmenityModuleGETReview
(11) /reviewinsertReview(review)AmenityModulePOSTReview
(12) /hiddencameraincident/{id}findHiddenCameraIncidentById(id)AmenityModuleGETHiddenCameraIncident
(13) /listingamenity/{id}deleteListingAmenityById(id)AmenityModuleDELETEListingAmenity
(14) /hiddencameraincidentinsertHiddenCameraIncident(hiddencameraincident)AmenityModulePOSTHiddenCameraIncident
(15) /hiddencameraincident/listing/{id}findAllHiddenCameraIncidentOfListing(id)AmenityModuleGETListing HiddenCameraIncident
(16) /amenityfindAllAmenity()AmenityModuleGETAmenity
(17) /review/{id}updateReviewById(review)AmenityModulePUTReview
(18) /amenity/{id}deleteAmenityById(id)AmenityModuleDELETEAmenity
(19) /hiddencameraincidentfindAllHiddenCameraIncident()AmenityModuleGETHiddenCameraIncident
(20) /amenity/{id}updateAmenityById(amenity)AmenityModulePUTAmenity
(21) /listingamenity/listing/{id}findAllListingAmenityOfListing(id)AmenityModuleGETListing ListingAmenity
(22) /listingamenityfindAllListingAmenity()AmenityModuleGETListingAmenity
(23) /hiddencameraincident/{id}updateHiddenCameraIncidentById(hiddencameraincident)AmenityModulePUTHiddenCameraIncident
(24) /hiddencameraincident/{id}deleteHiddenCameraIncidentById(id)AmenityModuleDELETEHiddenCameraIncident






1.1 AMENITY


AmenityAmenityModuleAirbnb

Properties (2)

PropertyTypeEntityReferenceModule
(1) CategorySTRINGAmenity
(2) NameSTRINGAmenity





Example:

final Amenity amenity = (Amenity) invokeModule(AMENITY_MODULE + "/amenity/" + id, Amenity.class);
if (amenity != null) {
}
return amenity;


1.2 HIDDEN CAMERA INCIDENT


HiddenCameraIncidentAmenityModuleAirbnb

Properties (6)

PropertyTypeEntityReferenceModule
(1) DescriptionSTRINGHiddenCameraIncident
(2) InvolvedGuestsINTHiddenCameraIncident
(3) LawEnforcementContactedBOOLHiddenCameraIncident
(4) ListingLONGHiddenCameraIncidentListingListingModule
(5) ReportedAtDATEHiddenCameraIncident
(6) SettlementTypeSTRINGHiddenCameraIncident





Example:

final HiddenCameraIncident hiddencameraincident = (HiddenCameraIncident) invokeModule(AMENITY_MODULE + "/hiddencameraincident/" + id, HiddenCameraIncident.class);
if (hiddencameraincident != null) {
    final Listing listing1 = (Listing) invokeModule(LISTING_MODULE + "/listing/" + hiddencameraincident.getListing().getId(), Listing.class);
    if (listing1 != null) {
        final Country country2 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + listing1.getCountry().getId(), Country.class);
        if (country2 != null) {
        }
        final City city3 = (City) invokeModule(LISTING_MODULE + "/city/" + listing1.getCity().getId(), City.class);
        if (city3 != null) {
            final Country country4 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + city3.getCountry().getId(), Country.class);
            if (country4 != null) {
            }
        }
        final HostProfile hostprofile5 = (HostProfile) invokeModule(HOST_PROFILE_MODULE + "/hostprofile/" + listing1.getHostProfile().getId(), HostProfile.class);
        if (hostprofile5 != null) {
            final PlatformUser platformuser6 = (PlatformUser) invokeModule(PLATFORM_USER_MODULE + "/platformuser/" + hostprofile5.getPlatformUser().getId(), PlatformUser.class);
            if (platformuser6 != null) {
                final City city7 = (City) invokeModule(LISTING_MODULE + "/city/" + platformuser6.getCity().getId(), City.class);
                if (city7 != null) {
                    final Country country8 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + city7.getCountry().getId(), Country.class);
                    if (country8 != null) {
                    }
                }
                final Country country9 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + platformuser6.getCountry().getId(), Country.class);
                if (country9 != null) {
                }
            }
        }
    }
}
return hiddencameraincident;


1.3 LISTING AMENITY


ListingAmenityAmenityModuleAirbnb

Properties (2)

PropertyTypeEntityReferenceModule
(1) AmenityLONGListingAmenityAmenityAmenityModule
(2) ListingLONGListingAmenityListingListingModule





Example:

final ListingAmenity listingamenity = (ListingAmenity) invokeModule(AMENITY_MODULE + "/listingamenity/" + id, ListingAmenity.class);
if (listingamenity != null) {
    final Listing listing1 = (Listing) invokeModule(LISTING_MODULE + "/listing/" + listingamenity.getListing().getId(), Listing.class);
    if (listing1 != null) {
        final Country country2 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + listing1.getCountry().getId(), Country.class);
        if (country2 != null) {
        }
        final City city3 = (City) invokeModule(LISTING_MODULE + "/city/" + listing1.getCity().getId(), City.class);
        if (city3 != null) {
            final Country country4 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + city3.getCountry().getId(), Country.class);
            if (country4 != null) {
            }
        }
        final HostProfile hostprofile5 = (HostProfile) invokeModule(HOST_PROFILE_MODULE + "/hostprofile/" + listing1.getHostProfile().getId(), HostProfile.class);
        if (hostprofile5 != null) {
            final PlatformUser platformuser6 = (PlatformUser) invokeModule(PLATFORM_USER_MODULE + "/platformuser/" + hostprofile5.getPlatformUser().getId(), PlatformUser.class);
            if (platformuser6 != null) {
                final City city7 = (City) invokeModule(LISTING_MODULE + "/city/" + platformuser6.getCity().getId(), City.class);
                if (city7 != null) {
                    final Country country8 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + city7.getCountry().getId(), Country.class);
                    if (country8 != null) {
                    }
                }
                final Country country9 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + platformuser6.getCountry().getId(), Country.class);
                if (country9 != null) {
                }
            }
        }
    }
    final Amenity amenity10 = (Amenity) invokeModule(AMENITY_MODULE + "/amenity/" + listingamenity.getAmenity().getId(), Amenity.class);
    if (amenity10 != null) {
    }
}
return listingamenity;


1.4 REVIEW


ReviewAmenityModuleAirbnb

Properties (11)

PropertyTypeEntityReferenceModule
(1) BookingLONGReviewBookingListingModule
(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(AMENITY_MODULE + "/review/" + id, Review.class);
if (review != null) {
    final Booking booking1 = (Booking) invokeModule(LISTING_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(PLATFORM_USER_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

ServicesContactDonateAboutImprint