Package net.atthegate.server
Class DbHelper
java.lang.Object
net.atthegate.server.DbHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
addAtgUserNotificationSettings
(String uid, Map<String, CustomNotification> notifications) static AtTheGateAppUser
deleteAtgUserFrame
(String uid, String key) static void
deleteAtgUserNotificationSetting
(String uid, String key) static void
deleteAtgUserReport
(String uid, String key) static void
deleteTimeAndAttendanceReport
(String uid, String key) static String
static String
static AtTheGateAppUser
getFormOfySafe
(String uid) static String
getPinCode
(Integer codeLength) static void
initDb()
static void
saveAtgUser
(AtTheGateAppUser atgUser) static AtTheGateAppUser
saveAtgUserActiveRollOutCallId
(String uid, Long rollOutcallId) static void
saveAtgUserFrame
(DatastudioFrame frame) static AtTheGateAppUser
saveAtgUserInvitationCategoryId
(String uid, Long categoryId) static void
saveAtgUserIotSettings
(String uid, UserIotSettings settings) static void
saveAtgUserNotificationSetting
(CustomNotification notification) static void
saveAtgUserNotificationSettingPreDef
(PreDefNotifications notifications) static void
saveAtgUserPermissions
(String uid, UserPermissions permissions) static void
saveAtgUserReport
(ReportSettings report) static AtTheGateAppUser
saveAtgUserSettings
(String uid, UserSettings userSettings) static String
saveImageToStorage
(String path, String contentType, String image) static void
static void
setAtgUserNotificationSettings
(String uid, Map<String, CustomNotification> notifications)
-
Constructor Details
-
DbHelper
public DbHelper()
-
-
Method Details
-
initDb
public static void initDb() -
getFormOfySafe
-
saveAtgUser
-
saveAtgUserFrame
-
deleteAtgUserFrame
-
saveAtgUserReport
-
deleteAtgUserReport
-
saveTimeAndAttendanceReport
-
deleteTimeAndAttendanceReport
-
saveAtgUserNotificationSettingPreDef
-
saveAtgUserNotificationSetting
-
saveAtgUserIotSettings
-
deleteAtgUserNotificationSetting
-
addAtgUserNotificationSettings
public static void addAtgUserNotificationSettings(String uid, Map<String, CustomNotification> notifications) -
setAtgUserNotificationSettings
public static void setAtgUserNotificationSettings(String uid, Map<String, CustomNotification> notifications) -
saveAtgUserPermissions
-
saveAtgUserInvitationCategoryId
-
saveAtgUserSettings
-
saveAtgUserActiveRollOutCallId
-
generateFBKey
-
generateKey
-
getPinCode
-
saveImageToStorage
-