Overview

Summary

ContactDonateImprint


2. GAME MODULE (UI prompt)



Module Entities (4)

EntityAliasModuleGlobal Schema
(1) GameGameGameModuleLinkedIn
(2) GameSessionGameSessionGameModuleLinkedIn
(3) NotificationNotificationGameModuleLinkedIn
(4) UserAccountUserAccountUserAccountModuleLinkedIn

Module Interfaces (18)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /notification/user/{id}findAllNotificationOfUser(id)GameModuleGETUserAccount Notification
(2) /gamesession/game/{id}findAllGameSessionOfGame(id)GameModuleGETGame GameSession
(3) /gamesession/{id}findGameSessionById(id)GameModuleGETGameSession
(4) /game/{id}updateGameById(game)GameModulePUTGame
(5) /gameinsertGame(game)GameModulePOSTGame
(6) /gamesession/{id}updateGameSessionById(gamesession)GameModulePUTGameSession
(7) /gamesessionfindAllGameSession()GameModuleGETGameSession
(8) /gamefindAllGame()GameModuleGETGame
(9) /notificationfindAllNotification()GameModuleGETNotification
(10) /gamesession/user/{id}findAllGameSessionOfUser(id)GameModuleGETUserAccount GameSession
(11) /notification/{id}findNotificationById(id)GameModuleGETNotification
(12) /notificationinsertNotification(notification)GameModulePOSTNotification
(13) /game/{id}findGameById(id)GameModuleGETGame
(14) /gamesessioninsertGameSession(gamesession)GameModulePOSTGameSession
(15) /notification/{id}deleteNotificationById(id)GameModuleDELETENotification
(16) /gamesession/{id}deleteGameSessionById(id)GameModuleDELETEGameSession
(17) /game/{id}deleteGameById(id)GameModuleDELETEGame
(18) /notification/{id}updateNotificationById(notification)GameModulePUTNotification






2.1 GAME


GameGameModuleLinkedIn

Properties (4)

PropertyTypeEntityReferenceModule
(1) CategorySTRINGGame
(2) DescriptionSTRINGGame
(3) NameSTRINGGame
(4) UrlSTRINGGame





Example:

final Game game = (Game) invokeModule(GAME_MODULE + "/game/" + id, Game.class);
if (game != null) {
}
return game;


2.2 GAME SESSION


GameSessionGameModuleLinkedIn

Properties (5)

PropertyTypeEntityReferenceModule
(1) EndedAtDATEGameSession
(2) GameLONGGameSessionGameGameModule
(3) ScoreINTGameSession
(4) StartedAtDATEGameSession
(5) UserLONGGameSessionUserAccountUserAccountModule





Example:

final GameSession gamesession = (GameSession) invokeModule(GAME_MODULE + "/gamesession/" + id, GameSession.class);
if (gamesession != null) {
    final UserAccount user1 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + gamesession.getUser().getId(), UserAccount.class);
    if (user1 != null) {
    }
    final Game game2 = (Game) invokeModule(GAME_MODULE + "/game/" + gamesession.getGame().getId(), Game.class);
    if (game2 != null) {
    }
}
return gamesession;


2.3 NOTIFICATION


NotificationGameModuleLinkedIn

Properties (5)

PropertyTypeEntityReferenceModule
(1) CreatedAtDATENotification
(2) DataJsonSTRINGNotification
(3) IsReadBOOLNotification
(4) TypeSTRINGNotification
(5) UserLONGNotificationUserAccountUserAccountModule





Example:

final Notification notification = (Notification) invokeModule(GAME_MODULE + "/notification/" + id, Notification.class);
if (notification != null) {
    final UserAccount user1 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + notification.getUser().getId(), UserAccount.class);
    if (user1 != null) {
    }
}
return notification;


Overview

Summary

ContactDonateImprint