Package net.atthegate.server
Class ApiHelper
java.lang.Object
net.atthegate.server.ApiHelper
Created by ivbar on 22.07.16.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
addWaitingNotification
(UserProfile appUserProfile, CustomNotification cn, AtgEntry atgEntry, AtTheGateAppUser appUser) static com.google.firebase.database.DatabaseReference
getEnriesImagesRef
(com.google.firebase.database.DatabaseReference firebase, String uid, String key) static com.google.firebase.database.DatabaseReference
getEnriesRef
(com.google.firebase.database.DatabaseReference firebase, String uid) static com.google.firebase.database.DatabaseReference
getEnryRef
(com.google.firebase.database.DatabaseReference firebase, String uid, String key) static com.google.firebase.database.DatabaseReference
getInvitation
(com.google.firebase.database.DatabaseReference firebase, String uid, String key) static com.google.firebase.database.DatabaseReference
getInvitationPremissions
(com.google.firebase.database.DatabaseReference firebase, String uid) static com.google.firebase.database.DatabaseReference
getInvitationVisitsCount
(com.google.firebase.database.DatabaseReference firebase, String uid, String key) static com.google.firebase.database.DatabaseReference
getNotifications
(com.google.firebase.database.DatabaseReference firebase, String uid) static com.google.firebase.database.DatabaseReference
getReportsFileLink
(com.google.firebase.database.DatabaseReference firebase, String uid, String key) static String
getStorageDownloadUrl
(String fileName, String uuid) static void
setPreRegPhotoURL
(com.google.firebase.database.DatabaseReference firebase, String uid, String preregKey, String url) static void
storeReportsFileLink
(com.google.firebase.database.DatabaseReference firebase, ReportFileLink rpl)
-
Field Details
-
TABLE_ATG_ENTRIS
- See Also:
-
TABLE_ATG_APP_USERS
- See Also:
-
TABLE_SERVER_TASKS
- See Also:
-
PRE_REGISTERED
- See Also:
-
PRE_REGISTERED_PHOTO_URL
- See Also:
-
TABLE_NOTIFICATION_USERS
- See Also:
-
USER_NOTIFICATIONS
- See Also:
-
TABLE_INVITATION
- See Also:
-
NOTIFICATON_PREMISSIONS
- See Also:
-
TABLE_BIG_QUERY_USERS
- See Also:
-
TABLE_ENTRIES_IMAGES
- See Also:
-
-
Constructor Details
-
ApiHelper
public ApiHelper()
-
-
Method Details
-
getStorageDownloadUrl
-
getEnriesRef
public static com.google.firebase.database.DatabaseReference getEnriesRef(com.google.firebase.database.DatabaseReference firebase, String uid) -
getEnryRef
-
getEnriesImagesRef
-
getNotifications
public static com.google.firebase.database.DatabaseReference getNotifications(com.google.firebase.database.DatabaseReference firebase, String uid) -
getInvitationPremissions
public static com.google.firebase.database.DatabaseReference getInvitationPremissions(com.google.firebase.database.DatabaseReference firebase, String uid) -
getInvitation
-
getInvitationVisitsCount
-
addWaitingNotification
public static void addWaitingNotification(UserProfile appUserProfile, CustomNotification cn, AtgEntry atgEntry, AtTheGateAppUser appUser) -
storeReportsFileLink
public static void storeReportsFileLink(com.google.firebase.database.DatabaseReference firebase, ReportFileLink rpl) -
getReportsFileLink
-
setPreRegPhotoURL
-