Interface IUserPortalChatEntryViewModel
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
MessageModel, PendingUploadRequestModel
Common interface for chat entry view models.
- Since:
- 8.4.0
- Author:
- XIMA MEDIA GmbH
-
Method Summary
Modifier and TypeMethodDescriptiondefault @NotNull @NotBlank StringGet the sender initials.@NotNull @NotBlank StringGet the sender name.Get the subject of the chat entry.@NotNull InstantGet the sent time.booleanCheck if the chat entry has a footer.booleanCheck if the chat entry is a message sent by the current user.
-
Method Details
-
getSenderName
Get the sender name.- Returns:
- the sender name
-
getTimestamp
-
getSenderInitials
Get the sender initials.- Returns:
- the sender initials
-
getSubject
-
isOwnMessage
boolean isOwnMessage()Check if the chat entry is a message sent by the current user.- Returns:
- true if the chat entry is a message sent by the current user, false otherwise
-