Overview

Summary

ServicesContactDonateAboutImprint


4. COMMENT MODULE (UI prompt)



Module Entities (7)

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

Module Interfaces (26)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /userprofile/user/{id}findAllUserProfileOfUser(id)CommentModuleGETUser UserProfile
(2) /commentlike/{id}updateCommentLikeById(commentlike)CommentModulePUTCommentLike
(3) /comment/{id}findCommentById(id)CommentModuleGETComment
(4) /commentlike/{id}findCommentLikeById(id)CommentModuleGETCommentLike
(5) /comment/{id}updateCommentById(comment)CommentModulePUTComment
(6) /commentlike/user/{id}findAllCommentLikeOfUser(id)CommentModuleGETUser CommentLike
(7) /commentfindAllComment()CommentModuleGETComment
(8) /userprofileinsertUserProfile(userprofile)CommentModulePOSTUserProfile
(9) /commentlikefindAllCommentLike()CommentModuleGETCommentLike
(10) /commentlike/comment/{id}findAllCommentLikeOfComment(id)CommentModuleGETComment CommentLike
(11) /dailyvideometric/video/{id}findAllDailyVideoMetricOfVideo(id)CommentModuleGETVideo DailyVideoMetric
(12) /commentinsertComment(comment)CommentModulePOSTComment
(13) /userprofile/{id}deleteUserProfileById(id)CommentModuleDELETEUserProfile
(14) /userprofilefindAllUserProfile()CommentModuleGETUserProfile
(15) /comment/{id}deleteCommentById(id)CommentModuleDELETEComment
(16) /dailyvideometric/{id}deleteDailyVideoMetricById(id)CommentModuleDELETEDailyVideoMetric
(17) /dailyvideometricfindAllDailyVideoMetric()CommentModuleGETDailyVideoMetric
(18) /commentlikeinsertCommentLike(commentlike)CommentModulePOSTCommentLike
(19) /comment/video/{id}findAllCommentOfVideo(id)CommentModuleGETVideo Comment
(20) /dailyvideometric/{id}updateDailyVideoMetricById(dailyvideometric)CommentModulePUTDailyVideoMetric
(21) /comment/user/{id}findAllCommentOfUser(id)CommentModuleGETUser Comment
(22) /dailyvideometricinsertDailyVideoMetric(dailyvideometric)CommentModulePOSTDailyVideoMetric
(23) /userprofile/{id}updateUserProfileById(userprofile)CommentModulePUTUserProfile
(24) /dailyvideometric/{id}findDailyVideoMetricById(id)CommentModuleGETDailyVideoMetric
(25) /commentlike/{id}deleteCommentLikeById(id)CommentModuleDELETECommentLike
(26) /userprofile/{id}findUserProfileById(id)CommentModuleGETUserProfile






4.1 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(CATEGORY_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;


4.2 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(CATEGORY_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;


4.3 DAILY VIDEO METRIC


DailyVideoMetricCommentModuleYouTubeCom

Properties (10)

PropertyTypeEntityReferenceModule
(1) CommentCountLONGDailyVideoMetric
(2) DateDATEDailyVideoMetric
(3) DislikeCountLONGDailyVideoMetric
(4) LikeCountLONGDailyVideoMetric
(5) RevenueMicrosLONGDailyVideoMetric
(6) ShareCountLONGDailyVideoMetric
(7) UniqueViewerCountApproxLONGDailyVideoMetric
(8) VideoLONGDailyVideoMetricVideoVideoModule
(9) ViewCountLONGDailyVideoMetric
(10) WatchTimeSecondsLONGDailyVideoMetric





Example:

final DailyVideoMetric dailyvideometric = (DailyVideoMetric) invokeModule(COMMENT_MODULE + "/dailyvideometric/" + id, DailyVideoMetric.class);
if (dailyvideometric != null) {
    final Video video1 = (Video) invokeModule(VIDEO_MODULE + "/video/" + dailyvideometric.getVideo().getId(), Video.class);
    if (video1 != null) {
        final Category category2 = (Category) invokeModule(CATEGORY_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 dailyvideometric;


4.4 USER PROFILE


UserProfileCommentModuleYouTubeCom

Properties (9)

PropertyTypeEntityReferenceModule
(1) AdditionalSettingsJsonSTRINGUserProfile
(2) BannerImageUrlSTRINGUserProfile
(3) BioSTRINGUserProfile
(4) BirthdateDATEUserProfile
(5) CreatedAtDATEUserProfile
(6) GenderSTRINGUserProfile
(7) LinksJsonSTRINGUserProfile
(8) UpdatedAtDATEUserProfile
(9) UserLONGUserProfileUserUserModule





Example:

final UserProfile userprofile = (UserProfile) invokeModule(COMMENT_MODULE + "/userprofile/" + id, UserProfile.class);
if (userprofile != null) {
    final User user1 = (User) invokeModule(USER_MODULE + "/user/" + userprofile.getUser().getId(), User.class);
    if (user1 != null) {
    }
}
return userprofile;


Overview

Summary

ServicesContactDonateAboutImprint