Overview

Summary

ContactDonateImprint


Appendix E-15: HOST PROFILE (UI prompt)


HostProfileHostProfileModuleAirbnb

Properties (8)

PropertyTypeEntityReferenceModule
(1) AboutSTRINGHostProfile
(2) CreatedAtDATEHostProfile
(3) IsSuperhostBOOLHostProfile
(4) OverallRatingDOUBLEHostProfile
(5) PlatformUserLONGHostProfilePlatformUserPlatformUserModule
(6) ResponseRateDOUBLEHostProfile
(7) ResponseTimeSTRINGHostProfile
(8) SuperhostSinceDATEHostProfile


Module Interfaces (8)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /hostprofile/platformuser/{id}findAllHostProfileOfPlatformUser(id)HostProfileModuleGETPlatformUser HostProfile
(2) /hostprofilefindAllHostProfile()HostProfileModuleGETHostProfile
(3) /hostprofile/{id}updateHostProfileById(hostprofile)HostProfileModulePUTHostProfile
(4) /payout/hostprofile/{id}findAllPayoutOfHostProfile(id)HostProfileModuleGETHostProfile Payout
(5) /hostprofileinsertHostProfile(hostprofile)HostProfileModulePOSTHostProfile
(6) /hostprofile/{id}deleteHostProfileById(id)HostProfileModuleDELETEHostProfile
(7) /hostprofile/{id}findHostProfileById(id)HostProfileModuleGETHostProfile
(8) /listing/hostprofile/{id}findAllListingOfHostProfile(id)ListingModuleGETHostProfile Listing





Example:

final HostProfile hostprofile = (HostProfile) invokeModule(HOST_PROFILE_MODULE + "/hostprofile/" + id, HostProfile.class);
if (hostprofile != null) {
    final PlatformUser platformuser1 = (PlatformUser) invokeModule(PLATFORM_USER_MODULE + "/platformuser/" + hostprofile.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 hostprofile;


Overview

Summary

ContactDonateImprint