Overview

Summary

ContactDonateImprint


2. AMENITY MODULE (UI prompt)



Module Entities (5)

EntityAliasModuleGlobal Schema
(1) AmenityAmenityAmenityModuleAirbnb
(2) ListingListingListingModuleAirbnb
(3) ListingAmenityListingAmenityAmenityModuleAirbnb
(4) PlatformUserPlatformUserPlatformUserModuleAirbnb
(5) UserDataConsentUserDataConsentAmenityModuleAirbnb

Module Interfaces (18)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /amenity/{id}findAmenityById(id)AmenityModuleGETAmenity
(2) /userdataconsentinsertUserDataConsent(userdataconsent)AmenityModulePOSTUserDataConsent
(3) /userdataconsentfindAllUserDataConsent()AmenityModuleGETUserDataConsent
(4) /amenity/{id}updateAmenityById(amenity)AmenityModulePUTAmenity
(5) /listingamenity/listing/{id}findAllListingAmenityOfListing(id)AmenityModuleGETListing ListingAmenity
(6) /amenityinsertAmenity(amenity)AmenityModulePOSTAmenity
(7) /listingamenityfindAllListingAmenity()AmenityModuleGETListingAmenity
(8) /userdataconsent/{id}updateUserDataConsentById(userdataconsent)AmenityModulePUTUserDataConsent
(9) /listingamenityinsertListingAmenity(listingamenity)AmenityModulePOSTListingAmenity
(10) /amenityfindAllAmenity()AmenityModuleGETAmenity
(11) /userdataconsent/{id}findUserDataConsentById(id)AmenityModuleGETUserDataConsent
(12) /listingamenity/{id}findListingAmenityById(id)AmenityModuleGETListingAmenity
(13) /userdataconsent/{id}deleteUserDataConsentById(id)AmenityModuleDELETEUserDataConsent
(14) /amenity/{id}deleteAmenityById(id)AmenityModuleDELETEAmenity
(15) /listingamenity/{id}deleteListingAmenityById(id)AmenityModuleDELETEListingAmenity
(16) /listingamenity/{id}updateListingAmenityById(listingamenity)AmenityModulePUTListingAmenity
(17) /userdataconsent/platformuser/{id}findAllUserDataConsentOfPlatformUser(id)AmenityModuleGETPlatformUser UserDataConsent
(18) /listingamenity/amenity/{id}findAllListingAmenityOfAmenity(id)AmenityModuleGETAmenity ListingAmenity






2.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;


2.2 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;


2.3 USER DATA CONSENT


UserDataConsentAmenityModuleAirbnb

Properties (5)

PropertyTypeEntityReferenceModule
(1) ConsentTypeSTRINGUserDataConsent
(2) DescriptionSTRINGUserDataConsent
(3) GrantedAtDATEUserDataConsent
(4) PlatformUserLONGUserDataConsentPlatformUserPlatformUserModule
(5) RevokedAtDATEUserDataConsent





Example:

final UserDataConsent userdataconsent = (UserDataConsent) invokeModule(AMENITY_MODULE + "/userdataconsent/" + id, UserDataConsent.class);
if (userdataconsent != null) {
    final PlatformUser platformuser1 = (PlatformUser) invokeModule(PLATFORM_USER_MODULE + "/platformuser/" + userdataconsent.getPlatformUser().getId(), PlatformUser.class);
    if (platformuser1 != null) {
        final City city2 = (City) invokeModule(LISTING_MODULE + "/city/" + platformuser1.getCity().getId(), City.class);
        if (city2 != null) {
            final Country country3 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + city2.getCountry().getId(), Country.class);
            if (country3 != null) {
            }
        }
        final Country country4 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + platformuser1.getCountry().getId(), Country.class);
        if (country4 != null) {
        }
    }
}
return userdataconsent;


Overview

Summary

ContactDonateImprint