Overview

Summary

ContactDonateImprint


3. COMMENT MODULE (UI prompt)



Module Entities (7)

EntityAliasModuleGlobal Schema
(1) CaptionCaptionCommentModuleYouTubeCom
(2) CommentCommentCommentModuleYouTubeCom
(3) CommentLikeCommentLikeCommentModuleYouTubeCom
(4) CommentReportCommentReportUserModuleYouTubeCom
(5) ThumbnailThumbnailCommentModuleYouTubeCom
(6) UserUserUserModuleYouTubeCom
(7) VideoVideoVideoModuleYouTubeCom

Module Interfaces (26)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /comment/user/{id}findAllCommentOfUser(id)CommentModuleGETUser Comment
(2) /thumbnail/{id}deleteThumbnailById(id)CommentModuleDELETEThumbnail
(3) /commentlikeinsertCommentLike(commentlike)CommentModulePOSTCommentLike
(4) /commentlikefindAllCommentLike()CommentModuleGETCommentLike
(5) /comment/{id}deleteCommentById(id)CommentModuleDELETEComment
(6) /caption/video/{id}findAllCaptionOfVideo(id)CommentModuleGETVideo Caption
(7) /commentlike/{id}findCommentLikeById(id)CommentModuleGETCommentLike
(8) /commentinsertComment(comment)CommentModulePOSTComment
(9) /captioninsertCaption(caption)CommentModulePOSTCaption
(10) /thumbnailfindAllThumbnail()CommentModuleGETThumbnail
(11) /commentlike/{id}updateCommentLikeById(commentlike)CommentModulePUTCommentLike
(12) /comment/video/{id}findAllCommentOfVideo(id)CommentModuleGETVideo Comment
(13) /thumbnail/{id}findThumbnailById(id)CommentModuleGETThumbnail
(14) /caption/{id}updateCaptionById(caption)CommentModulePUTCaption
(15) /commentlike/{id}deleteCommentLikeById(id)CommentModuleDELETECommentLike
(16) /commentlike/comment/{id}findAllCommentLikeOfComment(id)CommentModuleGETComment CommentLike
(17) /commentfindAllComment()CommentModuleGETComment
(18) /comment/{id}findCommentById(id)CommentModuleGETComment
(19) /caption/{id}findCaptionById(id)CommentModuleGETCaption
(20) /commentlike/user/{id}findAllCommentLikeOfUser(id)CommentModuleGETUser CommentLike
(21) /thumbnail/{id}updateThumbnailById(thumbnail)CommentModulePUTThumbnail
(22) /thumbnailinsertThumbnail(thumbnail)CommentModulePOSTThumbnail
(23) /thumbnail/video/{id}findAllThumbnailOfVideo(id)CommentModuleGETVideo Thumbnail
(24) /caption/{id}deleteCaptionById(id)CommentModuleDELETECaption
(25) /captionfindAllCaption()CommentModuleGETCaption
(26) /comment/{id}updateCommentById(comment)CommentModulePUTComment






3.1 CAPTION


CaptionCommentModuleYouTubeCom

Properties (8)

PropertyTypeEntityReferenceModule
(1) CreatedAtDATECaption
(2) FormatSTRINGCaption
(3) IsAutoGeneratedBOOLCaption
(4) LanguageSTRINGCaption
(5) NameSTRINGCaption
(6) StorageKeySTRINGCaption
(7) UpdatedAtDATECaption
(8) VideoLONGCaptionVideoVideoModule





Example:

final Caption caption = (Caption) invokeModule(COMMENT_MODULE + "/caption/" + id, Caption.class);
if (caption != null) {
    final Video video1 = (Video) invokeModule(VIDEO_MODULE + "/video/" + caption.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) {
            }
        }
    }
}
return caption;


3.2 COMMENT


CommentCommentModuleYouTubeCom

Properties (10)

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





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;


3.3 COMMENT LIKE


CommentLikeCommentModuleYouTubeCom

Properties (4)

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





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;


3.4 THUMBNAIL


ThumbnailCommentModuleYouTubeCom

Properties (6)

PropertyTypeEntityReferenceModule
(1) CreatedAtDATEThumbnail
(2) HeightLONGThumbnail
(3) QualityLabelSTRINGThumbnail
(4) UrlSTRINGThumbnail
(5) VideoLONGThumbnailVideoVideoModule
(6) WidthLONGThumbnail





Example:

final Thumbnail thumbnail = (Thumbnail) invokeModule(COMMENT_MODULE + "/thumbnail/" + id, Thumbnail.class);
if (thumbnail != null) {
    final Video video1 = (Video) invokeModule(VIDEO_MODULE + "/video/" + thumbnail.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) {
            }
        }
    }
}
return thumbnail;


Overview

Summary

ContactDonateImprint