Overview

Summary

ContactDonateImprint


Appendix E-2: COMMENT (UI prompt)


CommentCommentModuleYouTubeCom

Properties (10)

PropertyTypeEntityReferenceModule
(1) CreatedAtDATEComment
(2) IsEditedBOOLComment
(3) IsPinnedBOOLComment
(4) LikeCountCachedLONGComment
(5) ParentCommentLONGComment
(6) StatusSTRINGComment
(7) TextSTRINGComment
(8) UpdatedAtDATEComment
(9) UserLONGCommentUserUserModule
(10) VideoLONGCommentVideoVideoModule


Module Interfaces (9)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /commentlike/comment/{id}findAllCommentLikeOfComment(id)CommentModuleGETComment CommentLike
(2) /comment/{id}deleteCommentById(id)CommentModuleDELETEComment
(3) /comment/user/{id}findAllCommentOfUser(id)CommentModuleGETUser Comment
(4) /commentinsertComment(comment)CommentModulePOSTComment
(5) /comment/video/{id}findAllCommentOfVideo(id)CommentModuleGETVideo Comment
(6) /commentfindAllComment()CommentModuleGETComment
(7) /comment/{id}findCommentById(id)CommentModuleGETComment
(8) /comment/{id}updateCommentById(comment)CommentModulePUTComment
(9) /commentreport/comment/{id}findAllCommentReportOfComment(id)UserModuleGETComment CommentReport





Example:

final Comment comment = (Comment) invokeModule(COMMENT_MODULE + "/comment/" + id, Comment.class);
if (comment != null) {
    final Video video1 = (Video) invokeModule(VIDEO_MODULE + "/video/" + comment.getVideo().getId(), Video.class);
    if (video1 != null) {
        final Category category2 = (Category) invokeModule(AD_MODULE + "/category/" + video1.getCategory().getId(), Category.class);
        if (category2 != null) {
        }
        final Channel channel3 = (Channel) invokeModule(CHANNEL_MODULE + "/channel/" + video1.getChannel().getId(), Channel.class);
        if (channel3 != null) {
            final User owneruser4 = (User) invokeModule(USER_MODULE + "/user/" + channel3.getOwnerUser().getId(), User.class);
            if (owneruser4 != null) {
            }
        }
    }
    final User user5 = (User) invokeModule(USER_MODULE + "/user/" + comment.getUser().getId(), User.class);
    if (user5 != null) {
    }
}
return comment;


Overview

Summary

ContactDonateImprint