Overview

Summary

ServicesContactDonateAboutImprint


7. USER DEVICE MODULE (UI prompt)



Module Entities (6)

EntityAliasModuleGlobal Schema
(1) AppVersionAppVersionUserDeviceModuleWhatsApp
(2) EncryptionKeyEncryptionKeyUserDeviceModuleWhatsApp
(3) LoginSessionLoginSessionVoiceCallModuleWhatsApp
(4) PlatformSupportPlatformSupportUserDeviceModuleWhatsApp
(5) UserAccountUserAccountUserAccountModuleWhatsApp
(6) UserDeviceUserDeviceUserDeviceModuleWhatsApp

Module Interfaces (26)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /appversion/{id}updateAppVersionById(appversion)UserDeviceModulePUTAppVersion
(2) /appversionfindAllAppVersion()UserDeviceModuleGETAppVersion
(3) /userdeviceinsertUserDevice(userdevice)UserDeviceModulePOSTUserDevice
(4) /platformsupportfindAllPlatformSupport()UserDeviceModuleGETPlatformSupport
(5) /encryptionkey/{id}updateEncryptionKeyById(encryptionkey)UserDeviceModulePUTEncryptionKey
(6) /userdevice/{id}deleteUserDeviceById(id)UserDeviceModuleDELETEUserDevice
(7) /userdevice/{id}findUserDeviceById(id)UserDeviceModuleGETUserDevice
(8) /encryptionkeyfindAllEncryptionKey()UserDeviceModuleGETEncryptionKey
(9) /encryptionkey/useraccount/{id}findAllEncryptionKeyOfUserAccount(id)UserDeviceModuleGETUserAccount EncryptionKey
(10) /platformsupport/{id}updatePlatformSupportById(platformsupport)UserDeviceModulePUTPlatformSupport
(11) /appversion/platformsupport/{id}findAllAppVersionOfPlatformSupport(id)UserDeviceModuleGETPlatformSupport AppVersion
(12) /platformsupport/{id}deletePlatformSupportById(id)UserDeviceModuleDELETEPlatformSupport
(13) /appversion/{id}findAppVersionById(id)UserDeviceModuleGETAppVersion
(14) /platformsupport/{id}findPlatformSupportById(id)UserDeviceModuleGETPlatformSupport
(15) /appversioninsertAppVersion(appversion)UserDeviceModulePOSTAppVersion
(16) /encryptionkey/{id}findEncryptionKeyById(id)UserDeviceModuleGETEncryptionKey
(17) /appversion/{id}deleteAppVersionById(id)UserDeviceModuleDELETEAppVersion
(18) /encryptionkeyinsertEncryptionKey(encryptionkey)UserDeviceModulePOSTEncryptionKey
(19) /encryptionkey/{id}deleteEncryptionKeyById(id)UserDeviceModuleDELETEEncryptionKey
(20) /userdevicefindAllUserDevice()UserDeviceModuleGETUserDevice
(21) /platformsupportinsertPlatformSupport(platformsupport)UserDeviceModulePOSTPlatformSupport
(22) /userdevice/{id}updateUserDeviceById(userdevice)UserDeviceModulePUTUserDevice
(23) /encryptionkey/userdevice/{id}findAllEncryptionKeyOfUserDevice(id)UserDeviceModuleGETUserDevice EncryptionKey
(24) /userdevice/useraccount/{id}findAllUserDeviceOfUserAccount(id)UserDeviceModuleGETUserAccount UserDevice
(25) /userdevice/appversion/{id}findAllUserDeviceOfAppVersion(id)UserDeviceModuleGETAppVersion UserDevice
(26) /userdevice/platformsupport/{id}findAllUserDeviceOfPlatformSupport(id)UserDeviceModuleGETPlatformSupport UserDevice






7.1 APP VERSION


AppVersionUserDeviceModuleWhatsApp

Properties (5)

PropertyTypeEntityReferenceModule
(1) PlatformSupportLONGAppVersionPlatformSupportUserDeviceModule
(2) ReleaseChannelSTRINGAppVersion
(3) ReleaseDateDATEAppVersion
(4) SizeMegabytesSTRINGAppVersion
(5) VersionStringSTRINGAppVersion





Example:

final AppVersion appversion = (AppVersion) invokeModule(USER_DEVICE_MODULE + "/appversion/" + id, AppVersion.class);
if (appversion != null) {
    final PlatformSupport platformsupport1 = (PlatformSupport) invokeModule(USER_DEVICE_MODULE + "/platformsupport/" + appversion.getPlatformSupport().getId(), PlatformSupport.class);
    if (platformsupport1 != null) {
    }
}
return appversion;


