Overview

Summary

ContactDonateImprint


12. PLATFORM USER MODULE (UI prompt)



Module Entities (11)

EntityAliasModuleGlobal Schema
(1) CityCityListingModuleAirbnb
(2) CountryCountryCountryModuleAirbnb
(3) FraudCaseFraudCasePlatformUserModuleAirbnb
(4) GuestProfileGuestProfileBookingModuleAirbnb
(5) HostProfileHostProfileHostProfileModuleAirbnb
(6) ListingListingListingModuleAirbnb
(7) PaymentPaymentBookingModuleAirbnb
(8) PlatformUserPlatformUserPlatformUserModuleAirbnb
(9) UserDataConsentUserDataConsentAmenityModuleAirbnb
(10) UserIdentityDocumentUserIdentityDocumentMessageThreadModuleAirbnb
(11) UserRoleUserRolePlatformUserModuleAirbnb

Module Interfaces (20)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /userrole/platformuser/{id}findAllUserRoleOfPlatformUser(id)PlatformUserModuleGETPlatformUser UserRole
(2) /userrole/{id}deleteUserRoleById(id)PlatformUserModuleDELETEUserRole
(3) /platformuser/city/{id}findAllPlatformUserOfCity(id)PlatformUserModuleGETCity PlatformUser
(4) /userrole/{id}updateUserRoleById(userrole)PlatformUserModulePUTUserRole
(5) /platformuser/{id}findPlatformUserById(id)PlatformUserModuleGETPlatformUser
(6) /fraudcase/listing/{id}findAllFraudCaseOfListing(id)PlatformUserModuleGETListing FraudCase
(7) /fraudcasefindAllFraudCase()PlatformUserModuleGETFraudCase
(8) /platformuserinsertPlatformUser(platformuser)PlatformUserModulePOSTPlatformUser
(9) /fraudcase/{id}updateFraudCaseById(fraudcase)PlatformUserModulePUTFraudCase
(10) /fraudcase/platformuserreporter/{id}findAllFraudCaseOfPlatformUserReporter(id)PlatformUserModuleGETPlatformUser FraudCase
(11) /fraudcaseinsertFraudCase(fraudcase)PlatformUserModulePOSTFraudCase
(12) /userrolefindAllUserRole()PlatformUserModuleGETUserRole
(13) /platformuser/{id}deletePlatformUserById(id)PlatformUserModuleDELETEPlatformUser
(14) /fraudcase/{id}deleteFraudCaseById(id)PlatformUserModuleDELETEFraudCase
(15) /userroleinsertUserRole(userrole)PlatformUserModulePOSTUserRole
(16) /userrole/{id}findUserRoleById(id)PlatformUserModuleGETUserRole
(17) /platformuserfindAllPlatformUser()PlatformUserModuleGETPlatformUser
(18) /fraudcase/{id}findFraudCaseById(id)PlatformUserModuleGETFraudCase
(19) /platformuser/country/{id}findAllPlatformUserOfCountry(id)PlatformUserModuleGETCountry PlatformUser
(20) /platformuser/{id}updatePlatformUserById(platformuser)PlatformUserModulePUTPlatformUser






12.1 FRAUD CASE


FraudCasePlatformUserModuleAirbnb

Properties (7)

PropertyTypeEntityReferenceModule
(1) CaseTypeSTRINGFraudCase
(2) DescriptionSTRINGFraudCase
(3) ListingLONGFraudCaseListingListingModule
(4) PlatformUserReporterLONGFraudCasePlatformUserPlatformUserModule
(5) ReportedAtDATEFraudCase
(6) ResolvedAtDATEFraudCase
(7) StatusSTRINGFraudCase





Example:

final FraudCase fraudcase = (FraudCase) invokeModule(PLATFORM_USER_MODULE + "/fraudcase/" + id, FraudCase.class);
if (fraudcase != null) {
    final PlatformUser platformuserreporter1 = (PlatformUser) invokeModule(PLATFORM_USER_MODULE + "/platformuser/" + fraudcase.getPlatformUserReporter().getId(), PlatformUser.class);
    if (platformuserreporter1 != null) {
        final City city2 = (City) invokeModule(LISTING_MODULE + "/city/" + platformuserreporter1.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/" + platformuserreporter1.getCountry().getId(), Country.class);
        if (country4 != null) {
        }
    }
    final Listing listing5 = (Listing) invokeModule(LISTING_MODULE + "/listing/" + fraudcase.getListing().getId(), Listing.class);
    if (listing5 != null) {
        final Country country6 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + listing5.getCountry().getId(), Country.class);
        if (country6 != null) {
        }
        final City city7 = (City) invokeModule(LISTING_MODULE + "/city/" + listing5.getCity().getId(), City.class);
        if (city7 != null) {
            final Country country8 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + city7.getCountry().getId(), Country.class);
            if (country8 != null) {
            }
        }
        final HostProfile hostprofile9 = (HostProfile) invokeModule(HOST_PROFILE_MODULE + "/hostprofile/" + listing5.getHostProfile().getId(), HostProfile.class);
        if (hostprofile9 != null) {
            final PlatformUser platformuser10 = (PlatformUser) invokeModule(PLATFORM_USER_MODULE + "/platformuser/" + hostprofile9.getPlatformUser().getId(), PlatformUser.class);
            if (platformuser10 != null) {
                final City city11 = (City) invokeModule(LISTING_MODULE + "/city/" + platformuser10.getCity().getId(), City.class);
                if (city11 != null) {
                    final Country country12 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + city11.getCountry().getId(), Country.class);
                    if (country12 != null) {
                    }
                }
                final Country country13 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + platformuser10.getCountry().getId(), Country.class);
                if (country13 != null) {
                }
            }
        }
    }
}
return fraudcase;


12.2 PLATFORM USER


PlatformUserPlatformUserModuleAirbnb

Properties (13)

PropertyTypeEntityReferenceModule
(1) CityLONGPlatformUserCityListingModule
(2) CountryLONGPlatformUserCountryCountryModule
(3) CreatedAtDATEPlatformUser
(4) DateOfBirthDATEPlatformUser
(5) EmailSTRINGPlatformUser
(6) FacebookProfileUrlSTRINGPlatformUser
(7) FullNameSTRINGPlatformUser
(8) GoogleProfileUrlSTRINGPlatformUser
(9) LinkedinProfileUrlSTRINGPlatformUser
(10) PhoneNumberSTRINGPlatformUser
(11) ProfilePhotoUrlSTRINGPlatformUser
(12) UpdatedAtDATEPlatformUser
(13) VerificationLevelSTRINGPlatformUser





Example:

final PlatformUser platformuser = (PlatformUser) invokeModule(PLATFORM_USER_MODULE + "/platformuser/" + id, PlatformUser.class);
if (platformuser != null) {
    final City city1 = (City) invokeModule(LISTING_MODULE + "/city/" + platformuser.getCity().getId(), City.class);
    if (city1 != null) {
        final Country country2 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + city1.getCountry().getId(), Country.class);
        if (country2 != null) {
        }
    }
    final Country country3 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + platformuser.getCountry().getId(), Country.class);
    if (country3 != null) {
    }
}
return platformuser;


12.3 USER ROLE


UserRolePlatformUserModuleAirbnb

Properties (3)

PropertyTypeEntityReferenceModule
(1) CreatedAtDATEUserRole
(2) PlatformUserLONGUserRolePlatformUserPlatformUserModule
(3) RoleTypeSTRINGUserRole





Example:

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


Overview

Summary

ContactDonateImprint