Class UserMessageCount

java.lang.Object
com.appiancorp.suiteapi.forums.UserMessageCount

@Deprecated public class UserMessageCount extends Object
Deprecated.
The Discussion Forums functionality will be removed in a future release. Use the News feed and related smart services to build applications with similar functionality.
This bean encapsulates the necessary information for the Discussion Analytics API. It contains a username and a number that represents the number of messages that this user has posted in forums.
See Also:
  • Constructor Details

    • UserMessageCount

      public UserMessageCount()
      Deprecated.
  • Method Details

    • setUsername

      public void setUsername(String username)
      Deprecated.
      Sets the user. This method is called by the DiscussionMetadatCoreService components when returning the bean and need not be set by the consumer of the bean.
      Parameters:
      username - the user whose messaged are counted
    • getUsername

      public String getUsername()
      Deprecated.
      Returns the username of the user whose messaged are counted.
      Returns:
      the user's username
    • setMessageCount

      public void setMessageCount(int messageCount)
      Deprecated.
      Sets the number of messages posted by the user. This method is called by the DiscussionMetadatCoreService components when returning the bean and need not be set by the consumer of the bean.
      Parameters:
      messageCount - number of messages that a user has posted in forums
    • getMessageCount

      public int getMessageCount()
      Deprecated.
      Returns the number of messages posted by the user retrieved with the getUsername method. Starting a topic or replying to a topic are considered posts.
      Returns:
      the number of messages that a user has posted in forums