Interface IUserPortalChatEntryViewModel

    • Method Detail

      • getSenderName

        @NotNull
        @NotBlank
        @NotNull @NotBlank String getSenderName()
        Get the sender name.
        Returns:
        the sender name
      • getTimestamp

        @NotNull
        @NotNull Instant getTimestamp()
        Get the sent time.
        Returns:
        the sent time
      • getSenderInitials

        @NotNull
        @NotBlank
        default @NotNull @NotBlank String getSenderInitials()
        Get the sender initials.
        Returns:
        the sender initials
      • hasFooter

        boolean hasFooter()
        Check if the chat entry has a footer.
        Returns:
        true if the chat entry has a footer, false otherwise
      • getSubject

        String getSubject()
        Get the subject of the chat entry.
        Returns:
        the subject of the chat entry
      • 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