Overview

Summary

ContactDonateImprint


Appendix E-22: COMMENT REPORT (UI prompt)


CommentReportUserModuleYouTubeCom

Properties (8)

PropertyTypeEntityReferenceModule
(1) CommentLONGCommentReportCommentCommentModule
(2) CreatedAtDATECommentReport
(3) DescriptionSTRINGCommentReport
(4) ReasonCodeSTRINGCommentReport
(5) ReporterUserLONGCommentReportUserUserModule
(6) ResolvedAtDATECommentReport
(7) ResolvedByUserLONGCommentReportUserUserModule
(8) StatusSTRINGCommentReport


Module Interfaces (8)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /commentreport/reporteruser/{id}findAllCommentReportOfReporterUser(id)UserModuleGETUser CommentReport
(2) /commentreport/resolvedbyuser/{id}findAllCommentReportOfResolvedByUser(id)UserModuleGETUser CommentReport
(3) /commentreport/{id}updateCommentReportById(commentreport)UserModulePUTCommentReport
(4) /commentreport/{id}findCommentReportById(id)UserModuleGETCommentReport
(5) /commentreport/{id}deleteCommentReportById(id)UserModuleDELETECommentReport
(6) /commentreportinsertCommentReport(commentreport)UserModulePOSTCommentReport
(7) /commentreport/comment/{id}findAllCommentReportOfComment(id)UserModuleGETComment CommentReport
(8) /commentreportfindAllCommentReport()UserModuleGETCommentReport





Example:

final CommentReport commentreport = (CommentReport) invokeModule(USER_MODULE + "/commentreport/" + id, CommentReport.class);
if (commentreport != null) {
    final User reporteruser1 = (User) invokeModule(USER_MODULE + "/user/" + commentreport.getReporterUser().getId(), User.class);
    if (reporteruser1 != null) {
    }
    final Comment comment2 = (Comment) invokeModule(COMMENT_MODULE + "/comment/" + commentreport.getComment().getId(), Comment.class);
    if (comment2 != null) {
        final Video video3 = (Video) invokeModule(VIDEO_MODULE + "/video/" + comment2.getVideo().getId(), Video.class);
        if (video3 != null) {
            final Category category4 = (Category) invokeModule(AD_MODULE + "/category/" + video3.getCategory().getId(), Category.class);
            if (category4 != null) {
            }
            final Channel channel5 = (Channel) invokeModule(CHANNEL_MODULE + "/channel/" + video3.getChannel().getId(), Channel.class);
            if (channel5 != null) {
                final User owneruser6 = (User) invokeModule(USER_MODULE + "/user/" + channel5.getOwnerUser().getId(), User.class);
                if (owneruser6 != null) {
                }
            }
        }
        final User user7 = (User) invokeModule(USER_MODULE + "/user/" + comment2.getUser().getId(), User.class);
        if (user7 != null) {
        }
    }
    final User resolvedbyuser8 = (User) invokeModule(USER_MODULE + "/user/" + commentreport.getResolvedByUser().getId(), User.class);
    if (resolvedbyuser8 != null) {
    }
}
return commentreport;


Overview

Summary

ContactDonateImprint