Class ChatUserProfileEntity

    • Method Detail

      • fromUser

        public static ChatUserProfileEntity fromUser​(ChatUser user)
        Decorates the specified user details with the required WEB exposition features.
        Parameters:
        user - the user details to decorate.
        Returns:
        a web entity representing the profile of a user.
      • getChatId

        public String getChatId()
        Gets the identifier of the user in the chat service.
        Returns:
        the chat identifier of the user.
      • isChatEnabled

        public boolean isChatEnabled()
        Is the chat service is enabled? It is a short hand to check the chat service is enabled in the Javascript code in the web client side.
        Returns:
        true if the chat service is enabled and this user can chat with others users in Silverpeas.