Overview

Summary

ContactDonateImprint


Appendix E-30: REPORT (UI prompt)


ReportStoryModuleInstagram

Properties (11)

PropertyTypeEntityReferenceModule
(1) CommentLONGReportCommentStoryModule
(2) CreatedAtDATEReport
(3) DetailsSTRINGReport
(4) PostLONGReportPostUserAccountModule
(5) ReasonSTRINGReport
(6) ReelLONGReportReelReelModule
(7) ReportedUserLONGReportUserAccountUserAccountModule
(8) ReporterLONGReportUserAccountUserAccountModule
(9) StatusSTRINGReport
(10) StoryLONGReportStoryStoryModule
(11) UpdatedAtDATEReport


Module Interfaces (11)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /reportinsertReport(report)StoryModulePOSTReport
(2) /report/reporter/{id}findAllReportOfReporter(id)StoryModuleGETUserAccount Report
(3) /report/{id}deleteReportById(id)StoryModuleDELETEReport
(4) /report/reporteduser/{id}findAllReportOfReportedUser(id)StoryModuleGETUserAccount Report
(5) /report/post/{id}findAllReportOfPost(id)StoryModuleGETPost Report
(6) /report/comment/{id}findAllReportOfComment(id)StoryModuleGETComment Report
(7) /report/{id}updateReportById(report)StoryModulePUTReport
(8) /reportfindAllReport()StoryModuleGETReport
(9) /report/reel/{id}findAllReportOfReel(id)StoryModuleGETReel Report
(10) /report/{id}findReportById(id)StoryModuleGETReport
(11) /report/story/{id}findAllReportOfStory(id)StoryModuleGETStory Report





Example:

final Report report = (Report) invokeModule(STORY_MODULE + "/report/" + id, Report.class);
if (report != null) {
    final UserAccount reporteduser1 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + report.getReportedUser().getId(), UserAccount.class);
    if (reporteduser1 != null) {
    }
    final UserAccount reporter2 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + report.getReporter().getId(), UserAccount.class);
    if (reporter2 != null) {
    }
    final Post post3 = (Post) invokeModule(USER_ACCOUNT_MODULE + "/post/" + report.getPost().getId(), Post.class);
    if (post3 != null) {
        final Location location4 = (Location) invokeModule(FEATURE_FLAG_MODULE + "/location/" + post3.getLocation().getId(), Location.class);
        if (location4 != null) {
        }
        final UserAccount useraccount5 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + post3.getUserAccount().getId(), UserAccount.class);
        if (useraccount5 != null) {
        }
    }
    final Reel reel6 = (Reel) invokeModule(REEL_MODULE + "/reel/" + report.getReel().getId(), Reel.class);
    if (reel6 != null) {
        final UserAccount useraccount7 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + reel6.getUserAccount().getId(), UserAccount.class);
        if (useraccount7 != null) {
        }
    }
    final Comment comment8 = (Comment) invokeModule(STORY_MODULE + "/comment/" + report.getComment().getId(), Comment.class);
    if (comment8 != null) {
        final UserAccount useraccount9 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + comment8.getUserAccount().getId(), UserAccount.class);
        if (useraccount9 != null) {
        }
        final Post post10 = (Post) invokeModule(USER_ACCOUNT_MODULE + "/post/" + comment8.getPost().getId(), Post.class);
        if (post10 != null) {
            final Location location11 = (Location) invokeModule(FEATURE_FLAG_MODULE + "/location/" + post10.getLocation().getId(), Location.class);
            if (location11 != null) {
            }
            final UserAccount useraccount12 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + post10.getUserAccount().getId(), UserAccount.class);
            if (useraccount12 != null) {
            }
        }
    }
    final Story story13 = (Story) invokeModule(STORY_MODULE + "/story/" + report.getStory().getId(), Story.class);
    if (story13 != null) {
        final UserAccount useraccount14 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + story13.getUserAccount().getId(), UserAccount.class);
        if (useraccount14 != null) {
        }
    }
}
return report;


Overview

Summary

ContactDonateImprint