Overview

Summary

ContactDonateImprint


Appendix E-23: COMMUNITY CHAT (UI prompt)


CommunityChatCommunitySpaceModuleWhatsApp

Properties (3)

PropertyTypeEntityReferenceModule
(1) ChatLONGCommunityChatChatChatModule
(2) CommunitySpaceLONGCommunityChatCommunitySpaceCommunitySpaceModule
(3) IsAnnouncementBOOLCommunityChat


Module Interfaces (7)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /communitychatinsertCommunityChat(communitychat)CommunitySpaceModulePOSTCommunityChat
(2) /communitychat/communityspace/{id}findAllCommunityChatOfCommunitySpace(id)CommunitySpaceModuleGETCommunitySpace CommunityChat
(3) /communitychat/{id}updateCommunityChatById(communitychat)CommunitySpaceModulePUTCommunityChat
(4) /communitychat/chat/{id}findAllCommunityChatOfChat(id)CommunitySpaceModuleGETChat CommunityChat
(5) /communitychat/{id}findCommunityChatById(id)CommunitySpaceModuleGETCommunityChat
(6) /communitychatfindAllCommunityChat()CommunitySpaceModuleGETCommunityChat
(7) /communitychat/{id}deleteCommunityChatById(id)CommunitySpaceModuleDELETECommunityChat





Example:

final CommunityChat communitychat = (CommunityChat) invokeModule(COMMUNITY_SPACE_MODULE + "/communitychat/" + id, CommunityChat.class);
if (communitychat != null) {
    final CommunitySpace communityspace1 = (CommunitySpace) invokeModule(COMMUNITY_SPACE_MODULE + "/communityspace/" + communitychat.getCommunitySpace().getId(), CommunitySpace.class);
    if (communityspace1 != null) {
        final UserAccount owneruseraccount2 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + communityspace1.getOwnerUserAccount().getId(), UserAccount.class);
        if (owneruseraccount2 != null) {
        }
    }
    final Chat chat3 = (Chat) invokeModule(CHAT_MODULE + "/chat/" + communitychat.getChat().getId(), Chat.class);
    if (chat3 != null) {
        final UserAccount createdbyuseraccount4 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + chat3.getCreatedByUserAccount().getId(), UserAccount.class);
        if (createdbyuseraccount4 != null) {
        }
    }
}
return communitychat;


Overview

Summary

ContactDonateImprint