Overview

Summary

ContactDonateImprint


Appendix E-5: NOTIFICATION (UI prompt)


NotificationReelModuleInstagram

Properties (10)

PropertyTypeEntityReferenceModule
(1) CommentLONGNotificationCommentStoryModule
(2) CreatedAtDATENotification
(3) DirectMessageLONGNotificationDirectMessageDirectThreadModule
(4) IsReadBOOLNotification
(5) PostLONGNotificationPostUserAccountModule
(6) ReelLONGNotificationReelReelModule
(7) SourceUserLONGNotificationUserAccountUserAccountModule
(8) StoryLONGNotificationStoryStoryModule
(9) TypeSTRINGNotification
(10) UserAccountLONGNotificationUserAccountUserAccountModule


Module Interfaces (12)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /notification/directmessage/{id}findAllNotificationOfDirectMessage(id)ReelModuleGETDirectMessage Notification
(2) /notification/reel/{id}findAllNotificationOfReel(id)ReelModuleGETReel Notification
(3) /notification/comment/{id}findAllNotificationOfComment(id)ReelModuleGETComment Notification
(4) /notificationinsertNotification(notification)ReelModulePOSTNotification
(5) /notification/{id}findNotificationById(id)ReelModuleGETNotification
(6) /notification/story/{id}findAllNotificationOfStory(id)ReelModuleGETStory Notification
(7) /notificationfindAllNotification()ReelModuleGETNotification
(8) /notification/{id}deleteNotificationById(id)ReelModuleDELETENotification
(9) /notification/{id}updateNotificationById(notification)ReelModulePUTNotification
(10) /notification/useraccount/{id}findAllNotificationOfUserAccount(id)ReelModuleGETUserAccount Notification
(11) /notification/sourceuser/{id}findAllNotificationOfSourceUser(id)ReelModuleGETUserAccount Notification
(12) /notification/post/{id}findAllNotificationOfPost(id)ReelModuleGETPost Notification





Example:

final Notification notification = (Notification) invokeModule(REEL_MODULE + "/notification/" + id, Notification.class);
if (notification != null) {
    final Post post1 = (Post) invokeModule(USER_ACCOUNT_MODULE + "/post/" + notification.getPost().getId(), Post.class);
    if (post1 != null) {
        final Location location2 = (Location) invokeModule(FEATURE_FLAG_MODULE + "/location/" + post1.getLocation().getId(), Location.class);
        if (location2 != null) {
        }
        final UserAccount useraccount3 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + post1.getUserAccount().getId(), UserAccount.class);
        if (useraccount3 != null) {
        }
    }
    final Story story4 = (Story) invokeModule(STORY_MODULE + "/story/" + notification.getStory().getId(), Story.class);
    if (story4 != null) {
        final UserAccount useraccount5 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + story4.getUserAccount().getId(), UserAccount.class);
        if (useraccount5 != null) {
        }
    }
    final UserAccount sourceuser6 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + notification.getSourceUser().getId(), UserAccount.class);
    if (sourceuser6 != null) {
    }
    final Reel reel7 = (Reel) invokeModule(REEL_MODULE + "/reel/" + notification.getReel().getId(), Reel.class);
    if (reel7 != null) {
        final UserAccount useraccount8 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + reel7.getUserAccount().getId(), UserAccount.class);
        if (useraccount8 != null) {
        }
    }
    final Comment comment9 = (Comment) invokeModule(STORY_MODULE + "/comment/" + notification.getComment().getId(), Comment.class);
    if (comment9 != null) {
        final UserAccount useraccount10 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + comment9.getUserAccount().getId(), UserAccount.class);
        if (useraccount10 != null) {
        }
        final Post post11 = (Post) invokeModule(USER_ACCOUNT_MODULE + "/post/" + comment9.getPost().getId(), Post.class);
        if (post11 != null) {
            final Location location12 = (Location) invokeModule(FEATURE_FLAG_MODULE + "/location/" + post11.getLocation().getId(), Location.class);
            if (location12 != null) {
            }
            final UserAccount useraccount13 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + post11.getUserAccount().getId(), UserAccount.class);
            if (useraccount13 != null) {
            }
        }
    }
    final DirectMessage directmessage14 = (DirectMessage) invokeModule(DIRECT_THREAD_MODULE + "/directmessage/" + notification.getDirectMessage().getId(), DirectMessage.class);
    if (directmessage14 != null) {
        final Reel reel15 = (Reel) invokeModule(REEL_MODULE + "/reel/" + directmessage14.getReel().getId(), Reel.class);
        if (reel15 != null) {
            final UserAccount useraccount16 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + reel15.getUserAccount().getId(), UserAccount.class);
            if (useraccount16 != null) {
            }
        }
        final Post post17 = (Post) invokeModule(USER_ACCOUNT_MODULE + "/post/" + directmessage14.getPost().getId(), Post.class);
        if (post17 != null) {
            final Location location18 = (Location) invokeModule(FEATURE_FLAG_MODULE + "/location/" + post17.getLocation().getId(), Location.class);
            if (location18 != null) {
            }
            final UserAccount useraccount19 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + post17.getUserAccount().getId(), UserAccount.class);
            if (useraccount19 != null) {
            }
        }
        final UserAccount sender20 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + directmessage14.getSender().getId(), UserAccount.class);
        if (sender20 != null) {
        }
        final Story story21 = (Story) invokeModule(STORY_MODULE + "/story/" + directmessage14.getStory().getId(), Story.class);
        if (story21 != null) {
            final UserAccount useraccount22 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + story21.getUserAccount().getId(), UserAccount.class);
            if (useraccount22 != null) {
            }
        }
        final DirectThread directthread23 = (DirectThread) invokeModule(DIRECT_THREAD_MODULE + "/directthread/" + directmessage14.getDirectThread().getId(), DirectThread.class);
        if (directthread23 != null) {
        }
    }
    final UserAccount useraccount24 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + notification.getUserAccount().getId(), UserAccount.class);
    if (useraccount24 != null) {
    }
}
return notification;


Overview

Summary

ContactDonateImprint