Package de.xima.fc.inbox.model.messages
Class MessageViewModel
- java.lang.Object
-
- de.xima.fc.inbox.model.messages.MessageViewModel
-
- All Implemented Interfaces:
Serializable
public class MessageViewModel extends Object implements Serializable
- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MessageViewModel(String messageContent, Instant messageTimestamp, String uploadRequestUuid, List<UploadResponseViewModel> uploadResponses, String senderContext, String senderName, String senderAuthRef, UserProfile senderUserProfile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getActualSenderName()
String
getMessageContent()
Instant
getMessageTimestamp()
String
getSenderContext()
String
getSenderDisplayName(Locale locale)
UserProfile
getSenderUserProfile()
String
getUploadRequestUuid()
List<UploadResponseViewModel>
getUploadResponses()
String
getUserIcon()
boolean
isByUser(IUser user)
boolean
isEndUserMessage()
boolean
isWorkflowMessage()
-
-
-
Constructor Detail
-
MessageViewModel
public MessageViewModel(String messageContent, Instant messageTimestamp, String uploadRequestUuid, List<UploadResponseViewModel> uploadResponses, String senderContext, String senderName, String senderAuthRef, UserProfile senderUserProfile)
-
-
Method Detail
-
getSenderContext
public String getSenderContext()
-
getUploadResponses
public List<UploadResponseViewModel> getUploadResponses()
-
getUploadRequestUuid
public String getUploadRequestUuid()
-
getMessageTimestamp
public Instant getMessageTimestamp()
-
getMessageContent
public String getMessageContent()
-
isWorkflowMessage
public boolean isWorkflowMessage()
-
isEndUserMessage
public boolean isEndUserMessage()
-
getSenderUserProfile
public UserProfile getSenderUserProfile()
-
getActualSenderName
public String getActualSenderName()
-
getUserIcon
public String getUserIcon()
-
isByUser
public boolean isByUser(IUser user)
-
-