Overview

Summary

ContactDonateImprint


Appendix E-5: COMMENT (UI prompt)


CommentUserAccountModuleLinkedIn

Properties (7)

PropertyTypeEntityReferenceModule
(1) AuthorUserLONGCommentUserAccountUserAccountModule
(2) BodySTRINGComment
(3) CreatedAtDATEComment
(4) IsDeletedBOOLComment
(5) ParentCommentLONGComment
(6) PostLONGCommentPostPostModule
(7) UpdatedAtDATEComment


Module Interfaces (8)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /reaction/comment/{id}findAllReactionOfComment(id)PostModuleGETComment Reaction
(2) /commentfindAllComment()UserAccountModuleGETComment
(3) /comment/{id}deleteCommentById(id)UserAccountModuleDELETEComment
(4) /commentinsertComment(comment)UserAccountModulePOSTComment
(5) /comment/authoruser/{id}findAllCommentOfAuthorUser(id)UserAccountModuleGETUserAccount Comment
(6) /comment/{id}findCommentById(id)UserAccountModuleGETComment
(7) /comment/post/{id}findAllCommentOfPost(id)UserAccountModuleGETPost Comment
(8) /comment/{id}updateCommentById(comment)UserAccountModulePUTComment





Example:

final Comment comment = (Comment) invokeModule(USER_ACCOUNT_MODULE + "/comment/" + id, Comment.class);
if (comment != null) {
    final Post post1 = (Post) invokeModule(POST_MODULE + "/post/" + comment.getPost().getId(), Post.class);
    if (post1 != null) {
        final UserAccount authoruser2 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + post1.getAuthorUser().getId(), UserAccount.class);
        if (authoruser2 != null) {
        }
        final Company company3 = (Company) invokeModule(COMPANY_MODULE + "/company/" + post1.getCompany().getId(), Company.class);
        if (company3 != null) {
        }
    }
    final UserAccount authoruser4 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + comment.getAuthorUser().getId(), UserAccount.class);
    if (authoruser4 != null) {
    }
}
return comment;


Overview

Summary

ContactDonateImprint