public interface ConversationFacade
| Modifier and Type | Method and Description |
|---|---|
ConversationData |
closeConversation(java.lang.String uid)
Closes a conversation for given uid
|
ConversationData |
getConversationById(java.lang.String conversationId)
Gets Conversation by Id
|
ConversationDataList |
getConversationDataList(java.util.List<ConversationData> conversations)
get conversation data list
|
ConversationMessageListData |
getConversationMessageList(java.util.List<ConversationMessageData> messages)
Get all history messages for conversation into
|
java.util.List<ConversationData> |
getConversationsForCustomer()
Gets conversations for customer
|
java.util.List<ConversationMessageData> |
getMessagesForConversation(java.lang.String conversationId)
Get all history messages for conversation
|
java.util.List<ConversationData> |
getOpenConversations()
Gets open list of the Customer Support Agent
|
java.util.List<ConversationData> |
getUnassignedConversations()
Gets Unassigned conversations of agent
|
boolean |
isConversationAccessible(ConversationData conversation)
Check the specific conversation if is accessible
|
boolean |
isCustomer() |
ConversationData |
pickConversation(java.lang.String conversationId)
pick Conversation by Customer Support Agent
|
ConversationData |
sendMessage(ConversationMessageListData conversationMessage)
Send message
|
java.util.List<ConversationData> getConversationsForCustomer()
java.util.List<ConversationData> getUnassignedConversations()
ConversationData pickConversation(java.lang.String conversationId)
conversationId - id of the conversationjava.util.List<ConversationData> getOpenConversations()
ConversationData getConversationById(java.lang.String conversationId)
conversationId - id of the conversationConversationData closeConversation(java.lang.String uid)
uid - the conversation's uidboolean isConversationAccessible(ConversationData conversation)
conversation - the specific conversation dataConversationDataList getConversationDataList(java.util.List<ConversationData> conversations)
conversations - the conversation data listjava.util.List<ConversationMessageData> getMessagesForConversation(java.lang.String conversationId)
conversationId - the specific conversationIdConversationMessageListData getConversationMessageList(java.util.List<ConversationMessageData> messages)
messages - the messages listConversationData sendMessage(ConversationMessageListData conversationMessage)
conversationMessage - message in contentboolean isCustomer()
Copyright © 2018 SAP SE. All Rights Reserved.