Overview

Summary

ContactDonateImprint


Appendix E-32: COMMENT LIKE (UI prompt)


CommentLikeCommentModuleYouTubeCom

Properties (4)

PropertyTypeEntityReferenceModule
(1) CommentLONGCommentLikeCommentCommentModule
(2) CreatedAtDATECommentLike
(3) TypeSTRINGCommentLike
(4) UserLONGCommentLikeUserUserModule


Module Interfaces (7)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /commentlike/comment/{id}findAllCommentLikeOfComment(id)CommentModuleGETComment CommentLike
(2) /commentlike/{id}deleteCommentLikeById(id)CommentModuleDELETECommentLike
(3) /commentlikeinsertCommentLike(commentlike)CommentModulePOSTCommentLike
(4) /commentlike/user/{id}findAllCommentLikeOfUser(id)CommentModuleGETUser CommentLike
(5) /commentlikefindAllCommentLike()CommentModuleGETCommentLike
(6) /commentlike/{id}findCommentLikeById(id)CommentModuleGETCommentLike
(7) /commentlike/{id}updateCommentLikeById(commentlike)CommentModulePUTCommentLike





Example:

final CommentLike commentlike = (CommentLike) invokeModule(COMMENT_MODULE + "/commentlike/" + id, CommentLike.class);
if (commentlike != null) {
    final Comment comment1 = (Comment) invokeModule(COMMENT_MODULE + "/comment/" + commentlike.getComment().getId(), Comment.class);
    if (comment1 != null) {
        final Video video2 = (Video) invokeModule(VIDEO_MODULE + "/video/" + comment1.getVideo().getId(), Video.class);
        if (video2 != null) {
            final Category category3 = (Category) invokeModule(AD_MODULE + "/category/" + video2.getCategory().getId(), Category.class);
            if (category3 != null) {
            }
            final Channel channel4 = (Channel) invokeModule(CHANNEL_MODULE + "/channel/" + video2.getChannel().getId(), Channel.class);
            if (channel4 != null) {
                final User owneruser5 = (User) invokeModule(USER_MODULE + "/user/" + channel4.getOwnerUser().getId(), User.class);
                if (owneruser5 != null) {
                }
            }
        }
        final User user6 = (User) invokeModule(USER_MODULE + "/user/" + comment1.getUser().getId(), User.class);
        if (user6 != null) {
        }
    }
    final User user7 = (User) invokeModule(USER_MODULE + "/user/" + commentlike.getUser().getId(), User.class);
    if (user7 != null) {
    }
}
return commentlike;


Overview

Summary

ContactDonateImprint