Package de.xima.fc.inbox.model.messages
Class StartChatEntry
- java.lang.Object
-
- de.xima.fc.inbox.model.messages.StartChatEntry
-
- All Implemented Interfaces:
IChatEntry
,Serializable
public class StartChatEntry extends Object implements IChatEntry
Special chat entry to indicate the start of a chat.- Since:
- 8.4.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StartChatEntry
forChat(FormRecordChat chat)
UserViewModel
getSender()
Returns the sender of the chat entry.String
getSenderContext()
Returns the sender context of the chat entry.String
getSenderCssClass()
Returns the CSS class for the sender of the chat entry.String
getSenderIcon()
Returns an icon for the sender of the chat entry.String
getSenderName(Locale locale)
Returns the sender name of the chat entry.String
getSubject()
Returns the subject of the chat entry.Instant
getTimestamp()
Returns the timestamp of the chat entry.String
getViewId()
Returns the view id of the chat entry.
-
-
-
Method Detail
-
forChat
public static StartChatEntry forChat(FormRecordChat chat)
-
getSender
public UserViewModel getSender()
Description copied from interface:IChatEntry
Returns the sender of the chat entry.- Specified by:
getSender
in interfaceIChatEntry
- Returns:
- The sender of the chat entry.
-
getSenderContext
public String getSenderContext()
Description copied from interface:IChatEntry
Returns the sender context of the chat entry.- Specified by:
getSenderContext
in interfaceIChatEntry
- Returns:
- The sender context of the chat entry.
-
getSenderIcon
public String getSenderIcon()
Description copied from interface:IChatEntry
Returns an icon for the sender of the chat entry.- Specified by:
getSenderIcon
in interfaceIChatEntry
- Returns:
- An icon for the sender of the chat entry.
-
getSenderName
public String getSenderName(Locale locale)
Description copied from interface:IChatEntry
Returns the sender name of the chat entry.- Specified by:
getSenderName
in interfaceIChatEntry
- Returns:
- The sender name of the chat entry.
-
getTimestamp
public Instant getTimestamp()
Description copied from interface:IChatEntry
Returns the timestamp of the chat entry.- Specified by:
getTimestamp
in interfaceIChatEntry
- Returns:
- The timestamp of the chat entry.
-
getViewId
public String getViewId()
Description copied from interface:IChatEntry
Returns the view id of the chat entry.- Specified by:
getViewId
in interfaceIChatEntry
- Returns:
- The view id of the chat entry.
-
getSubject
public String getSubject()
Description copied from interface:IChatEntry
Returns the subject of the chat entry.- Specified by:
getSubject
in interfaceIChatEntry
- Returns:
- The subject of the chat entry.
-
getSenderCssClass
public String getSenderCssClass()
Description copied from interface:IChatEntry
Returns the CSS class for the sender of the chat entry.- Specified by:
getSenderCssClass
in interfaceIChatEntry
- Returns:
- The CSS class for the sender of the chat entry.
-
-