Class ExternalChatHistory
java.lang.Object
com.novomind.ecom.api.iagent.chat.history.model.ExternalChatHistory
Represents an external chat history provided by an
ExternalChatHistoryProvider.- Since:
- 13.12
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new external chat history without start and end date and without a nickname for the external system.ExternalChatHistory(Date chatStart, Date chatEnd) Constructs a new external chat history with the specified start and end date and without a nickname for the external system.ExternalChatHistory(Date chatStart, Date chatEnd, String externalSystemNickname) Constructs a new external chat history with the specified start and end date and the nickname for the external system. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddIncomingExternalChatHistoryMediaDataMessage(IncomingExternalChatHistoryMediaDataMessage incomingExternalChatHistoryMediaDataMessage) Add a new incoming external chat history media data message to the list of messages.voidaddIncomingExternalChatHistoryMediaUrlMessage(IncomingExternalChatHistoryMediaUrlMessage incomingExternalChatHistoryMediaUrlMessage) Add a new incoming external chat history media url message to the list of messages.voidaddIncomingExternalChatHistoryRawMessage(IncomingExternalChatHistoryRawMessage incomingExternalChatHistoryRawMessage) Add a new incoming external chat history raw message to the list of messages.voidaddIncomingExternalChatHistoryTextMessage(IncomingExternalChatHistoryTextMessage incomingExternalChatHistoryTextMessage) Add a new incoming external chat history text message to the list of messages.voidaddOutgoingExternalChatHistoryMediaDataMessage(OutgoingExternalChatHistoryMediaDataMessage outgoingExternalChatHistoryMediaDataMessage) Add a new outgoing external chat history media data message to the list of messages.voidaddOutgoingExternalChatHistoryMediaUrlMessage(OutgoingExternalChatHistoryMediaUrlMessage outgoingExternalChatHistoryMediaUrlMessage) Add a new outgoing external chat history media url message to the list of messages.voidaddOutgoingExternalChatHistoryRawMessage(OutgoingExternalChatHistoryRawMessage outgoingExternalChatHistoryRawMessage) Add a new outgoing external chat history raw message to the list of messages.voidaddOutgoingExternalChatHistoryTextMessage(OutgoingExternalChatHistoryTextMessage outgoingExternalChatHistoryTextMessage) Add a new outgoing external chat history text message to the list of messages.This method returns the end date of the external chat history.This method return the start date of the external chat history.This method returns an unmodifiable list of the external chat history messages currently held inside this external chat history object.This method returns the nickname of the external system that was used for sending chat messages
-
Constructor Details
-
ExternalChatHistory
public ExternalChatHistory()Constructs a new external chat history without start and end date and without a nickname for the external system.- Since:
- 13.12
-
ExternalChatHistory
Constructs a new external chat history with the specified start and end date and without a nickname for the external system.- Parameters:
chatStart- the start date of the external chat historychatEnd- the end date of the external chat history- Since:
- 13.12
-
ExternalChatHistory
Constructs a new external chat history with the specified start and end date and the nickname for the external system.- Parameters:
chatStart- the start date of the external chat historychatEnd- the end date of the external chat historyexternalSystemNickname- the nickname of the external system that was used for sending chat messages- Since:
- 13.12
-
-
Method Details
-
getChatStart
This method return the start date of the external chat history.- Returns:
- the start date of the external chat history
- Since:
- 13.12
-
getChatEnd
This method returns the end date of the external chat history.- Returns:
- the end date of the external chat history
- Since:
- 13.12
-
getExternalSystemNickname
This method returns the nickname of the external system that was used for sending chat messages- Returns:
- the nickname of the external system that was used for sending chat messages
- Since:
- 13.12
-
getExternalChatHistoryMessages
This method returns an unmodifiable list of the external chat history messages currently held inside this external chat history object.- Returns:
- an unmodifiable list of the external chat history messages currently held inside this external chat history object
- Since:
- 13.12
-
addIncomingExternalChatHistoryTextMessage
public void addIncomingExternalChatHistoryTextMessage(IncomingExternalChatHistoryTextMessage incomingExternalChatHistoryTextMessage) Add a new incoming external chat history text message to the list of messages.- Parameters:
incomingExternalChatHistoryTextMessage- the incoming external chat history text message to add- Since:
- 13.12
-
addIncomingExternalChatHistoryRawMessage
public void addIncomingExternalChatHistoryRawMessage(IncomingExternalChatHistoryRawMessage incomingExternalChatHistoryRawMessage) Add a new incoming external chat history raw message to the list of messages.- Parameters:
incomingExternalChatHistoryRawMessage- the incoming external chat history raw message to add- Since:
- 13.12
-
addIncomingExternalChatHistoryMediaDataMessage
public void addIncomingExternalChatHistoryMediaDataMessage(IncomingExternalChatHistoryMediaDataMessage incomingExternalChatHistoryMediaDataMessage) Add a new incoming external chat history media data message to the list of messages.- Parameters:
incomingExternalChatHistoryMediaDataMessage- the incoming external chat history media data message to add- Since:
- 13.12
-
addIncomingExternalChatHistoryMediaUrlMessage
public void addIncomingExternalChatHistoryMediaUrlMessage(IncomingExternalChatHistoryMediaUrlMessage incomingExternalChatHistoryMediaUrlMessage) Add a new incoming external chat history media url message to the list of messages.- Parameters:
incomingExternalChatHistoryMediaUrlMessage- the incoming external chat history media url message to add- Since:
- 13.12
-
addOutgoingExternalChatHistoryTextMessage
public void addOutgoingExternalChatHistoryTextMessage(OutgoingExternalChatHistoryTextMessage outgoingExternalChatHistoryTextMessage) Add a new outgoing external chat history text message to the list of messages.- Parameters:
outgoingExternalChatHistoryTextMessage- the outgoing external chat history text message to add- Since:
- 13.12
-
addOutgoingExternalChatHistoryRawMessage
public void addOutgoingExternalChatHistoryRawMessage(OutgoingExternalChatHistoryRawMessage outgoingExternalChatHistoryRawMessage) Add a new outgoing external chat history raw message to the list of messages.- Parameters:
outgoingExternalChatHistoryRawMessage- the outgoing external chat history raw message to add- Since:
- 13.12
-
addOutgoingExternalChatHistoryMediaDataMessage
public void addOutgoingExternalChatHistoryMediaDataMessage(OutgoingExternalChatHistoryMediaDataMessage outgoingExternalChatHistoryMediaDataMessage) Add a new outgoing external chat history media data message to the list of messages.- Parameters:
outgoingExternalChatHistoryMediaDataMessage- the outgoing external chat history media data message to add- Since:
- 13.12
-
addOutgoingExternalChatHistoryMediaUrlMessage
public void addOutgoingExternalChatHistoryMediaUrlMessage(OutgoingExternalChatHistoryMediaUrlMessage outgoingExternalChatHistoryMediaUrlMessage) Add a new outgoing external chat history media url message to the list of messages.- Parameters:
outgoingExternalChatHistoryMediaUrlMessage- the outgoing external chat history media url message to add- Since:
- 13.12
-