Class MessageViewModel

    • Method Detail

      • getContent

        public String getContent()
      • getSender

        public UserViewModel getSender()
        Description copied from interface: IChatEntry
        Returns the sender of the chat entry.
        Specified by:
        getSender in interface IChatEntry
        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 interface IChatEntry
        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 interface IChatEntry
        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 interface IChatEntry
        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 interface IChatEntry
        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 interface IChatEntry
        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 interface IChatEntry
        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 interface IChatEntry
        Returns:
        The CSS class for the sender of the chat entry.
      • getSenderDisplayName

        public String getSenderDisplayName​(Locale locale)
      • isByUser

        public boolean isByUser​(IUser user)
      • isEndUserMessage

        public boolean isEndUserMessage()
      • isHasAttachments

        public boolean isHasAttachments()
      • isHasUploadRequests

        public boolean isHasUploadRequests()
      • isWorkflowMessage

        public boolean isWorkflowMessage()