Class GroupConversationController
java.lang.Object
com.finconsgroup.itserr.marketplace.usercommunication.dm.controller.GroupConversationController
- All Implemented Interfaces:
GroupConversationApi
@RestController
public class GroupConversationController
extends Object
implements GroupConversationApi
REST Controller for managing group conversations
Provides LinkedIn-style direct messaging and group chat functionality
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<Conversation> Create a new group conversationvoidinviteUserToGroup(UUID conversationId, InputInviteUserDto request) Invite user to group conversationvoidpromoteUserToAdmin(UUID conversationId, InputPromoteUserDto request) Promote user to admin in group conversationvoidremoveUserFromGroup(UUID conversationId, InputRemoveUserDto request) Remove user from group conversation
-
Constructor Details
-
GroupConversationController
public GroupConversationController()
-
-
Method Details
-
createGroupConversation
public org.springframework.http.ResponseEntity<Conversation> createGroupConversation(InputCreateGroupConversationDto request) Create a new group conversation- Specified by:
createGroupConversationin interfaceGroupConversationApi
-
inviteUserToGroup
Invite user to group conversation- Specified by:
inviteUserToGroupin interfaceGroupConversationApi
-
removeUserFromGroup
Remove user from group conversation- Specified by:
removeUserFromGroupin interfaceGroupConversationApi
-
promoteUserToAdmin
Promote user to admin in group conversation- Specified by:
promoteUserToAdminin interfaceGroupConversationApi
-