Package com.appiancorp.suiteapi.forums
Class UserMessageCount
java.lang.Object
com.appiancorp.suiteapi.forums.UserMessageCount
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Deprecated.Returns the number of messages posted by the user retrieved with thegetUsername
method.Deprecated.Returns the username of the user whose messaged are counted.void
setMessageCount
(int messageCount) Deprecated.Sets the number of messages posted by the user.void
setUsername
(String username) Deprecated.Sets the user.
-
Constructor Details
-
UserMessageCount
public UserMessageCount()Deprecated.
-
-
Method Details
-
setUsername
Deprecated.Sets the user. This method is called by theDiscussionMetadatCoreService
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
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 theDiscussionMetadatCoreService
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 thegetUsername
method. Starting a topic or replying to a topic are considered posts.- Returns:
- the number of messages that a user has posted in forums
-