Overview

Summary

ContactDonateImprint


Appendix E-3: SESSION (UI prompt)


SessionUserAccountModuleTwitterX

Properties (7)

PropertyTypeEntityReferenceModule
(1) DeviceLONGSessionDeviceUserAccountModule
(2) EndedAtSTRINGSession
(3) IpAddressSTRINGSession
(4) IsActiveBOOLSession
(5) StartedAtSTRINGSession
(6) UserLONGSessionUserAccountUserAccountModule
(7) UserAgentSTRINGSession


Module Interfaces (7)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /session/{id}deleteSessionById(id)UserAccountModuleDELETESession
(2) /sessionfindAllSession()UserAccountModuleGETSession
(3) /session/device/{id}findAllSessionOfDevice(id)UserAccountModuleGETDevice Session
(4) /session/{id}updateSessionById(session)UserAccountModulePUTSession
(5) /session/{id}findSessionById(id)UserAccountModuleGETSession
(6) /session/user/{id}findAllSessionOfUser(id)UserAccountModuleGETUserAccount Session
(7) /sessioninsertSession(session)UserAccountModulePOSTSession





Example:

final Session session = (Session) invokeModule(USER_ACCOUNT_MODULE + "/session/" + id, Session.class);
if (session != null) {
    final Device device1 = (Device) invokeModule(USER_ACCOUNT_MODULE + "/device/" + session.getDevice().getId(), Device.class);
    if (device1 != null) {
        final UserAccount user2 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + device1.getUser().getId(), UserAccount.class);
        if (user2 != null) {
        }
    }
    final UserAccount user3 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + session.getUser().getId(), UserAccount.class);
    if (user3 != null) {
    }
}
return session;


Overview

Summary

ContactDonateImprint