Overview

Summary

ServicesContactDonateAboutImprint


3. COMMUNITY SPACE MODULE (UI prompt)



Module Entities (5)

EntityAliasModuleGlobal Schema
(1) BlockedUserBlockedUserCommunitySpaceModuleWhatsApp
(2) ChatChatChatModuleWhatsApp
(3) CommunityChatCommunityChatCommunitySpaceModuleWhatsApp
(4) CommunitySpaceCommunitySpaceCommunitySpaceModuleWhatsApp
(5) UserAccountUserAccountUserAccountModuleWhatsApp

Module Interfaces (20)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /communitychat/{id}deleteCommunityChatById(id)CommunitySpaceModuleDELETECommunityChat
(2) /communitychat/{id}findCommunityChatById(id)CommunitySpaceModuleGETCommunityChat
(3) /communitychat/communityspace/{id}findAllCommunityChatOfCommunitySpace(id)CommunitySpaceModuleGETCommunitySpace CommunityChat
(4) /communityspace/{id}deleteCommunitySpaceById(id)CommunitySpaceModuleDELETECommunitySpace
(5) /blockeduser/{id}deleteBlockedUserById(id)CommunitySpaceModuleDELETEBlockedUser
(6) /communitychat/chat/{id}findAllCommunityChatOfChat(id)CommunitySpaceModuleGETChat CommunityChat
(7) /communityspacefindAllCommunitySpace()CommunitySpaceModuleGETCommunitySpace
(8) /communityspace/{id}updateCommunitySpaceById(communityspace)CommunitySpaceModulePUTCommunitySpace
(9) /blockeduserinsertBlockedUser(blockeduser)CommunitySpaceModulePOSTBlockedUser
(10) /communitychatinsertCommunityChat(communitychat)CommunitySpaceModulePOSTCommunityChat
(11) /communityspaceinsertCommunitySpace(communityspace)CommunitySpaceModulePOSTCommunitySpace
(12) /communityspace/{id}findCommunitySpaceById(id)CommunitySpaceModuleGETCommunitySpace
(13) /communitychat/{id}updateCommunityChatById(communitychat)CommunitySpaceModulePUTCommunityChat
(14) /blockeduserfindAllBlockedUser()CommunitySpaceModuleGETBlockedUser
(15) /blockeduser/useraccount/{id}findAllBlockedUserOfUserAccount(id)CommunitySpaceModuleGETUserAccount BlockedUser
(16) /communityspace/owneruseraccount/{id}findAllCommunitySpaceOfOwnerUserAccount(id)CommunitySpaceModuleGETUserAccount CommunitySpace
(17) /blockeduser/blockeduseraccount/{id}findAllBlockedUserOfBlockedUserAccount(id)CommunitySpaceModuleGETUserAccount BlockedUser
(18) /blockeduser/{id}findBlockedUserById(id)CommunitySpaceModuleGETBlockedUser
(19) /communitychatfindAllCommunityChat()CommunitySpaceModuleGETCommunityChat
(20) /blockeduser/{id}updateBlockedUserById(blockeduser)CommunitySpaceModulePUTBlockedUser






3.1 BLOCKED USER


BlockedUserCommunitySpaceModuleWhatsApp

Properties (3)

PropertyTypeEntityReferenceModule
(1) BlockedUserAccountLONGBlockedUserUserAccountUserAccountModule
(2) CreatedAtDATEBlockedUser
(3) UserAccountLONGBlockedUserUserAccountUserAccountModule





Example:

final BlockedUser blockeduser = (BlockedUser) invokeModule(COMMUNITY_SPACE_MODULE + "/blockeduser/" + id, BlockedUser.class);
if (blockeduser != null) {
    final UserAccount useraccount1 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + blockeduser.getUserAccount().getId(), UserAccount.class);
    if (useraccount1 != null) {
    }
    final UserAccount blockeduseraccount2 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + blockeduser.getBlockedUserAccount().getId(), UserAccount.class);
    if (blockeduseraccount2 != null) {
    }
}
return blockeduser;


3.2 COMMUNITY CHAT


CommunityChatCommunitySpaceModuleWhatsApp

Properties (3)

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





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;


3.3 COMMUNITY SPACE


CommunitySpaceCommunitySpaceModuleWhatsApp

Properties (4)

PropertyTypeEntityReferenceModule
(1) CreatedAtDATECommunitySpace
(2) DescriptionSTRINGCommunitySpace
(3) NameSTRINGCommunitySpace
(4) OwnerUserAccountLONGCommunitySpaceUserAccountUserAccountModule





Example:

final CommunitySpace communityspace = (CommunitySpace) invokeModule(COMMUNITY_SPACE_MODULE + "/communityspace/" + id, CommunitySpace.class);
if (communityspace != null) {
    final UserAccount owneruseraccount1 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + communityspace.getOwnerUserAccount().getId(), UserAccount.class);
    if (owneruseraccount1 != null) {
    }
}
return communityspace;


Overview

Summary

ServicesContactDonateAboutImprint