7.2 ENCRYPTION KEY


EncryptionKeyUserDeviceModuleWhatsApp

Properties (6)

PropertyTypeEntityReferenceModule
(1) CreatedAtDATEEncryptionKey
(2) KeyTypeSTRINGEncryptionKey
(3) PublicKeySTRINGEncryptionKey
(4) RevokedAtDATEEncryptionKey
(5) UserAccountLONGEncryptionKeyUserAccountUserAccountModule
(6) UserDeviceLONGEncryptionKeyUserDeviceUserDeviceModule





Example:

final EncryptionKey encryptionkey = (EncryptionKey) invokeModule(USER_DEVICE_MODULE + "/encryptionkey/" + id, EncryptionKey.class);
if (encryptionkey != null) {
    final UserAccount useraccount1 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + encryptionkey.getUserAccount().getId(), UserAccount.class);
    if (useraccount1 != null) {
    }
    final UserDevice userdevice2 = (UserDevice) invokeModule(USER_DEVICE_MODULE + "/userdevice/" + encryptionkey.getUserDevice().getId(), UserDevice.class);
    if (userdevice2 != null) {
        final AppVersion appversion3 = (AppVersion) invokeModule(USER_DEVICE_MODULE + "/appversion/" + userdevice2.getAppVersion().getId(), AppVersion.class);
        if (appversion3 != null) {
            final PlatformSupport platformsupport4 = (PlatformSupport) invokeModule(USER_DEVICE_MODULE + "/platformsupport/" + appversion3.getPlatformSupport().getId(), PlatformSupport.class);
            if (platformsupport4 != null) {
            }
        }
        final UserAccount useraccount5 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + userdevice2.getUserAccount().getId(), UserAccount.class);
        if (useraccount5 != null) {
        }
        final PlatformSupport platformsupport6 = (PlatformSupport) invokeModule(USER_DEVICE_MODULE + "/platformsupport/" + userdevice2.getPlatformSupport().getId(), PlatformSupport.class);
        if (platformsupport6 != null) {
        }
    }
}
return encryptionkey;


7.3 PLATFORM SUPPORT


PlatformSupportUserDeviceModuleWhatsApp

Properties (5)

PropertyTypeEntityReferenceModule
(1) MinOsVersionSTRINGPlatformSupport
(2) NameSTRINGPlatformSupport
(3) NotesSTRINGPlatformSupport
(4) StatusSTRINGPlatformSupport
(5) TypeSTRINGPlatformSupport





Example:

final PlatformSupport platformsupport = (PlatformSupport) invokeModule(USER_DEVICE_MODULE + "/platformsupport/" + id, PlatformSupport.class);
if (platformsupport != null) {
}
return platformsupport;


7.4 USER DEVICE


UserDeviceUserDeviceModuleWhatsApp

Properties (8)

PropertyTypeEntityReferenceModule
(1) AppVersionLONGUserDeviceAppVersionUserDeviceModule
(2) CreatedAtDATEUserDevice
(3) DeviceModelSTRINGUserDevice
(4) IsPrimaryBOOLUserDevice
(5) LastSeenAtDATEUserDevice
(6) OsVersionSTRINGUserDevice
(7) PlatformSupportLONGUserDevicePlatformSupportUserDeviceModule
(8) UserAccountLONGUserDeviceUserAccountUserAccountModule





Example:

final UserDevice userdevice = (UserDevice) invokeModule(USER_DEVICE_MODULE + "/userdevice/" + id, UserDevice.class);
if (userdevice != null) {
    final AppVersion appversion1 = (AppVersion) invokeModule(USER_DEVICE_MODULE + "/appversion/" + userdevice.getAppVersion().getId(), AppVersion.class);
    if (appversion1 != null) {
        final PlatformSupport platformsupport2 = (PlatformSupport) invokeModule(USER_DEVICE_MODULE + "/platformsupport/" + appversion1.getPlatformSupport().getId(), PlatformSupport.class);
        if (platformsupport2 != null) {
        }
    }
    final UserAccount useraccount3 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + userdevice.getUserAccount().getId(), UserAccount.class);
    if (useraccount3 != null) {
    }
    final PlatformSupport platformsupport4 = (PlatformSupport) invokeModule(USER_DEVICE_MODULE + "/platformsupport/" + userdevice.getPlatformSupport().getId(), PlatformSupport.class);
    if (platformsupport4 != null) {
    }
}
return userdevice;


Overview

Summary

ServicesContactDonateAboutImprint