Overview

Summary

ContactDonateImprint


Appendix E-25: USER ROLE (UI prompt)


UserRolePlatformUserModuleAirbnb

Properties (3)

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


Module Interfaces (6)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /userrole/{id}findUserRoleById(id)PlatformUserModuleGETUserRole
(2) /userrole/{id}updateUserRoleById(userrole)PlatformUserModulePUTUserRole
(3) /userrolefindAllUserRole()PlatformUserModuleGETUserRole
(4) /userroleinsertUserRole(userrole)PlatformUserModulePOSTUserRole
(5) /userrole/{id}deleteUserRoleById(id)PlatformUserModuleDELETEUserRole
(6) /userrole/platformuser/{id}findAllUserRoleOfPlatformUser(id)PlatformUserModuleGETPlatformUser UserRole





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