Overview

Summary

ContactDonateImprint


Appendix E-5: REPORT (UI prompt)


ReportSpaceModuleTwitterX

Properties (9)

PropertyTypeEntityReferenceModule
(1) CategorySTRINGReport
(2) CreatedAtSTRINGReport
(3) DescriptionSTRINGReport
(4) ReportedTweetLONGReportTweetTweetModule
(5) ReportedUserLONGReportUserAccountUserAccountModule
(6) ReporterUserLONGReportUserAccountUserAccountModule
(7) ResolvedAtSTRINGReport
(8) ResolverUserLONGReportUserAccountUserAccountModule
(9) StatusSTRINGReport


Module Interfaces (9)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /report/{id}findReportById(id)SpaceModuleGETReport
(2) /report/reportedtweet/{id}findAllReportOfReportedTweet(id)SpaceModuleGETTweet Report
(3) /reportfindAllReport()SpaceModuleGETReport
(4) /report/reporteruser/{id}findAllReportOfReporterUser(id)SpaceModuleGETUserAccount Report
(5) /reportinsertReport(report)SpaceModulePOSTReport
(6) /report/reporteduser/{id}findAllReportOfReportedUser(id)SpaceModuleGETUserAccount Report
(7) /report/resolveruser/{id}findAllReportOfResolverUser(id)SpaceModuleGETUserAccount Report
(8) /report/{id}updateReportById(report)SpaceModulePUTReport
(9) /report/{id}deleteReportById(id)SpaceModuleDELETEReport





Example:

final Report report = (Report) invokeModule(SPACE_MODULE + "/report/" + id, Report.class);
if (report != null) {
    final Tweet reportedtweet1 = (Tweet) invokeModule(TWEET_MODULE + "/tweet/" + report.getReportedTweet().getId(), Tweet.class);
    if (reportedtweet1 != null) {
        final UserAccount inreplytouser2 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + reportedtweet1.getInReplyToUser().getId(), UserAccount.class);
        if (inreplytouser2 != null) {
        }
        final UserAccount user3 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + reportedtweet1.getUser().getId(), UserAccount.class);
        if (user3 != null) {
        }
    }
    final UserAccount reporteduser4 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + report.getReportedUser().getId(), UserAccount.class);
    if (reporteduser4 != null) {
    }
    final UserAccount reporteruser5 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + report.getReporterUser().getId(), UserAccount.class);
    if (reporteruser5 != null) {
    }
    final UserAccount resolveruser6 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + report.getResolverUser().getId(), UserAccount.class);
    if (resolveruser6 != null) {
    }
}
return report;


Overview

Summary

ContactDonateImprint